Change in osmo-gsm-tester[master]: ms_srs: add resource scheme to configure fixed DL and UL freq

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

srs_andre gerrit-no-reply at lists.osmocom.org
Fri Mar 12 12:13:00 UTC 2021


srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23346 )


Change subject: ms_srs: add resource scheme to configure fixed DL and UL freq
......................................................................

ms_srs: add resource scheme to configure fixed DL and UL freq

this config option overwrites the EARFCN config that is typically
used to tell the UE the bands to scan for cells. When custom
frequencies are used, this option allows to set them explicitly.

Change-Id: Ice070ea6755e273d916db2dc941068d33bbe206a
---
M src/osmo_gsm_tester/obj/ms_srs.py
M src/osmo_gsm_tester/templates/srsue.conf.tmpl
2 files changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/46/23346/1

diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py
index df83c2a..96b1cdf 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -42,6 +42,8 @@
         'tx_gain': schema.UINT,
         'rx_gain': schema.UINT,
         'freq_offset': schema.INT,
+        'dl_freq': schema.STR,
+        'ul_freq': schema.STR
         }
     for key, val in RunNode.schema().items():
         resource_schema['run_node.%s' % key] = val
diff --git a/src/osmo_gsm_tester/templates/srsue.conf.tmpl b/src/osmo_gsm_tester/templates/srsue.conf.tmpl
index a922dc8..ea61272 100644
--- a/src/osmo_gsm_tester/templates/srsue.conf.tmpl
+++ b/src/osmo_gsm_tester/templates/srsue.conf.tmpl
@@ -38,6 +38,12 @@
 % else:
 dl_earfcn = 2850
 % endif
+% if ue.dl_freq!= "-1":
+dl_freq = ${ue.dl_freq}
+% endif
+% if ue.ul_freq != "-1":
+ul_freq = ${ue.ul_freq}
+% endif
 freq_offset = ${ue.freq_offset}
 tx_gain = ${ue.tx_gain}
 rx_gain = ${ue.rx_gain}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23346
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ice070ea6755e273d916db2dc941068d33bbe206a
Gerrit-Change-Number: 23346
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210312/c0c32f2a/attachment.htm>


More information about the gerrit-log mailing list