summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-03-15 22:38:06 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-15 22:41:33 +0100
commit3b3358323c45e0a2051dc9759347644272846a0e (patch)
tree5dbc98708b3b4cf9b1bf7f46344c6a49b2dc346f
parent33ad57b6febaf80cd2eac821e76012fe17ebba51 (diff)
pcu: Fix PCU_Tests_RAW_SNS.TC_pcuif_rach
-rw-r--r--pcu/PCU_Tests_RAW_SNS.ttcn7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcu/PCU_Tests_RAW_SNS.ttcn b/pcu/PCU_Tests_RAW_SNS.ttcn
index c179f07..cc3cb5b 100644
--- a/pcu/PCU_Tests_RAW_SNS.ttcn
+++ b/pcu/PCU_Tests_RAW_SNS.ttcn
@@ -254,8 +254,15 @@ private function f_pcuif_tx(template (value) PCUIF_Message msg) runs on RAW_PCU_
PCU.send(t_SD_PCUIF(g_pcu_conn_id, msg));
}
+altstep as_pcu_activate() runs on RAW_PCU_CT {
+ var PCUIF_send_data sd;
+ [] PCU.receive(t_SD_PCUIF(g_pcu_conn_id, tr_PCUIF_ACT_REQ(?, ?, ?))) -> value sd { repeat; }
+
+}
+
testcase TC_pcuif_rach() runs on RAW_Test_CT {
f_sns_bringup_1c1u();
+ activate(as_pcu_activate());
f_pcuif_tx(ts_PCUIF_RACH_IND(bts_nr:=0, ra:=23, is_11bit:=0, burst_type:=BURST_TYPE_0,
fn:=42, arfcn:=871, qta:=0));