blob: f77ee075fbde89de5c18d5b7422cf3b92d7566de [file] [log] [blame]
Harald Welteb4771a62012-11-11 10:58:51 +01001#ifndef _OPENBSC_MEAS_FEED_H
2#define _OPENBSC_MEAS_FEED_H
3
4#include <stdint.h>
5
6#include <openbsc/meas_rep.h>
7
8struct meas_feed_hdr {
9 uint8_t msg_type;
10 uint8_t reserved;
11 uint16_t version;
12};
13
14struct meas_feed_meas {
15 struct meas_feed_hdr hdr;
16 char imsi[15+1];
17 char name[31+1];
18 char scenario[31+1];
19 struct gsm_meas_rep mr;
Alexander Chemeris08c508f2015-08-20 20:48:39 -040020 /* The logical channel type, enum gsm_chan_t */
21 uint8_t lchan_type;
22 /* The physical channel type, enum gsm_phys_chan_config */
23 uint8_t pchan_type;
24 /* number of ths BTS in network */
25 uint8_t bts_nr;
26 /* number of this TRX in the BTS */
27 uint8_t trx_nr;
28 /* number of this timeslot at the TRX */
29 uint8_t ts_nr;
30 /* The logical subslot number in the TS */
31 uint8_t ss_nr;
Harald Welteb4771a62012-11-11 10:58:51 +010032};
33
34enum meas_feed_msgtype {
35 MEAS_FEED_MEAS = 0,
36};
37
Alexander Chemeris08c508f2015-08-20 20:48:39 -040038#define MEAS_FEED_VERSION 1
Harald Welteb4771a62012-11-11 10:58:51 +010039
40
41#endif