diff options
Diffstat (limited to 'drivers/net/wireless/wl1251/acx.h')
-rw-r--r-- | drivers/net/wireless/wl1251/acx.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl1251/acx.h b/drivers/net/wireless/wl1251/acx.h index efcc3aaca14f..6a19f38958f7 100644 --- a/drivers/net/wireless/wl1251/acx.h +++ b/drivers/net/wireless/wl1251/acx.h | |||
@@ -1164,6 +1164,31 @@ struct wl1251_acx_wr_tbtt_and_dtim { | |||
1164 | u8 padding; | 1164 | u8 padding; |
1165 | } __packed; | 1165 | } __packed; |
1166 | 1166 | ||
1167 | enum wl1251_acx_bet_mode { | ||
1168 | WL1251_ACX_BET_DISABLE = 0, | ||
1169 | WL1251_ACX_BET_ENABLE = 1, | ||
1170 | }; | ||
1171 | |||
1172 | struct wl1251_acx_bet_enable { | ||
1173 | struct acx_header header; | ||
1174 | |||
1175 | /* | ||
1176 | * Specifies if beacon early termination procedure is enabled or | ||
1177 | * disabled, see enum wl1251_acx_bet_mode. | ||
1178 | */ | ||
1179 | u8 enable; | ||
1180 | |||
1181 | /* | ||
1182 | * Specifies the maximum number of consecutive beacons that may be | ||
1183 | * early terminated. After this number is reached at least one full | ||
1184 | * beacon must be correctly received in FW before beacon ET | ||
1185 | * resumes. Range 0 - 255. | ||
1186 | */ | ||
1187 | u8 max_consecutive; | ||
1188 | |||
1189 | u8 padding[2]; | ||
1190 | } __packed; | ||
1191 | |||
1167 | struct wl1251_acx_ac_cfg { | 1192 | struct wl1251_acx_ac_cfg { |
1168 | struct acx_header header; | 1193 | struct acx_header header; |
1169 | 1194 | ||
@@ -1401,6 +1426,8 @@ int wl1251_acx_tsf_info(struct wl1251 *wl, u64 *mactime); | |||
1401 | int wl1251_acx_rate_policies(struct wl1251 *wl); | 1426 | int wl1251_acx_rate_policies(struct wl1251 *wl); |
1402 | int wl1251_acx_mem_cfg(struct wl1251 *wl); | 1427 | int wl1251_acx_mem_cfg(struct wl1251 *wl); |
1403 | int wl1251_acx_wr_tbtt_and_dtim(struct wl1251 *wl, u16 tbtt, u8 dtim); | 1428 | int wl1251_acx_wr_tbtt_and_dtim(struct wl1251 *wl, u16 tbtt, u8 dtim); |
1429 | int wl1251_acx_bet_enable(struct wl1251 *wl, enum wl1251_acx_bet_mode mode, | ||
1430 | u8 max_consecutive); | ||
1404 | int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max, | 1431 | int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max, |
1405 | u8 aifs, u16 txop); | 1432 | u8 aifs, u16 txop); |
1406 | int wl1251_acx_tid_cfg(struct wl1251 *wl, u8 queue, | 1433 | int wl1251_acx_tid_cfg(struct wl1251 *wl, u8 queue, |