aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-07 18:36:32 +0000
committerHarald Welte <laforge@gnumonks.org>2013-03-13 15:16:48 +0100
commite128f4663104ed64e33e362cff2566f36d65e658 (patch)
tree82a03d521bb9605f7b7553234420fe48e4af1683 /include/osmocom/gsm
parent533f63f15aa584eec73044802e0a8bc798a313fe (diff)
add new gsm/meas_rep.h file for shared/common measurement report stuff
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/meas_rep.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/osmocom/gsm/meas_rep.h b/include/osmocom/gsm/meas_rep.h
new file mode 100644
index 00000000..bd24bbed
--- /dev/null
+++ b/include/osmocom/gsm/meas_rep.h
@@ -0,0 +1,29 @@
+#ifndef _OSMO_MEAS_REP_H
+#define _OSMO_MEAS_REP_H
+
+#include <stdint.h>
+
+/* RX Level and RX Quality */
+struct gsm_rx_lev_qual {
+ uint8_t rx_lev;
+ uint8_t rx_qual;
+};
+
+/* unidirectional measumrement report */
+struct gsm_meas_rep_unidir {
+ struct gsm_rx_lev_qual full;
+ struct gsm_rx_lev_qual sub;
+};
+
+enum meas_rep_field {
+ MEAS_REP_DL_RXLEV_FULL,
+ MEAS_REP_DL_RXLEV_SUB,
+ MEAS_REP_DL_RXQUAL_FULL,
+ MEAS_REP_DL_RXQUAL_SUB,
+ MEAS_REP_UL_RXLEV_FULL,
+ MEAS_REP_UL_RXLEV_SUB,
+ MEAS_REP_UL_RXQUAL_FULL,
+ MEAS_REP_UL_RXQUAL_SUB,
+};
+
+#endif