aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-22 21:14:04 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-22 21:14:04 +0000
commit2f74aa413b8fa0de9140c5c61979d6912704b7df (patch)
treea5a52ac4edb8585ce1f67553d026c8e57c138a0e /include
parent5a065dfe2d440a053e3cabba3f8526544e7ab468 (diff)
* location updating types
* struct for imsi detach
Diffstat (limited to 'include')
-rw-r--r--include/openbsc/gsm_04_08.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/openbsc/gsm_04_08.h b/include/openbsc/gsm_04_08.h
index 3b343c3c0..728d39a83 100644
--- a/include/openbsc/gsm_04_08.h
+++ b/include/openbsc/gsm_04_08.h
@@ -194,6 +194,13 @@ struct gsm48_system_information_type_6 {
u_int8_t si_6_reset[0];
} __attribute__ ((packed));
+/* Section 9.2.12 IMSI Detach Indication */
+struct gsm48_imsi_detach_ind {
+ u_int8_t classmark1;
+ u_int8_t mi_len;
+ u_int8_t mi[0];
+} __attribute__ ((packed));
+
/* Section 10.2 + GSM 04.07 12.2.3.1.1 */
#define GSM48_PDISC_GROUP_CC 0x00
#define GSM48_PDISC_BCAST_CC 0x01
@@ -359,6 +366,12 @@ struct gsm48_system_information_type_6 {
#define GSM48_PM_REORG 0x02
#define GSM48_PM_SAME 0x03
+/* Chapter 10.5.3.5 / Table 10.5.93 */
+#define GSM48_LUPD_NORMAL 0x0
+#define GSM48_LUPD_PERIODIC 0x1
+#define GSM48_LUPD_IMSI_ATT 0x2
+#define GSM48_LUPD_RESERVED 0x3
+
/* Table 10.5.4 */
#define GSM_MI_TYPE_MASK 0x07
#define GSM_MI_TYPE_NONE 0x00