aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/meas_feed.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-07-04 23:08:44 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 23:17:10 +0000
commit29b9206e804e8e5d5f6ea6f9d8c1f8af35332480 (patch)
tree77eed5bde035b276b63f92c0f23e944049e59897 /include/openbsc/meas_feed.h
parent9e3c66b1814246f6c06a6f78975f54dfe9e2cf8c (diff)
move openbsc/* to repos root
This is the first step in creating this repository from the legacy openbsc.git. Like all other Osmocom repositories, keep the autoconf and automake files in the repository root. openbsc.git has been the sole exception, which ends now. Change-Id: I9c6f2a448d9cb1cc088cf1cf6918b69d7e69b4e7
Diffstat (limited to 'include/openbsc/meas_feed.h')
-rw-r--r--include/openbsc/meas_feed.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/openbsc/meas_feed.h b/include/openbsc/meas_feed.h
new file mode 100644
index 000000000..f77ee075f
--- /dev/null
+++ b/include/openbsc/meas_feed.h
@@ -0,0 +1,41 @@
+#ifndef _OPENBSC_MEAS_FEED_H
+#define _OPENBSC_MEAS_FEED_H
+
+#include <stdint.h>
+
+#include <openbsc/meas_rep.h>
+
+struct meas_feed_hdr {
+ uint8_t msg_type;
+ uint8_t reserved;
+ uint16_t version;
+};
+
+struct meas_feed_meas {
+ struct meas_feed_hdr hdr;
+ char imsi[15+1];
+ char name[31+1];
+ char scenario[31+1];
+ struct gsm_meas_rep mr;
+ /* The logical channel type, enum gsm_chan_t */
+ uint8_t lchan_type;
+ /* The physical channel type, enum gsm_phys_chan_config */
+ uint8_t pchan_type;
+ /* number of ths BTS in network */
+ uint8_t bts_nr;
+ /* number of this TRX in the BTS */
+ uint8_t trx_nr;
+ /* number of this timeslot at the TRX */
+ uint8_t ts_nr;
+ /* The logical subslot number in the TS */
+ uint8_t ss_nr;
+};
+
+enum meas_feed_msgtype {
+ MEAS_FEED_MEAS = 0,
+};
+
+#define MEAS_FEED_VERSION 1
+
+
+#endif