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/.

pespin gerrit-no-reply at lists.osmocom.org
Mon May 3 12:22:34 UTC 2021


pespin has submitted this change. ( 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(-)

Approvals:
  pespin: Looks good to me, approved; Verified



diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py
index 767f887..041fd91 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -43,6 +43,8 @@
         'rx_gain': schema.INT,
         'freq_offset': schema.INT,
         'force_ul_amplitude': schema.STR,
+        '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 a953459..bdca6bd 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.get('dl_freq', -1) != -1:
+dl_freq = ${ue.dl_freq}
+% endif
+% if ue.get('ul_freq', -1) != -1:
+ul_freq = ${ue.ul_freq}
+% endif
 freq_offset = ${ue.freq_offset}
 % if int(ue.tx_gain) > 0:
 tx_gain = ${ue.tx_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: 8
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210503/8dad59bd/attachment.htm>


More information about the gerrit-log mailing list