summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-09-26 17:06:06 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-09-26 17:06:06 +0000
commit602dcf4d0d94ffc7f7f9f3f6865541c385077bcf (patch)
tree16519f3f5f1aa26fcce58a4d1753562e66e2bcb4 /include
parent88a578f6c93ac72bf1a95b48467651fa74953ecf (diff)
[layer23] Added support for changing TCH mode via L1CTL messages
Diffstat (limited to 'include')
-rw-r--r--include/l1ctl_proto.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h
index 80687a1a..f2880eb5 100644
--- a/include/l1ctl_proto.h
+++ b/include/l1ctl_proto.h
@@ -49,6 +49,8 @@ enum {
L1CTL_CRYPTO_REQ,
L1CTL_SIM_REQ,
L1CTL_SIM_CONF,
+ L1CTL_TCH_MODE_REQ,
+ L1CTL_TCH_MODE_CONF,
};
enum ccch_mode {
@@ -107,6 +109,12 @@ struct l1ctl_ccch_mode_conf {
uint8_t padding[3];
} __attribute__((packed));
+/* TCH mode was changed */
+struct l1ctl_tch_mode_conf {
+ uint8_t tch_mode; /* enum tch_mode */
+ uint8_t padding[3];
+} __attribute__((packed));
+
/* data on the CCCH was found. This is following the header */
struct l1ctl_data_ind {
uint8_t data[23];
@@ -156,6 +164,15 @@ struct l1ctl_ccch_mode_req {
uint8_t padding[3];
} __attribute__((packed));
+/*
+ * msg for TCH_MODE_REQ
+ * the l1_info_ul header is in front
+ */
+struct l1ctl_tch_mode_req {
+ uint8_t tch_mode; /* enum gsm48_chan_mode */
+ uint8_t padding[3];
+} __attribute__((packed));
+
/* the l1_info_ul header is in front */
struct l1ctl_rach_req {
uint8_t ra;