library/BSSGP_Types: use tr_MI_IMSI from library/L3_Templates

Change-Id: Ibb02c1c545418bef34ee1e42d34857bda655e12f
This commit is contained in:
Vadim Yanitskiy 2020-03-28 05:14:01 +07:00
parent c94c572698
commit 7e0022697c
1 changed files with 2 additions and 13 deletions

View File

@ -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) := {