diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2020-03-28 00:57:21 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2020-03-28 03:29:22 +0700 |
commit | 98bb2d5eea55256ec9641781f791e0cad7c2f4e4 (patch) | |
tree | 036c3eb270e4dbbba72f7966e191122c220c66f3 /sgsn/SGSN_Tests.ttcn | |
parent | 35d3a159e256b584e962e98e86f04f4d4b54eccc (diff) |
library/GSM_RR_Types: do not duplicate Mobile Identity records
All the records related to Mobile Identity IE (see 3GPP TS 24.008,
section 10.5.1.4) are defined in [1], so there is no real need to
dumplicate them. Moreover, most of the related templates in
library/L3_Templates.ttcn are based on these records.
[1] titan.ProtocolModules.MobileL3_v13.4.0/src/MobileL3_CommonIE_Types.ttcn
Change-Id: I27c2743c59db770d6f7e9447dc8c1f539b228ced
Diffstat (limited to 'sgsn/SGSN_Tests.ttcn')
-rw-r--r-- | sgsn/SGSN_Tests.ttcn | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index eb1fff2c..6c963faa 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -553,7 +553,7 @@ function f_send_l3(template (value) PDU_L3_MS_SGSN l3_mo, integer ran_index := 0 } altstep as_mm_identity(integer ran_index := 0) runs on BSSGP_ConnHdlr { - var MobileL3_CommonIE_Types.MobileIdentityLV mi; + var MobileIdentityLV mi; [is_gb(ran_index)] BSSGP[ran_index].receive(tr_GMM_ID_REQ('001'B)) { mi := valueof(ts_MI_IMSI_LV(g_pars.imsi)); f_send_l3(ts_GMM_ID_RESP(mi), ran_index); @@ -740,7 +740,7 @@ function f_random_RAI(HEX0_3n mcc := '262'H, HEX0_3n mnc := '42'H) return Routin } /* return a MobileIdentityLV: P-TMSI if we have one, IMSI otherwise */ -private function f_mi_get_lv() runs on BSSGP_ConnHdlr return MobileL3_CommonIE_Types.MobileIdentityLV { +private function f_mi_get_lv() runs on BSSGP_ConnHdlr return MobileIdentityLV { if (ispresent(g_pars.p_tmsi)) { return valueof(ts_MI_TMSI_LV(g_pars.p_tmsi)); } else { @@ -2153,7 +2153,7 @@ testcase TC_attach_detach_check_subscriber_list() runs on test_CT { /* Attempt an attach, but loose the Identification Request (IMEI) */ private function f_TC_attach_no_imei_response(charstring id) runs on BSSGP_ConnHdlr { var integer count_req := 0; - var MobileL3_CommonIE_Types.MobileIdentityLV mi; + var MobileIdentityLV mi; f_send_l3(ts_GMM_ATTACH_REQ(f_mi_get_lv(), f_random_RAI(), true, false, omit, omit)); @@ -2199,7 +2199,7 @@ testcase TC_attach_no_imei_response() runs on test_CT { /* Attempt an attach, but loose the Identification Request (IMSI) */ private function f_TC_attach_no_imsi_response(charstring id) runs on BSSGP_ConnHdlr { var integer count_req := 0; - var MobileL3_CommonIE_Types.MobileIdentityLV mi; + var MobileIdentityLV mi; /* set p_tmsi to use it in Attach Req via f_mi_get_lv() */ g_pars.p_tmsi := 'c0000035'O; @@ -2479,7 +2479,7 @@ testcase TC_attach_rau_a_b() runs on test_CT { private function f_TC_attach_gmm_attach_req_while_gmm_attach(charstring id) runs on BSSGP_ConnHdlr { var integer count_req := 0; - var MobileL3_CommonIE_Types.MobileIdentityLV mi; + var MobileIdentityLV mi; var RoutingAreaIdentificationV rand_rai := f_random_RAI(); var PDU_L3_SGSN_MS l3_mt; |