diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2013-01-16 23:04:45 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2014-06-15 19:30:52 +0200 |
commit | 45b0a2dfd96ae5933fc44b2724ec0693904a149a (patch) | |
tree | 0d468f81c246e4b51578a4a08aa68fe10a5caa70 | |
parent | b8e53aa772874b787f5cbe020351a46dac2d97fe (diff) |
l1ctl: Add BTS mode message definitions
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | include/l1ctl_proto.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h index c9585188..fa8814be 100644 --- a/include/l1ctl_proto.h +++ b/include/l1ctl_proto.h @@ -56,6 +56,10 @@ enum { L1CTL_TRAFFIC_REQ, L1CTL_TRAFFIC_CONF, L1CTL_TRAFFIC_IND, + L1CTL_BTS_MODE, + L1CTL_BTS_BURST_REQ, + L1CTL_BTS_BURST_NB_IND, + L1CTL_BTS_BURST_AB_IND, }; enum ccch_mode { @@ -303,4 +307,33 @@ struct l1ctl_traffic_req { uint8_t data[TRAFFIC_DATA_LEN]; } __attribute__((packed)); +/* BTS mode: config */ +struct l1ctl_bts_mode { + uint8_t enabled; + uint8_t bsic; + uint16_t band_arfcn; +} __attribute__((packed)); + +/* BTS mode: Burst Request */ +struct l1ctl_bts_burst_req { + uint32_t fn; + uint8_t tn : 4; + uint8_t type : 4; + uint8_t data[0]; /* 15 for NB, 0 for others */ +} __attribute__((packed)); + +/* BTS mode: NB Burst Indication */ +struct l1ctl_bts_burst_nb_ind { + uint32_t fn; + uint8_t tn; + uint8_t toa; + uint8_t data[15]; +} __attribute__((packed)); + +/* BTS mode: AB Burst Indication */ +struct l1ctl_bts_burst_ab_ind { + uint32_t fn; + uint8_t iq[2*88]; +} __attribute__((packed)); + #endif /* __L1CTL_PROTO_H__ */ |