summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Wild <ewild@sysmocom.de>2019-06-17 12:19:01 +0200
committerEric Wild <ewild@sysmocom.de>2019-06-17 12:19:20 +0200
commitdda07be0553ec609fb5e9e59cc301ffb65f8ebf1 (patch)
tree2ab2faa7c5f89a4415190852371d498a73622ec5 /include
parenta08edff80c02a79cbbe53b27d3a17ae587f633ba (diff)
add define for magic tmsi constant
Change-Id: I52b9f6b5f3e96d85a390ba2af21d7814df8aaeec
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gsm/protocol/gsm_23_003.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_23_003.h b/include/osmocom/gsm/protocol/gsm_23_003.h
index 3e5c3e57..15656f8a 100644
--- a/include/osmocom/gsm/protocol/gsm_23_003.h
+++ b/include/osmocom/gsm/protocol/gsm_23_003.h
@@ -10,6 +10,7 @@
#define OSMO_IMSI_BUF_SIZE (GSM23003_IMSI_MAX_DIGITS+2)
/* Chapter 2.4 */
#define GSM23003_TMSI_NUM_BYTES 4
+#define GSM23003_TMSI_SGSN_MASK 0xC0000000UL
/* Chapter 2.5 */
#define GSM23003_LMSI_NUM_BYTES 4
/* Chapter 2.6 */