aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-10-04 16:43:00 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-10-04 16:43:32 +0700
commit36aa611694ade97af809b1650ab54dd639b77363 (patch)
treec310e65eedc2c547ad4aa30e8bd46f2cd3b67895
parent1f72b0ad8492116ad4c7354e92ba22272471ee0a (diff)
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
-rw-r--r--library/PCUIF_Types.ttcn10
1 files changed, 6 insertions, 4 deletions
diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index bcd90666..a36e2614 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -570,14 +570,15 @@ template (value) PCUIF_Message ts_PCUIF_RACH_IND(template (value) uint8_t bts_nr
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 PCUIF_Message tr_PCUIF_RACH_IND(template uint8_t bts_nr := ?,
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,