diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2013-01-16 23:04:45 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2013-10-05 19:44:38 +0200 |
commit | 931f9813b0bd9ee46065261d2b2544b74959afb0 (patch) | |
tree | 0d3a41f222c850976ef3b545282294465ecc7d60 | |
parent | 3536e533fb52aafd7501b80c833be5b9bae73e9d (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__ */ |