<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11149">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bts: Use f_L1CTL_PARAM to set expected ms power level for dummy MeasRep<br><br>If for whatever reason (eg. CPU scheduling saturation) the L1CTL cli<br>(TTCN3) doesn't send Measurement Reports on time, lower osmocombb layers<br>will generate their own dummy Measurement Reports since SACCH must<br>always be filled.<br>Those dummy Measurement Reports are filled from<br>parameters previosuly set using L1CTL_PARAM_REQ (implemented by<br>f_L1CTL_PARAM() in TTCN3).<br>Since that function is never called, we need to call it to set the<br>expected MS power level values in order to send expected values in case<br>we don't send the Measurement Report through L1CTL on time.<br><br>Change-Id: Ie1fd9cee3472c7aa6580f846d277f485d3401641<br>---<br>M bts/BTS_Tests.ttcn<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/49/11149/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn</span><br><span>index e7df027..097da13 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -1365,7 +1365,10 @@</span><br><span>    var GsmFrameNumber fn;</span><br><span>       var ImmediateAssignment imm_ass;</span><br><span>     var integer ra := 23;</span><br><span style="color: hsl(120, 100%, 40%);">+ var integer ta := g_pars.l1_pars.ms_actual_ta;</span><br><span style="color: hsl(120, 100%, 40%);">+        var integer tx_power := g_pars.l1_pars.ms_power_level;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+    f_L1CTL_PARAM(L1CTL, ta, tx_power);</span><br><span>  fn := f_L1CTL_RACH(L1CTL, ra);</span><br><span>       /* This arrives on CCHAN, so we cannot test for receiving CHAN RQDhere */</span><br><span>    //RSL.receive(tr_RSL_CHAN_RQD(int2oct(23,1)));</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11149">change 11149</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/11149"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie1fd9cee3472c7aa6580f846d277f485d3401641 </div>
<div style="display:none"> Gerrit-Change-Number: 11149 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>