From c6ff4723ce112a6de77aacaf89e73fe4b4c7c278 Mon Sep 17 00:00:00 2001 From: "Andreas.Eversberg" Date: Tue, 13 Jul 2010 14:07:37 +0000 Subject: [layer 1] L1CTL_PARAM_REQ is introduced to change TX power and TA. Currently only TA (timing advance) is supported. It ranges from -128 to 128. --- include/l1a_l23_interface.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/l1a_l23_interface.h b/include/l1a_l23_interface.h index 88f5b593..6c47246b 100644 --- a/include/l1a_l23_interface.h +++ b/include/l1a_l23_interface.h @@ -42,6 +42,7 @@ #define L1CTL_CCCH_MODE_REQ 17 #define L1CTL_CCCH_MODE_CONF 18 #define L1CTL_DM_REL_REQ 19 +#define L1CTL_PARAM_REQ 20 enum ccch_mode { CCCH_MODE_NONE = 0, @@ -112,8 +113,7 @@ struct l1ctl_info_ul { uint8_t chan_nr; /* GSM 08.58 link identifier (9.3.2) */ uint8_t link_id; - uint8_t tx_power; - uint8_t padding2; + uint8_t padding[2]; uint8_t payload[0]; } __attribute__((packed)); @@ -157,6 +157,13 @@ struct l1ctl_rach_req { uint8_t padding[1]; } __attribute__((packed)); +/* the l1_info_ul header is in front */ +struct l1ctl_par_req { + int8_t ta; + uint8_t tx_power; + uint8_t padding[2]; +} __attribute__((packed)); + struct l1ctl_dm_est_req { uint8_t tsc; uint8_t h; -- cgit v1.2.3