From 602dcf4d0d94ffc7f7f9f3f6865541c385077bcf Mon Sep 17 00:00:00 2001 From: "Andreas.Eversberg" Date: Sun, 26 Sep 2010 17:06:06 +0000 Subject: [layer23] Added support for changing TCH mode via L1CTL messages --- include/l1ctl_proto.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include/l1ctl_proto.h') 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; -- cgit v1.2.3