<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/11149">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Harald Welte: Looks good to me, approved
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Jenkins Builder: Verified

</div><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 and no previous one<br>is cached or has been erased by L1CTL_DM_REL_REQ, 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 case the cache is empty and we don't send<br>expected values in case we don't send the Measurement Report through L1CTL<br>on time.<br><br>Change-Id: Ie1fd9cee3472c7aa6580f846d277f485d3401641<br>---<br>M bts/BTS_Tests.ttcn<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></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 b5bcc5b..fe59fd3 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -1366,6 +1366,7 @@</span><br><span>     var ImmediateAssignment imm_ass;</span><br><span>     var integer ra := 23;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+     f_L1CTL_PARAM(L1CTL, g_pars.l1_pars.ms_actual_ta, g_pars.l1_pars.ms_power_level);</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: merged </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: 4 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>