<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14961">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BTS_Tests.ttcn: fix: use reasonable minimum default for C/I<br><br>Since [1] we additionally filter Access Bursts by the link quality<br>(defined by C/I) in L1SAP, and since [2] we do provide the actual<br>C/I values for osmo-bts-trx, as was received from the transceiver.<br><br>[1] https://gerrit.osmocom.org/r/I893ec9c6c2ebad71ea68b2dc5f9f5094dfc43b78<br>[2] https://gerrit.osmocom.org/r/I8d86dec7ebc039cbfd038c4342ff328b11281865<br><br>The default minimum C/I for Access Bursts in OsmoBTS is 50 cB,<br>while the TTCN-3 test cases configure fake_trx.py to send 0 cB,<br>so all Access Bursts are getting dropped, as expected.<br><br>Let's use 60 cB (or 6 dB) by default. This change makes Access<br>Bursts pass again, and thus fixes some broken test cases.<br><br>Change-Id: Ic345f7995c2553e346590cd851f8857d26e7beb2<br>---<br>M bts/BTS_Tests.ttcn<br>1 file changed, 2 insertions(+), 2 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/61/14961/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 ebe74c0..d3fb958 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -422,8 +422,8 @@</span><br><span>             /* Start with a default moderate timing offset equalling TA=2, and RSSI=-60 */</span><br><span>               ret := f_TRXC_transceive(BTS_TRXC, g_bts_trxc_conn_id, valueof(ts_TRXC_FAKE_TIMING(2*256)));</span><br><span>                 ret := f_TRXC_transceive(BTS_TRXC, g_bts_trxc_conn_id, valueof(ts_TRXC_FAKE_RSSI(-60)));</span><br><span style="color: hsl(0, 100%, 40%);">-                /* FIXME: OsmoBTS may have different AB / NB threshold (see MIN_QUAL_NORM, MIN_QUAL_RACH) */</span><br><span style="color: hsl(0, 100%, 40%);">-            ret := f_TRXC_transceive(BTS_TRXC, g_bts_trxc_conn_id, valueof(ts_TRXC_FAKE_CI(0)));</span><br><span style="color: hsl(120, 100%, 40%);">+          /* OsmoBTS may have different AB / NB threshold (see MIN_QUAL_NORM, MIN_QUAL_RACH) */</span><br><span style="color: hsl(120, 100%, 40%);">+         ret := f_TRXC_transceive(BTS_TRXC, g_bts_trxc_conn_id, valueof(ts_TRXC_FAKE_CI(60)));</span><br><span>        }</span><br><span> </span><br><span>        /* Wait some extra time to make sure the BTS emits a stable carrier.</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14961">change 14961</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-ttcn3-hacks/+/14961"/><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-Change-Id: Ic345f7995c2553e346590cd851f8857d26e7beb2 </div>
<div style="display:none"> Gerrit-Change-Number: 14961 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>