<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24748">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">msc: inter-BSC HO test: use CGI cell ID, not LAI<br><br>In the inter-BSC 'Handover Required', do not send a LAI cell identifier,<br>but a CGI one.<br><br>Rationale:<br><br>As explained in OS#5188, 3GPP TS 48.008 allows a LAI identification only<br>in the Cell Identifier List IE, but not in the single Cell Identifier<br>IE.<br><br>In the inter-BSC HO test's Handover Required message, we so far send a<br>LAI identifier in a List IE to osmo-msc. And so far, osmo-msc simply<br>echos that in the Handover Request message's single Cell Id IE.<br><br>The LAI is, as actually defined in the spec, omitted from the single IE<br>in deps/titan.ProtocolModules.BSSMAP/src/BSSAP_Types.ttcn, and when<br>osmo-msc sends the non-standard LAI Id, ttcn3 fails to parse the BSSMAP<br>Handover Request message: the Cell Identifier IE gets wrong values, and<br>all remaining IEs are parsed as 'omit' even though they are present on<br>the wire. So as long as osmo-msc sends back a LAI Id, we cannot sanely<br>verify the Handover Request received from the MSC.<br><br>The CGI identifier type is supported in both IEs. So when the test sends<br>a CGI identifier in the Handover Required, osmo-msc will also reflect a<br>CGI identifier in the Handover Request, and ttcn3 parsing works.<br><br>This prepares for adding verification of the ciphering in inter-BSC<br>handover, in turn a preparation for adding tests of A5/4.<br><br>Related: OS#5188 SYS#5324<br>Change-Id: I48276acf923626db171683dfa03ef43614a71380<br>---<br>M msc/MSC_Tests.ttcn<br>1 file changed, 3 insertions(+), 3 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/48/24748/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn</span><br><span>index b791782..e37bc52 100644</span><br><span>--- a/msc/MSC_Tests.ttcn</span><br><span>+++ b/msc/MSC_Tests.ttcn</span><br><span>@@ -5721,7 +5721,7 @@</span><br><span>      f_vty_transceive(MSCVTY, "configure terminal");</span><br><span>    f_vty_transceive(MSCVTY, "msc");</span><br><span>   f_vty_transceive(MSCVTY, "neighbor a cgi 262 42 23 42 ran-pc 0.24.1");</span><br><span style="color: hsl(0, 100%, 40%);">-        f_vty_transceive(MSCVTY, "neighbor a lac 5 ran-pc 0.24.2");</span><br><span style="color: hsl(120, 100%, 40%);">+ f_vty_transceive(MSCVTY, "neighbor a cgi 023 42 5 6 ran-pc 0.24.2");</span><br><span>       f_vty_transceive(MSCVTY, "exit");</span><br><span>  f_vty_transceive(MSCVTY, "exit");</span><br><span> </span><br><span>@@ -5736,7 +5736,7 @@</span><br><span>      var BssmapCause cause := enum2int(cause_val);</span><br><span> </span><br><span>    var template BSSMAP_FIELD_CellIdentificationList cil;</span><br><span style="color: hsl(0, 100%, 40%);">-   cil := { cIl_LAI := { ts_BSSMAP_CI_LAI('023'H, '42'H, 5) } };</span><br><span style="color: hsl(120, 100%, 40%);">+ cil := { cIl_CGI := { ts_BSSMAP_CI_CGI('023'H, '42'H, 5, 6) } };</span><br><span> </span><br><span>         /* old BSS sends Handover Required */</span><br><span>        BSSAP.send(ts_BSSMAP_HandoverRequired(cause, cil));</span><br><span>@@ -5841,7 +5841,7 @@</span><br><span>  var BssmapCause cause := enum2int(cause_val);</span><br><span> </span><br><span>    var template BSSMAP_FIELD_CellIdentificationList cil;</span><br><span style="color: hsl(0, 100%, 40%);">-   cil := { cIl_LAI := { ts_BSSMAP_CI_LAI('262'H, '42'H, 23) } };</span><br><span style="color: hsl(120, 100%, 40%);">+        cil := { cIl_CGI := { ts_BSSMAP_CI_CGI('262'H, '42'H, 23, 42) } };</span><br><span> </span><br><span>       /* old BSS sends Handover Required */</span><br><span>        BSSAP.send(ts_BSSMAP_HandoverRequired(cause, cil));</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24748">change 24748</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/+/24748"/><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: I48276acf923626db171683dfa03ef43614a71380 </div>
<div style="display:none"> Gerrit-Change-Number: 24748 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>