aboutsummaryrefslogtreecommitdiffstats
path: root/bts
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-03-28 00:57:21 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2020-03-28 03:29:22 +0700
commit98bb2d5eea55256ec9641781f791e0cad7c2f4e4 (patch)
tree036c3eb270e4dbbba72f7966e191122c220c66f3 /bts
parent35d3a159e256b584e962e98e86f04f4d4b54eccc (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 'bts')
-rw-r--r--bts/BTS_Tests.ttcn4
-rw-r--r--bts/BTS_Tests_SMSCB.ttcn14
2 files changed, 10 insertions, 8 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 46c9647b..3018bcad 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -2979,7 +2979,7 @@ private function f_TC_paging(PagingTestCfg cfg) runs on test_CT return PagingTes
var integer new_sent := f_min(pkt_total, float2int(T_total.read * pch_blocks_per_sec) + 1);
while (st.num_paging_sent < new_sent) {
/* build mobile Identity */
- var MobileL3_CommonIE_Types.MobileIdentityLV mi;
+ var MobileIdentityLV mi;
if (cfg.use_tmsi) {
mi := valueof(ts_MI_TMSI_LV(f_rnd_octstring(4)));
} else {
@@ -4570,7 +4570,7 @@ testcase TC_pcu_paging_from_rsl() runs on test_CT {
f_init_pcu_test();
for (var integer i := 0; i < 100; i := i+1) {
- var MobileL3_CommonIE_Types.MobileIdentityLV mi;
+ var MobileIdentityLV mi;
timer T := 3.0;
if (i < 50) {
mi := valueof(ts_MI_TMSI_LV(f_rnd_octstring(4)));
diff --git a/bts/BTS_Tests_SMSCB.ttcn b/bts/BTS_Tests_SMSCB.ttcn
index 292205a7..ebd8d0f4 100644
--- a/bts/BTS_Tests_SMSCB.ttcn
+++ b/bts/BTS_Tests_SMSCB.ttcn
@@ -894,12 +894,14 @@ private template GsmRrMessage tr_PagingType1_empty := {
},
page_mode := PAGE_MODE_NORMAL,
mi1 := {
- len := 1,
- mi := {
- unused := {
- pad := '1111'B,
- odd := false,
- mi_type := MI_TYPE_NONE
+ lengthIndicator := 1,
+ mobileIdentityV := {
+ typeOfIdentity := '000'B,
+ oddEvenInd_identity := {
+ no_identity := {
+ oddevenIndicator := '0'B,
+ fillerDigits := 'F'H
+ }
}
}
},