<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23213">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu: f_TC_mo_ping_pong_2phase_access(): Fix race condition<br><br>Sometimes the DL data may arrive too late to PCU and it may be requested<br>to tx before it arrives, hence the PCU will in that case schedule and<br>transmit a UL ACK/NACK instead of the expected DL data.<br><br>Change-Id: Iaee546e2021e86ca6da19ab73cc8d283a827a665<br>---<br>M pcu/PCU_Tests.ttcn<br>1 file changed, 2 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/13/23213/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn</span><br><span>index cde5396..5d7a47a 100644</span><br><span>--- a/pcu/PCU_Tests.ttcn</span><br><span>+++ b/pcu/PCU_Tests.ttcn</span><br><span>@@ -1693,6 +1693,8 @@</span><br><span> </span><br><span>        /* Now SGSN sends some DL data, PCU will page on PACCH */</span><br><span>    BSSGP[0].send(ts_BSSGP_DL_UD(ms.tlli, data));</span><br><span style="color: hsl(120, 100%, 40%);">+ /* Sleep a bit to make sure PCU received the DL data and hence it will be prioritized by scheduler: */</span><br><span style="color: hsl(120, 100%, 40%);">+        f_sleep(0.5);</span><br><span>        f_ms_rx_pkt_ass_pacch(ms, sched_fn, tr_RLCMAC_DL_PACKET_ASS);</span><br><span>        /* DL Ass sets poll+rrbp requesting PACKET CONTROL ACK */</span><br><span>    f_ms_tx_ul_block(ms, ts_RLCMAC_CTRL_ACK(ms.tlli), sched_fn);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23213">change 23213</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/+/23213"/><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: Iaee546e2021e86ca6da19ab73cc8d283a827a665 </div>
<div style="display:none"> Gerrit-Change-Number: 23213 </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>