[PATCH 1/2] Add defines for MM and CC message type bitmasks

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Thu Mar 10 21:55:48 UTC 2016


The bitmasks are 0xbf according to ETSI 3GPP TS 100 940 chapter 10.4
---
 include/osmocom/gsm/protocol/gsm_04_08.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index 9fcdddc..43571b9 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -820,6 +820,7 @@ struct gsm48_rr_status {
 #define GSM48_MT_RR_APP_INFO		0x38
 
 /* Table 10.2/3GPP TS 04.08 */
+#define GSM48_MT_MM_MSG_TYPE_MASK	0xbf
 #define GSM48_MT_MM_IMSI_DETACH_IND	0x01
 #define GSM48_MT_MM_LOC_UPD_ACCEPT	0x02
 #define GSM48_MT_MM_LOC_UPD_REJECT	0x04
@@ -846,6 +847,7 @@ struct gsm48_rr_status {
 #define GSM48_MT_MM_INFO		0x32
 
 /* Table 10.3/3GPP TS 04.08 */
+#define GSM48_MT_CC_MSG_TYPE_MASK	0xbf
 #define GSM48_MT_CC_ALERTING		0x01
 #define GSM48_MT_CC_CALL_CONF		0x08
 #define GSM48_MT_CC_CALL_PROC		0x02
-- 
2.1.4




More information about the OpenBSC mailing list