GPRS_Components: add RA definition for single block packet access

Change-Id: I8997121f1b1207d4236f5911befc3c29278f37d8
This commit is contained in:
Vadim Yanitskiy 2020-10-31 21:34:05 +07:00
parent e12b2acd95
commit 1cea9fdcb7
2 changed files with 5 additions and 3 deletions

View File

@ -651,7 +651,9 @@ runs on MS_BTS_IFACE_CT return GsmRrMessage {
}
/* 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),

View File

@ -1132,8 +1132,8 @@ runs on RAW_PCU_Test_CT {
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