<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21107">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BSSGP_Emulation: Match on proper NSEI from NS layer<br><br>Change-Id: I682574bc54b4432357adef2b4662b1f74495578c<br>---<br>M library/BSSGP_Emulation.ttcnpp<br>1 file changed, 6 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/BSSGP_Emulation.ttcnpp b/library/BSSGP_Emulation.ttcnpp</span><br><span>index 87b35ac..a4a939d 100644</span><br><span>--- a/library/BSSGP_Emulation.ttcnpp</span><br><span>+++ b/library/BSSGP_Emulation.ttcnpp</span><br><span>@@ -359,7 +359,7 @@</span><br><span> /* We are in BVC_S_WAIT_NS_ALIVE_UNBLOCKED (only happens in BSS role) */</span><br><span> altstep as_sig_wait_ns_alive_unblocked() runs on BSSGP_CT {</span><br><span>   var NsStatusIndication nsi;</span><br><span style="color: hsl(0, 100%, 40%);">-     [] BSCP.receive(NsStatusIndication:{?,?, complement (NSVC_S_ALIVE_UNBLOCKED), NSVC_S_ALIVE_UNBLOCKED}) -> value nsi {</span><br><span style="color: hsl(120, 100%, 40%);">+      [] BSCP.receive(NsStatusIndication:{g_cfg.nsei,?, complement (NSVC_S_ALIVE_UNBLOCKED), NSVC_S_ALIVE_UNBLOCKED}) -> value nsi {</span><br><span>            /* if we just became NS-unblocked, send a BCC-RESET */</span><br><span>               if (g_cfg.sgsn_role == false) {</span><br><span>                      BSCP.send(f_BnsUdReq(ts_BVC_RESET(BSSGP_CAUSE_OM_INTERVENTION, 0, omit), 0));</span><br><span>@@ -450,7 +450,11 @@</span><br><span>                 }</span><br><span>    }</span><br><span>    /* Keep NS Status Indicaitons to us; no need to inform per-BVC components [for now?] */</span><br><span style="color: hsl(0, 100%, 40%);">- [] BSCP.receive(NsStatusIndication:?) -> value nsi { }</span><br><span style="color: hsl(120, 100%, 40%);">+     [] BSCP.receive(NsStatusIndication:{g_cfg.nsei, ?, ?, ?}) -> value nsi { }</span><br><span style="color: hsl(120, 100%, 40%);">+ /* We should never see any different NSEI: There's one BSSGP_CT per NSE */</span><br><span style="color: hsl(120, 100%, 40%);">+        [] BSCP.receive(NsStatusIndication:{?, ?, ?, ?}) -> value nsi {</span><br><span style="color: hsl(120, 100%, 40%);">+            setverdict(fail, "Rx NsStatusInd for wrong NSEI ", nsi);</span><br><span style="color: hsl(120, 100%, 40%);">+    }</span><br><span> </span><br><span>        /* Procedure port request to resolve the per-BVC component for a given ptp BVCI */</span><br><span>   [] PROC.getcall(BSSGP_get_bvci_ct:{?}) -> param(bvci) sender vc_conn {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21107">change 21107</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/+/21107"/><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: I682574bc54b4432357adef2b4662b1f74495578c </div>
<div style="display:none"> Gerrit-Change-Number: 21107 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>