<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20963">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu: Verify TLLI for Dl Assignemnt in f_ms_rx_pkt_ass_pacch()<br><br>The same is already done for Ul Assignment. Dl assigment check was a<br>TODO until now.<br><br>Change-Id: Ib44a315d9ce80da05aeee642d033198f4addf6c3<br>---<br>M pcu/GPRS_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/63/20963/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pcu/GPRS_Components.ttcn b/pcu/GPRS_Components.ttcn</span><br><span>index 6f3e3e2..e73609f 100644</span><br><span>--- a/pcu/GPRS_Components.ttcn</span><br><span>+++ b/pcu/GPRS_Components.ttcn</span><br><span>@@ -331,7 +331,11 @@</span><br><span>               }</span><br><span>     } else if (match(dl_block, tr_RLCMAC_DL_PACKET_ASS)) {</span><br><span>               ms.dl_tbf := f_dltbf_new_from_ass_pacch(dl_block);</span><br><span style="color: hsl(0, 100%, 40%);">-              /* TODO: match tlli from ms.dl_tbf.ass.pacch with ms.tlli), or error */</span><br><span style="color: hsl(120, 100%, 40%);">+               if (ischosen(ms.dl_tbf.ass.pacch.tfi_or_tlli.tlli) and</span><br><span style="color: hsl(120, 100%, 40%);">+                    ms.dl_tbf.ass.pacch.tfi_or_tlli.tlli.tlli != ms.tlli) {</span><br><span style="color: hsl(120, 100%, 40%);">+                   setverdict(fail, "Wrong TLLI ", ms.dl_tbf.ass.pacch.tfi_or_tlli.tlli.tlli, " received vs exp ", ms.tlli);</span><br><span style="color: hsl(120, 100%, 40%);">+                 f_shutdown(__BFILE__, __LINE__);</span><br><span style="color: hsl(120, 100%, 40%);">+              }</span><br><span>    } else {</span><br><span>             setverdict(fail, "Should not happen:", dl_block);</span><br><span>          f_shutdown(__BFILE__, __LINE__);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20963">change 20963</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/+/20963"/><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: Ib44a315d9ce80da05aeee642d033198f4addf6c3 </div>
<div style="display:none"> Gerrit-Change-Number: 20963 </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>