Change in osmo-ttcn3-hacks[master]: GPRS_Components: add RA definition for single block packet access

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Nov 2 09:00:41 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21005 )

Change subject: GPRS_Components: add RA definition for single block packet access
......................................................................

GPRS_Components: add RA definition for single block packet access

Change-Id: I8997121f1b1207d4236f5911befc3c29278f37d8
---
M pcu/GPRS_Components.ttcn
M pcu/PCU_Tests.ttcn
2 files changed, 5 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/pcu/GPRS_Components.ttcn b/pcu/GPRS_Components.ttcn
index 2a8726f..f48eae1 100644
--- a/pcu/GPRS_Components.ttcn
+++ b/pcu/GPRS_Components.ttcn
@@ -651,7 +651,9 @@
 }
 
 /* One phase packet access (see 3GPP TS 44.018, table 9.1.8.1) */
-const BIT8 chan_req_def := '01111000'B;
+const BIT8 chan_req_def := '01111000'B; /* 01111 { 0xx | x0x | xx0 } */
+/* Single block (two phase or RR signalling) packet access */
+const BIT8 chan_req_sb  := '01110000'B; /* 01110xxx */
 
 /* Establish an Uplink TBF by sending RACH.ind towards the PCU */
 function f_pcuif_tx_rach_rx_imm_ass(uint16_t ra := bit2int(chan_req_def),
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index 8facde7..dffbc4d 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -1132,8 +1132,8 @@
 	var uint32_t unused_fn;
 	var GprsMS ms;
 
-	/* 0111 0xxx: Single block packet access; one block period on a PDCH is needed for two phase packet access or other RR signalling purpose. */
-	var uint16_t ra := oct2int('70'O);
+	/* Single block (two phase) packet access */
+	var uint16_t ra := bit2int(chan_req_sb);
 	if (g_force_two_phase_access) {
 		/* If 2phase access is enforced by the network, then let's
 		   request a One phase packet access, we'll receive a single block

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21005
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I8997121f1b1207d4236f5911befc3c29278f37d8
Gerrit-Change-Number: 21005
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201102/de906a6b/attachment.htm>


More information about the gerrit-log mailing list