aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/msc/meas_feed.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-04 15:04:35 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-06 16:41:25 +0200
commit90843964679f35ef4d11c2788debcba976f500bc (patch)
tree672a77bcb8fbdbc0ef95018769196a697480b1da /include/osmocom/msc/meas_feed.h
parent47cd0d2687e9711644008f3d6d1b829d763c520e (diff)
rename include/openbsc to include/osmocom/msc
Diffstat (limited to 'include/osmocom/msc/meas_feed.h')
-rw-r--r--include/osmocom/msc/meas_feed.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/osmocom/msc/meas_feed.h b/include/osmocom/msc/meas_feed.h
new file mode 100644
index 000000000..02b7d95b4
--- /dev/null
+++ b/include/osmocom/msc/meas_feed.h
@@ -0,0 +1,41 @@
+#ifndef _OPENBSC_MEAS_FEED_H
+#define _OPENBSC_MEAS_FEED_H
+
+#include <stdint.h>
+
+#include <osmocom/msc/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