aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-12-07 20:45:12 +0100
committerlaforge <laforge@osmocom.org>2020-12-08 12:27:38 +0000
commita6f896232ea70dcbe6b65bbe2e3be59f611b16c1 (patch)
treefa32041aee2b4cc970883d7db6b681cbc9928414
parent8f82528bf7d4681bc4cd753330fa6a5af568b34b (diff)
gsm_08_18.h: Add #defines for [extended] feature bits
-rw-r--r--include/osmocom/gprs/protocol/gsm_08_18.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/osmocom/gprs/protocol/gsm_08_18.h b/include/osmocom/gprs/protocol/gsm_08_18.h
index 679a08e6..0ce28f55 100644
--- a/include/osmocom/gprs/protocol/gsm_08_18.h
+++ b/include/osmocom/gprs/protocol/gsm_08_18.h
@@ -321,3 +321,23 @@ enum gprs_bssgp_cause {
BSSGP_CAUSE_DTM_HO_MSC_ERR = 0x4a,
BSSGP_CAUSE_INVAL_CSG_CELL = 0x4b,
};
+
+/* Feature Bitmap (Section 11.3.45) */
+#define BSSGP_FEAT_PFC 0x01 /* Packet Flow Context */
+#define BSSGP_FEAT_CBL 0x02 /* Current Bucket Level */
+#define BSSGP_FEAT_INR 0x04 /* Inter-NSE re-routing */
+#define BSSGP_FEAT_LCS 0x08 /* Location Services */
+#define BSSGP_FEAT_RIM 0x10 /* RAN Inoformation Management */
+#define BSSGP_FEAT_PFC_FC 0x20 /* PFC Flow Control */
+#define BSSGP_FEAT_ERS 0x40 /* Enhanced Radio Status */
+#define BSSGP_FEAT_MBMS 0x80 /* Multimedia Broadcast */
+
+/* Extended Feature Bitmap (Section 11.3.84) */
+#define BSSGP_XFEAT_PSHO 0x01 /* PS Handover */
+#define BSSGP_XFEAT_GBIT 0x02 /* Gigabit Interface */
+#define BSSGP_XFEAT_MOCN 0x04 /* Multi-Operator CN */
+#define BSSGP_XFEAT_CSPS 0x08 /* CS/PS coordination enhancements */
+#define BSSGP_XFEAT_ECIoT 0x10 /* EC-GSM-IoT */
+#define BSSGP_XFEAT_DCN 0x20 /* Dedicated CN */
+#define BSSGP_XFEAT_eDRX 0x40 /* eDRX */
+#define BSSGP_XFEAT_MSAD 0x80 /* MS-assisted Dedicated CN selection */