aboutsummaryrefslogtreecommitdiffstats
path: root/sysinfo
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-16 21:03:47 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-16 21:03:47 +0200
commit57a3150778b7e98618c63c134646ae56ce18f2da (patch)
tree40d1cbc8b33f7e015d10d22473504c130096ddd9 /sysinfo
parentad091b6b10a98beab324ef52f49ba70907cd7547 (diff)
GSM_TypeS: Add Mobile Identity type 'NONE'
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/GSM_Types.ttcn16
1 files changed, 12 insertions, 4 deletions
diff --git a/sysinfo/GSM_Types.ttcn b/sysinfo/GSM_Types.ttcn
index 924788cb..71c74f73 100644
--- a/sysinfo/GSM_Types.ttcn
+++ b/sysinfo/GSM_Types.ttcn
@@ -175,19 +175,27 @@ module GSM_Types {
} with { variant "" };
type record MobileIdentityTMSI {
- MobileIdentityType mi_type (MI_TYPE_TMSI),
- boolean odd (false),
BIT4 pad ('1111'B),
+ boolean odd (false),
+ MobileIdentityType mi_type (MI_TYPE_TMSI),
GsmTmsi tmsi
} with { variant "" };
+ type record MobileIdentityNone {
+ BIT4 pad ('1111'B),
+ boolean odd (false),
+ MobileIdentityType mi_type (MI_TYPE_NONE)
+ } with { variant "" };
+
type union MobileIdentity {
MobileIdentityBCD bcd,
- MobileIdentityTMSI tmsi
+ MobileIdentityTMSI tmsi,
+ MobileIdentityNone unused
} with { variant "TAG(bcd, mi_type = MI_TYPE_IMSI;
bcd, mi_type = MI_TYPE_IMEI;
bcd, mi_type = MI_TYPE_IMEISV;
- tmsi, mi_type = MI_TYPE_TMSI)" };
+ tmsi, mi_type = MI_TYPE_TMSI;
+ unused, mi_type = MI_TYPE_NONE)" };
type record MobileIdentityLV {
uint8_t len,