<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24827">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">msc: inter-MSC HO test: use CGI cell ID, not LAI<br><br>Fixes inter-MSC handover tests: in the inter-MSC 'Handover Required', do<br>not send a LAI cell identifier, but a CGI one.<br><br>This is analogous to the fix applied to inter-BSC HO in<br>I48276acf923626db171683dfa03ef43614a71380.<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-MSC 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>Related: OS#5188 SYS#5324<br>Change-Id: I525b5deaa9634fcdb63fbd2c97c767aff045767c<br>---<br>M msc/MSC_Tests.ttcn<br>1 file changed, 1 insertion(+), 1 deletion(-)<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/27/24827/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 e548c5c..a165d5c 100644</span><br><span>--- a/msc/MSC_Tests.ttcn</span><br><span>+++ b/msc/MSC_Tests.ttcn</span><br><span>@@ -5985,7 +5985,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('017'H, '017'H, 1) } };</span><br><span style="color: hsl(120, 100%, 40%);">+        cil := { cIl_CGI := { ts_BSSMAP_CI_CGI('017'H, '017'H, 1, 1) } };</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/+/24827">change 24827</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/+/24827"/><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: I525b5deaa9634fcdb63fbd2c97c767aff045767c </div>
<div style="display:none"> Gerrit-Change-Number: 24827 </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>