diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2010-07-13 14:07:37 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2010-07-13 14:07:37 +0000 |
commit | c6ff4723ce112a6de77aacaf89e73fe4b4c7c278 (patch) | |
tree | 0193cad52fe0c1fc0be70f4017738e45bfa8ff74 /include | |
parent | 9a422ceb257559b0264cd306489fab0b854b96bc (diff) |
[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.
Diffstat (limited to 'include')
-rw-r--r-- | include/l1a_l23_interface.h | 11 |
1 files changed, 9 insertions, 2 deletions
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; |