summaryrefslogtreecommitdiffstats
path: root/src/host/layer2/include/osmocom/osmocom_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer2/include/osmocom/osmocom_data.h')
-rw-r--r--src/host/layer2/include/osmocom/osmocom_data.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/host/layer2/include/osmocom/osmocom_data.h b/src/host/layer2/include/osmocom/osmocom_data.h
new file mode 100644
index 0000000..dd930a2
--- /dev/null
+++ b/src/host/layer2/include/osmocom/osmocom_data.h
@@ -0,0 +1,22 @@
+#ifndef osmocom_data_h
+#define osmocom_data_h
+
+#include <osmocom/select.h>
+
+/* taken from OpenBSC */
+enum gsm_band {
+ GSM_BAND_400,
+ GSM_BAND_850,
+ GSM_BAND_900,
+ GSM_BAND_1800,
+ GSM_BAND_1900,
+};
+
+/* One Mobilestation for osmocom */
+struct osmocom_ms {
+ struct bsc_fd bfd;
+ enum gsm_band band;
+ int arfcn;
+};
+
+#endif