<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18076">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">PCU: fix f_establish_tbf(): use proper CHANNEL REQUEST by default<br><br>Back in September 2019, while writing the first lines of the new<br>test infrastructure for OsmoPCU, I picked a random value as the<br>default RA (CHANNEL REQUEST message) for Uplink TBF establishment.<br><br>It has been accepted by the IUT so far, and still works, but<br>according to 3GPP TS 44.018, table 9.1.8.1, value '3A'O has<br>nothing to do with GPRS - it actually means 'Answer to paging'.<br><br>The new value belongs to range '011110xx' - one phase packet<br>access with request for single timeslot uplink transmission.<br><br>Change-Id: Ic036d380af3667d54a3a0a011a9d56a87e0f949b<br>Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com><br>---<br>M pcu/PCU_Tests.ttcn<br>1 file changed, 5 insertions(+), 2 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/76/18076/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 c69101b..4acde04 100644</span><br><span>--- a/pcu/PCU_Tests.ttcn</span><br><span>+++ b/pcu/PCU_Tests.ttcn</span><br><span>@@ -325,9 +325,12 @@</span><br><span>       return false;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-/* FIXME: properly encode RA (see TS 24.060, table 11.2.5.2) */</span><br><span style="color: hsl(120, 100%, 40%);">+/* One phase packet access (see 3GPP TS 44.018, table 9.1.8.1) */</span><br><span style="color: hsl(120, 100%, 40%);">+private const BIT8 chan_req_def := '01111000'B;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> private function f_establish_tbf(out GsmRrMessage rr_imm_ass, uint8_t bts_nr := 0,</span><br><span style="color: hsl(0, 100%, 40%);">-                                uint16_t ra := oct2int('3A'O), uint8_t is_11bit := 0,</span><br><span style="color: hsl(120, 100%, 40%);">+                                 uint16_t ra := bit2int(chan_req_def),</span><br><span style="color: hsl(120, 100%, 40%);">+                                 uint8_t is_11bit := 0,</span><br><span>                               PCUIF_BurstType burst_type := BURST_TYPE_0,</span><br><span>                                  TimingAdvance ta := 0)</span><br><span> runs on RAW_PCU_Test_CT return boolean {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18076">change 18076</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/+/18076"/><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: Ic036d380af3667d54a3a0a011a9d56a87e0f949b </div>
<div style="display:none"> Gerrit-Change-Number: 18076 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>