library/PCUIF_Types.ttcn: add optional parameter for RACH SAPI
Do not hard-code PCU_IF_SAPI_RACH for RACH.ind templates. We need
to be able to specify other SAPIs (PCU_IF_SAPI_PTCCH) in the
upcoming test cases for Timing Advance control.
Change-Id: I7e2ebcbba5e47cf44f064e429c0517ef3acb15af
diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index bcd9066..a36e261 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -570,14 +570,15 @@
template (value) PCUIF_BurstType burst_type,
template (value) uint32_t fn,
template (value) uint16_t arfcn,
- template (value) int16_t qta := 0
+ template (value) int16_t qta := 0,
+ template (value) PCUIF_Sapi sapi := PCU_IF_SAPI_RACH
) := {
msg_type := PCU_IF_MSG_RACH_IND,
bts_nr := bts_nr,
spare := '0000'O,
u := {
rach_ind := {
- sapi := PCU_IF_SAPI_RACH,
+ sapi := sapi,
ra := ra,
qta := qta,
fn := fn,
@@ -591,13 +592,14 @@
template uint16_t ra := ?,
template uint8_t is_11bit := ?,
template PCUIF_BurstType burst_type := ?,
- template uint32_t fn := ?) := {
+ template uint32_t fn := ?,
+ template PCUIF_Sapi sapi := PCU_IF_SAPI_RACH) := {
msg_type := PCU_IF_MSG_RACH_IND,
bts_nr := bts_nr,
spare := ?,
u := {
rach_ind := {
- sapi := PCU_IF_SAPI_RACH,
+ sapi := sapi,
ra := ra,
qta := ?,
fn := fn,