diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h index 1b60fdff6a56..d63647867262 100644 --- a/drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h +++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h | |||
@@ -199,11 +199,14 @@ enum iwl_sta_modify_flag { | |||
199 | * @STA_SLEEP_STATE_AWAKE: | 199 | * @STA_SLEEP_STATE_AWAKE: |
200 | * @STA_SLEEP_STATE_PS_POLL: | 200 | * @STA_SLEEP_STATE_PS_POLL: |
201 | * @STA_SLEEP_STATE_UAPSD: | 201 | * @STA_SLEEP_STATE_UAPSD: |
202 | * @STA_SLEEP_STATE_MOREDATA: set more-data bit on | ||
203 | * (last) released frame | ||
202 | */ | 204 | */ |
203 | enum iwl_sta_sleep_flag { | 205 | enum iwl_sta_sleep_flag { |
204 | STA_SLEEP_STATE_AWAKE = 0, | 206 | STA_SLEEP_STATE_AWAKE = 0, |
205 | STA_SLEEP_STATE_PS_POLL = BIT(0), | 207 | STA_SLEEP_STATE_PS_POLL = BIT(0), |
206 | STA_SLEEP_STATE_UAPSD = BIT(1), | 208 | STA_SLEEP_STATE_UAPSD = BIT(1), |
209 | STA_SLEEP_STATE_MOREDATA = BIT(2), | ||
207 | }; | 210 | }; |
208 | 211 | ||
209 | /* STA ID and color bits definitions */ | 212 | /* STA ID and color bits definitions */ |
@@ -318,13 +321,15 @@ struct iwl_mvm_add_sta_cmd_v5 { | |||
318 | } __packed; /* ADD_STA_CMD_API_S_VER_5 */ | 321 | } __packed; /* ADD_STA_CMD_API_S_VER_5 */ |
319 | 322 | ||
320 | /** | 323 | /** |
321 | * struct iwl_mvm_add_sta_cmd_v6 - Add / modify a station | 324 | * struct iwl_mvm_add_sta_cmd_v7 - Add / modify a station |
322 | * VER_6 of this command is quite similar to VER_5 except | 325 | * VER_7 of this command is quite similar to VER_5 except |
323 | * exclusion of all fields related to the security key installation. | 326 | * exclusion of all fields related to the security key installation. |
327 | * It only differs from VER_6 by the "awake_acs" field that is | ||
328 | * reserved and ignored in VER_6. | ||
324 | */ | 329 | */ |
325 | struct iwl_mvm_add_sta_cmd_v6 { | 330 | struct iwl_mvm_add_sta_cmd_v7 { |
326 | u8 add_modify; | 331 | u8 add_modify; |
327 | u8 reserved1; | 332 | u8 awake_acs; |
328 | __le16 tid_disable_tx; | 333 | __le16 tid_disable_tx; |
329 | __le32 mac_id_n_color; | 334 | __le32 mac_id_n_color; |
330 | u8 addr[ETH_ALEN]; /* _STA_ID_MODIFY_INFO_API_S_VER_1 */ | 335 | u8 addr[ETH_ALEN]; /* _STA_ID_MODIFY_INFO_API_S_VER_1 */ |
@@ -342,7 +347,7 @@ struct iwl_mvm_add_sta_cmd_v6 { | |||
342 | __le16 assoc_id; | 347 | __le16 assoc_id; |
343 | __le16 beamform_flags; | 348 | __le16 beamform_flags; |
344 | __le32 tfd_queue_msk; | 349 | __le32 tfd_queue_msk; |
345 | } __packed; /* ADD_STA_CMD_API_S_VER_6 */ | 350 | } __packed; /* ADD_STA_CMD_API_S_VER_7 */ |
346 | 351 | ||
347 | /** | 352 | /** |
348 | * struct iwl_mvm_add_sta_key_cmd - add/modify sta key | 353 | * struct iwl_mvm_add_sta_key_cmd - add/modify sta key |
@@ -432,5 +437,15 @@ struct iwl_mvm_wep_key_cmd { | |||
432 | struct iwl_mvm_wep_key wep_key[0]; | 437 | struct iwl_mvm_wep_key wep_key[0]; |
433 | } __packed; /* SEC_CURR_WEP_KEY_CMD_API_S_VER_2 */ | 438 | } __packed; /* SEC_CURR_WEP_KEY_CMD_API_S_VER_2 */ |
434 | 439 | ||
440 | /** | ||
441 | * struct iwl_mvm_eosp_notification - EOSP notification from firmware | ||
442 | * @remain_frame_count: # of frames remaining, non-zero if SP was cut | ||
443 | * short by GO absence | ||
444 | * @sta_id: station ID | ||
445 | */ | ||
446 | struct iwl_mvm_eosp_notification { | ||
447 | __le32 remain_frame_count; | ||
448 | __le32 sta_id; | ||
449 | } __packed; /* UAPSD_EOSP_NTFY_API_S_VER_1 */ | ||
435 | 450 | ||
436 | #endif /* __fw_api_sta_h__ */ | 451 | #endif /* __fw_api_sta_h__ */ |