<p>srs_andre has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23346">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ms_srs: add resource scheme to configure fixed DL and UL freq<br><br>this config option overwrites the EARFCN config that is typically<br>used to tell the UE the bands to scan for cells. When custom<br>frequencies are used, this option allows to set them explicitly.<br><br>Change-Id: Ice070ea6755e273d916db2dc941068d33bbe206a<br>---<br>M src/osmo_gsm_tester/obj/ms_srs.py<br>M src/osmo_gsm_tester/templates/srsue.conf.tmpl<br>2 files changed, 8 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/46/23346/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py</span><br><span>index df83c2a..96b1cdf 100644</span><br><span>--- a/src/osmo_gsm_tester/obj/ms_srs.py</span><br><span>+++ b/src/osmo_gsm_tester/obj/ms_srs.py</span><br><span>@@ -42,6 +42,8 @@</span><br><span>         'tx_gain': schema.UINT,</span><br><span>         'rx_gain': schema.UINT,</span><br><span>         'freq_offset': schema.INT,</span><br><span style="color: hsl(120, 100%, 40%);">+        'dl_freq': schema.STR,</span><br><span style="color: hsl(120, 100%, 40%);">+        'ul_freq': schema.STR</span><br><span>         }</span><br><span>     for key, val in RunNode.schema().items():</span><br><span>         resource_schema['run_node.%s' % key] = val</span><br><span>diff --git a/src/osmo_gsm_tester/templates/srsue.conf.tmpl b/src/osmo_gsm_tester/templates/srsue.conf.tmpl</span><br><span>index a922dc8..ea61272 100644</span><br><span>--- a/src/osmo_gsm_tester/templates/srsue.conf.tmpl</span><br><span>+++ b/src/osmo_gsm_tester/templates/srsue.conf.tmpl</span><br><span>@@ -38,6 +38,12 @@</span><br><span> % else:</span><br><span> dl_earfcn = 2850</span><br><span> % endif</span><br><span style="color: hsl(120, 100%, 40%);">+% if ue.dl_freq!= "-1":</span><br><span style="color: hsl(120, 100%, 40%);">+dl_freq = ${ue.dl_freq}</span><br><span style="color: hsl(120, 100%, 40%);">+% endif</span><br><span style="color: hsl(120, 100%, 40%);">+% if ue.ul_freq != "-1":</span><br><span style="color: hsl(120, 100%, 40%);">+ul_freq = ${ue.ul_freq}</span><br><span style="color: hsl(120, 100%, 40%);">+% endif</span><br><span> freq_offset = ${ue.freq_offset}</span><br><span> tx_gain = ${ue.tx_gain}</span><br><span> rx_gain = ${ue.rx_gain}</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23346">change 23346</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23346"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ice070ea6755e273d916db2dc941068d33bbe206a </div>
<div style="display:none"> Gerrit-Change-Number: 23346 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>