<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23801">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu: Fix DATA.ind with SAPI BCCH wrongly txed as PDTCH<br><br>This fixes failure of test TC_rim_ran_info_req_single_rep<br>It probably broke during some infra refactoring of the PCUIF_Components.<br><br>Change-Id: Idf9a38280abd6243cc9ef09fc7d033e515c5be15<br>---<br>M pcu/PCUIF_Components.ttcn<br>1 file changed, 5 insertions(+), 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/01/23801/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pcu/PCUIF_Components.ttcn b/pcu/PCUIF_Components.ttcn</span><br><span>index 6a24ed6..be7aaeb 100644</span><br><span>--- a/pcu/PCUIF_Components.ttcn</span><br><span>+++ b/pcu/PCUIF_Components.ttcn</span><br><span>@@ -327,7 +327,11 @@</span><br><span> </span><br><span>        /* Enqueue DATA.ind and RTS.req messages */</span><br><span>  [] TC.receive(tr_PCUIF_MSG(PCU_IF_MSG_DATA_IND, bts_nr)) -> value pcu_msg {</span><br><span style="color: hsl(0, 100%, 40%);">-          f_PCUIF_MsgQueue_enqueue(pdtch_data_queue, pcu_msg);</span><br><span style="color: hsl(120, 100%, 40%);">+          if (pcu_msg.u.data_ind.sapi == PCU_IF_SAPI_BCCH) {</span><br><span style="color: hsl(120, 100%, 40%);">+                    PCUIF.send(pcu_msg); /* Forward directly ASAP */</span><br><span style="color: hsl(120, 100%, 40%);">+              } else {</span><br><span style="color: hsl(120, 100%, 40%);">+                      f_PCUIF_MsgQueue_enqueue(pdtch_data_queue, pcu_msg);</span><br><span style="color: hsl(120, 100%, 40%);">+          }</span><br><span>            repeat;</span><br><span>              }</span><br><span>    [] TC.receive(tr_PCUIF_RTS_REQ(bts_nr, sapi := PCU_IF_SAPI_PDTCH)) -> value pcu_msg {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23801">change 23801</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/+/23801"/><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: Idf9a38280abd6243cc9ef09fc7d033e515c5be15 </div>
<div style="display:none"> Gerrit-Change-Number: 23801 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>