<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23478">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RAW_NS: Ignore NS-UNITDATA while waiting for NS-ALIVE in oneshot mode<br><br>Change-Id: Id2738b055f860b4eee57d445944e0861b34151be<br>---<br>M library/RAW_NS.ttcnpp<br>1 file changed, 7 insertions(+), 0 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/78/23478/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/RAW_NS.ttcnpp b/library/RAW_NS.ttcnpp</span><br><span>index 58910d9..76ac0a2 100644</span><br><span>--- a/library/RAW_NS.ttcnpp</span><br><span>+++ b/library/RAW_NS.ttcnpp</span><br><span>@@ -169,6 +169,13 @@</span><br><span>              NSCP[idx].send(t_NS_ALIVE_ACK);</span><br><span>              if (not oneshot) { repeat; }</span><br><span>                 }</span><br><span style="color: hsl(120, 100%, 40%);">+     /* in oneshot mode, ignore any NS-UNITDATA we receive meanwhile.  This is</span><br><span style="color: hsl(120, 100%, 40%);">+      * particularly useful when waiting for the first NS-ALIVE after SNS-CONFIG,</span><br><span style="color: hsl(120, 100%, 40%);">+   * where there is a high chance of UNITDATA during the first Tns-test cycle</span><br><span style="color: hsl(120, 100%, 40%);">+    * before the peer sends its first NS-ALIVE after Tns-test expiration */</span><br><span style="color: hsl(120, 100%, 40%);">+      [oneshot] NSCP[idx].receive(tr_NS_UNITDATA(?,?,?)) {</span><br><span style="color: hsl(120, 100%, 40%);">+          repeat;</span><br><span style="color: hsl(120, 100%, 40%);">+               }</span><br><span> }</span><br><span> </span><br><span> /* Transmit BSSGP RESET for given BVCI and expect ACK */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23478">change 23478</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/+/23478"/><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: Id2738b055f860b4eee57d445944e0861b34151be </div>
<div style="display:none"> Gerrit-Change-Number: 23478 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>