<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21005">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">GPRS_Components: add RA definition for single block packet access<br><br>Change-Id: I8997121f1b1207d4236f5911befc3c29278f37d8<br>---<br>M pcu/GPRS_Components.ttcn<br>M pcu/PCU_Tests.ttcn<br>2 files changed, 5 insertions(+), 3 deletions(-)<br><br></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 2a8726f..f48eae1 100644</span><br><span>--- a/pcu/GPRS_Components.ttcn</span><br><span>+++ b/pcu/GPRS_Components.ttcn</span><br><span>@@ -651,7 +651,9 @@</span><br><span> }</span><br><span> </span><br><span> /* One phase packet access (see 3GPP TS 44.018, table 9.1.8.1) */</span><br><span style="color: hsl(0, 100%, 40%);">-const BIT8 chan_req_def := '01111000'B;</span><br><span style="color: hsl(120, 100%, 40%);">+const BIT8 chan_req_def := '01111000'B; /* 01111 { 0xx | x0x | xx0 } */</span><br><span style="color: hsl(120, 100%, 40%);">+/* Single block (two phase or RR signalling) packet access */</span><br><span style="color: hsl(120, 100%, 40%);">+const BIT8 chan_req_sb  := '01110000'B; /* 01110xxx */</span><br><span> </span><br><span> /* Establish an Uplink TBF by sending RACH.ind towards the PCU */</span><br><span> function f_pcuif_tx_rach_rx_imm_ass(uint16_t ra := bit2int(chan_req_def),</span><br><span>diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn</span><br><span>index 8facde7..dffbc4d 100644</span><br><span>--- a/pcu/PCU_Tests.ttcn</span><br><span>+++ b/pcu/PCU_Tests.ttcn</span><br><span>@@ -1132,8 +1132,8 @@</span><br><span>       var uint32_t unused_fn;</span><br><span>      var GprsMS ms;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-      /* 0111 0xxx: Single block packet access; one block period on a PDCH is needed for two phase packet access or other RR signalling purpose. */</span><br><span style="color: hsl(0, 100%, 40%);">-   var uint16_t ra := oct2int('70'O);</span><br><span style="color: hsl(120, 100%, 40%);">+    /* Single block (two phase) packet access */</span><br><span style="color: hsl(120, 100%, 40%);">+  var uint16_t ra := bit2int(chan_req_sb);</span><br><span>     if (g_force_two_phase_access) {</span><br><span>              /* If 2phase access is enforced by the network, then let's</span><br><span>                  request a One phase packet access, we'll receive a single block</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21005">change 21005</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/+/21005"/><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: I8997121f1b1207d4236f5911befc3c29278f37d8 </div>
<div style="display:none"> Gerrit-Change-Number: 21005 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>