aboutsummaryrefslogtreecommitdiffstats
path: root/library/BSSGP_Emulation.ttcn
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-07-28 23:06:00 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-14 13:26:47 +0000
commit0e510e693d14842190f959ec26795893718bf149 (patch)
tree24746768aef83393474d6c037ed51e0cb551f9a3 /library/BSSGP_Emulation.ttcn
parent05e87f20c8ed370eec8f23e19db12de3cd0d7825 (diff)
BSSGP_Emulation.ttcn: extend BSSGP_Client_CT to hold 3 instances of BSSGP
Diffstat (limited to 'library/BSSGP_Emulation.ttcn')
-rw-r--r--library/BSSGP_Emulation.ttcn12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/BSSGP_Emulation.ttcn b/library/BSSGP_Emulation.ttcn
index 8b3b9eb5..a9d2a250 100644
--- a/library/BSSGP_Emulation.ttcn
+++ b/library/BSSGP_Emulation.ttcn
@@ -79,9 +79,9 @@ type port BSSGP_PROC_PT procedure {
***********************************************************************/
type component BSSGP_Client_CT {
- port BSSGP_PT BSSGP;
- port BSSGP_PT BSSGP_SIG;
- port BSSGP_PROC_PT BSSGP_PROC;
+ port BSSGP_PT BSSGP[3];
+ port BSSGP_PT BSSGP_SIG[3];
+ port BSSGP_PROC_PT BSSGP_PROC[3];
};
/***********************************************************************
@@ -660,14 +660,14 @@ private function f_dec_bssgp(PDU_BSSGP bssgp) runs on BSSGP_CT return BssgpDecod
return dec;
}
-function f_bssgp_client_register(hexstring imsi, OCT4 tlli, BssgpCellId cell_id, BSSGP_PROC_PT PT := BSSGP_PROC)
+function f_bssgp_client_register(hexstring imsi, OCT4 tlli, BssgpCellId cell_id, BSSGP_PROC_PT PT := BSSGP_PROC[0])
runs on BSSGP_Client_CT {
PT.call(BSSGP_register_client:{imsi, tlli, cell_id}) {
[] PT.getreply(BSSGP_register_client:{imsi, tlli, cell_id}) {};
}
}
-function f_bssgp_client_unregister(hexstring imsi, BSSGP_PROC_PT PT := BSSGP_PROC)
+function f_bssgp_client_unregister(hexstring imsi, BSSGP_PROC_PT PT := BSSGP_PROC[0])
runs on BSSGP_Client_CT {
PT.call(BSSGP_unregister_client:{imsi}) {
[] PT.getreply(BSSGP_unregister_client:{imsi}) {};
@@ -675,7 +675,7 @@ runs on BSSGP_Client_CT {
}
/* TS 44.064 7.2.1.1 LLGMM-ASSIGN */
-function f_bssgp_client_llgmm_assign(OCT4 tlli_old, OCT4 tlli_new, BSSGP_PROC_PT PT := BSSGP_PROC)
+function f_bssgp_client_llgmm_assign(OCT4 tlli_old, OCT4 tlli_new, BSSGP_PROC_PT PT := BSSGP_PROC[0])
runs on BSSGP_Client_CT {
PT.call(BSSGP_llgmm_assign:{tlli_old, tlli_new}) {
[] PT.getreply(BSSGP_llgmm_assign:{tlli_old, tlli_new}) {};