<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11429">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RSL_Emulation: handle ASP_IPA_EVENT_DOWN<br><br>Otherwise RSL layer fails this way when this event is received:<br><br>RSL_Emulation.ttcn:429 Receive operation on port IPA_PT succeeded, message from TC_chan_act_a51-RSL-IPA(3): @IPA_Emulation.ASP_IPA_Event: { up_down := ASP_IPA_EVENT_DOWN (0) } id 9<br>- Function main_client was stopped. PTC terminates.<br>RSL_Emulation.ttcn:429 Message with id 9 was extracted from the queue of IPA_PT.<br>RSL_Emulation.ttcn:430 setverdict(fail): none -> fail reason: "Received unknown primitive from IPA", new component reason: "Received unknown primitive from IPA"<br><br>Change-Id: Idc6565c9de72d98015d56a41e5616c46051c8a8d<br>---<br>M library/RSL_Emulation.ttcn<br>1 file changed, 5 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/29/11429/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/RSL_Emulation.ttcn b/library/RSL_Emulation.ttcn</span><br><span>index c56c278..57efcc1 100644</span><br><span>--- a/library/RSL_Emulation.ttcn</span><br><span>+++ b/library/RSL_Emulation.ttcn</span><br><span>@@ -346,6 +346,11 @@</span><br><span>           [not bts_role] IPA_PT.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_UP}) -> value evt {</span><br><span>                         CCHAN_PT.send(evt);</span><br><span>                  }</span><br><span style="color: hsl(120, 100%, 40%);">+             [bts_role] IPA_PT.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_DOWN}) {</span><br><span style="color: hsl(120, 100%, 40%);">+                    }</span><br><span style="color: hsl(120, 100%, 40%);">+             [not bts_role] IPA_PT.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_DOWN}) -> value evt {</span><br><span style="color: hsl(120, 100%, 40%);">+                        CCHAN_PT.send(evt);</span><br><span style="color: hsl(120, 100%, 40%);">+                   }</span><br><span>            [bts_role] IPA_PT.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_ID_ACK}) {</span><br><span>                         IPA_PT.send(ts_ASP_RSL_UD(IPAC_PROTO_RSL_TRX0,ts_RSL_PAGING_LOAD_IND(23)));</span><br><span>                  }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11429">change 11429</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/11429"/><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: Idc6565c9de72d98015d56a41e5616c46051c8a8d </div>
<div style="display:none"> Gerrit-Change-Number: 11429 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>