summaryrefslogtreecommitdiffstats
path: root/pcu/PCU_Tests_RAW.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'pcu/PCU_Tests_RAW.ttcn')
-rw-r--r--pcu/PCU_Tests_RAW.ttcn26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn
index 3e38fa8..96a3f86 100644
--- a/pcu/PCU_Tests_RAW.ttcn
+++ b/pcu/PCU_Tests_RAW.ttcn
@@ -8,6 +8,9 @@ module PCU_Tests_RAW {
import from General_Types all;
import from Osmocom_Types all;
+import from GSM_Types all;
+import from GSM_RR_Types all;
+
import from NS_Types all;
import from BSSGP_Types all;
import from Osmocom_Gb_Types all;
@@ -405,6 +408,27 @@ testcase TC_ns_so_block() runs on RAW_Test_CT {
setverdict(pass);
}
+/* Test component with PCUIF + BSSGP/NS Emulation (no L1CTL) */
+type component bssgp_pcuif_CT extends bssgp_CT, RAW_PCU_CT {
+}
+
+testcase TC_pcuif_suspend() runs on bssgp_pcuif_CT {
+ var OCT6 ra_id := enc_RoutingAreaIdentification(mp_gb_cfg.cell_id.ra_id);
+ var GprsTlli tlli := 'FFFFFFFF'O;
+
+ /* Initialize PCU interface side */
+ f_init_pcuif();
+
+ /* Initialize NS/BSSGP side */
+ f_init_bssgp();
+
+ f_sleep(1.0);
+ f_pcuif_tx(ts_PCUIF_SUSP_REQ(0, tlli, ra_id, 0));
+ BSSGP_SIG[0].receive(tr_BD_BSSGP(tr_BSSGP_SUSPEND(tlli, mp_gb_cfg.cell_id.ra_id)));
+
+ setverdict(pass);
+}
+
control {
execute( TC_ns_reset() );
@@ -415,6 +439,8 @@ control {
execute( TC_ns_unblock_retrans() );
execute( TC_ns_full_bringup() );
execute( TC_ns_so_block() );
+
+ execute( TC_pcuif_suspend() );
}