<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9232">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BSC_Tests: fix TC_ciph_mode_a5_{0,1,3}<br><br>The helper function f_tc_ciph_mode_a5(), thich performs all of the<br>three tests currently disables the ASSIGNMENT COMMAND since due to<br>a bug in OsmoBSC a MODE MODIFY would be attempted by the BSC,<br>causing the testcase to fail.<br><br>The problem in OsmoBSC is now fixed and the ASSIGNMENT COMMAND can<br>be re-enabled again for this test. However, the test function<br>includes and expects an AoIP transport layer address, which is<br>not included for signalling assignments.<br><br>- Make sure no AoIP transport identifier is included in ths<br>  ASSIGNMENT COMMAND<br><br>- Do not expect an AoIP transport identifier in the<br>  ASSIGNMENT COMPLETE from the BSC<br><br>- Re-Enable the generation of the ASSIGNMENT COMMAND<br><br>Change-Id: Ib39d7dd2d1b3665570d7b287e431d10111316437<br>Closes: OS#2936<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 3 insertions(+), 6 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/32/9232/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn</span><br><span>index 762b5a2..bcb53cc 100644</span><br><span>--- a/bsc/BSC_Tests.ttcn</span><br><span>+++ b/bsc/BSC_Tests.ttcn</span><br><span>@@ -1436,14 +1436,11 @@</span><br><span> </span><br><span> /* Establish signalling channel (non-assignment case) followed by cipher mode */</span><br><span> private function f_tc_ciph_mode_a5(charstring id) runs on MSC_ConnHdlr {</span><br><span style="color: hsl(0, 100%, 40%);">-        var template PDU_BSSAP exp_compl := tr_BSSMAP_AssignmentComplete(omit, ?);</span><br><span style="color: hsl(120, 100%, 40%);">+    var template PDU_BSSAP exp_compl := tr_BSSMAP_AssignmentComplete(omit, omit);</span><br><span>        var BSSMAP_IE_AoIP_TransportLayerAddress tla := valueof(ts_BSSMAP_IE_AoIP_TLA4('01020304'O, 2342));</span><br><span style="color: hsl(0, 100%, 40%);">-     var template PDU_BSSAP ass_cmd := valueof(ts_BSSMAP_AssignmentReq(omit, tla));</span><br><span style="color: hsl(120, 100%, 40%);">+        var template PDU_BSSAP ass_cmd := valueof(ts_BSSMAP_AssignmentReq(omit, omit));</span><br><span>      ass_cmd.pdu.bssmap.assignmentRequest.channelType := valueof(ts_BSSMAP_IE_ChannelTypeSIGNAL);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-    // Disable generation of ASSIGNMENT CMD, as OsmoBSC currently performs MODE MODFIY sign->sign (OS#2936)</span><br><span style="color: hsl(0, 100%, 40%);">-      //f_establish_fully(ass_cmd, exp_compl);</span><br><span style="color: hsl(0, 100%, 40%);">-        f_establish_fully(omit, exp_compl);</span><br><span style="color: hsl(120, 100%, 40%);">+   f_establish_fully(ass_cmd, exp_compl);</span><br><span> }</span><br><span> testcase TC_ciph_mode_a5_0() runs on test_CT {</span><br><span>        var MSC_ConnHdlr vc_conn;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9232">change 9232</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/9232"/><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: Ib39d7dd2d1b3665570d7b287e431d10111316437 </div>
<div style="display:none"> Gerrit-Change-Number: 9232 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>