summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2013-01-16 23:04:45 +0100
committerSteve Markgraf <steve@steve-m.de>2021-10-23 18:51:19 +0200
commite1889391b7a73f65a663fe62b8b0822ef0611077 (patch)
tree70472abb5b72afba8bdc6c3f3938acf43db467bd
parentc7980b03e023692bff5207037de840cfad02c81d (diff)
l1ctl: Add BTS mode message definitions
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--include/l1ctl_proto.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h
index 20e16b51..b6b3b0fb 100644
--- a/include/l1ctl_proto.h
+++ b/include/l1ctl_proto.h
@@ -67,6 +67,11 @@ enum {
/* Extended (11-bit) RACH (see 3GPP TS 05.02, section 5.2.7) */
L1CTL_EXT_RACH_REQ,
+
+ L1CTL_BTS_MODE,
+ L1CTL_BTS_BURST_REQ,
+ L1CTL_BTS_BURST_NB_IND,
+ L1CTL_BTS_BURST_AB_IND,
};
enum ccch_mode {
@@ -387,4 +392,33 @@ struct l1ctl_tbf_cfg_req {
uint8_t usf[8];
} __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__ */