aboutsummaryrefslogtreecommitdiffstats
path: root/library/BSSGP_Types.ttcn
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-03-28 05:14:01 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2020-03-28 05:20:41 +0700
commit7e0022697cda55d6052725e3cdb50395079d80ce (patch)
treee0517f70c932c64f83c77a0d33ebfc842003cfe2 /library/BSSGP_Types.ttcn
parentc94c57269883088d05a0678890f8d4aca6e67d14 (diff)
library/BSSGP_Types: use tr_MI_IMSI from library/L3_Templates
Diffstat (limited to 'library/BSSGP_Types.ttcn')
-rw-r--r--library/BSSGP_Types.ttcn15
1 files changed, 2 insertions, 13 deletions
diff --git a/library/BSSGP_Types.ttcn b/library/BSSGP_Types.ttcn
index e9984d8f..c54f7086 100644
--- a/library/BSSGP_Types.ttcn
+++ b/library/BSSGP_Types.ttcn
@@ -14,6 +14,7 @@ module BSSGP_Types {
import from Osmocom_Types all;
import from GSM_Types all;
import from GSM_RR_Types all;
+ import from L3_Templates all;
import from BSSGP_Helper_Functions all;
type enumerated BssgpPduType {
@@ -386,19 +387,7 @@ module BSSGP_Types {
template BssgpTLV t_BSSGP_IE_Imsi(template hexstring imsi) := {
iei := IMSI,
len := 4,
- u := {
- mobile_id := {
- typeOfIdentity := MI_TYPE_IMSI,
- oddEvenInd_identity := {
- imsi := {
- /* TODO: introduce generic tr_IMSI_L3 */
- oddevenIndicator := true, /* IMSI has 15 digits */
- digits := imsi,
- fillerDigit := '1111'B
- }
- }
- }
- }
+ u := { mobile_id := tr_MI_IMSI(imsi) }
}
template BssgpTLV t_BSSGP_IE_Qos(BssgpQosProfile qos) := {