summaryrefslogtreecommitdiffstats
path: root/src/shared/libosmocore/include/osmocore/gsm_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/libosmocore/include/osmocore/gsm_utils.h')
-rw-r--r--src/shared/libosmocore/include/osmocore/gsm_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/libosmocore/include/osmocore/gsm_utils.h b/src/shared/libosmocore/include/osmocore/gsm_utils.h
index 7dc2388b..0aadd2e4 100644
--- a/src/shared/libosmocore/include/osmocore/gsm_utils.h
+++ b/src/shared/libosmocore/include/osmocore/gsm_utils.h
@@ -87,6 +87,7 @@ static inline int rach_max_trans_raw2val(int raw) {
#define ARFCN_PCS 0x8000
#define ARFCN_UPLINK 0x4000
+#define ARFCN_FLAG_MASK 0xf000 /* Reserve the upper 5 bits for flags */
enum gsm_band gsm_arfcn2band(uint16_t arfcn);