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 | 46 |
1 files changed, 5 insertions, 41 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h index d63647867262..39cebee8016f 100644 --- a/drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h +++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-sta.h | |||
@@ -255,22 +255,19 @@ struct iwl_mvm_keyinfo { | |||
255 | } __packed; | 255 | } __packed; |
256 | 256 | ||
257 | /** | 257 | /** |
258 | * struct iwl_mvm_add_sta_cmd_v5 - Add/modify a station in the fw's sta table. | 258 | * struct iwl_mvm_add_sta_cmd - Add/modify a station in the fw's sta table. |
259 | * ( REPLY_ADD_STA = 0x18 ) | 259 | * ( REPLY_ADD_STA = 0x18 ) |
260 | * @add_modify: 1: modify existing, 0: add new station | 260 | * @add_modify: 1: modify existing, 0: add new station |
261 | * @unicast_tx_key_id: unicast tx key id. Relevant only when unicast key sent | 261 | * @awake_acs: |
262 | * @multicast_tx_key_id: multicast tx key id. Relevant only when multicast key | 262 | * @tid_disable_tx: is tid BIT(tid) enabled for Tx. Clear BIT(x) to enable |
263 | * sent | 263 | * AMPDU for tid x. Set %STA_MODIFY_TID_DISABLE_TX to change this field. |
264 | * @mac_id_n_color: the Mac context this station belongs to | 264 | * @mac_id_n_color: the Mac context this station belongs to |
265 | * @addr[ETH_ALEN]: station's MAC address | 265 | * @addr[ETH_ALEN]: station's MAC address |
266 | * @sta_id: index of station in uCode's station table | 266 | * @sta_id: index of station in uCode's station table |
267 | * @modify_mask: STA_MODIFY_*, selects which parameters to modify vs. leave | 267 | * @modify_mask: STA_MODIFY_*, selects which parameters to modify vs. leave |
268 | * alone. 1 - modify, 0 - don't change. | 268 | * alone. 1 - modify, 0 - don't change. |
269 | * @key: look at %iwl_mvm_keyinfo | ||
270 | * @station_flags: look at %iwl_sta_flags | 269 | * @station_flags: look at %iwl_sta_flags |
271 | * @station_flags_msk: what of %station_flags have changed | 270 | * @station_flags_msk: what of %station_flags have changed |
272 | * @tid_disable_tx: is tid BIT(tid) enabled for Tx. Clear BIT(x) to enable | ||
273 | * AMPDU for tid x. Set %STA_MODIFY_TID_DISABLE_TX to change this field. | ||
274 | * @add_immediate_ba_tid: tid for which to add block-ack support (Rx) | 271 | * @add_immediate_ba_tid: tid for which to add block-ack support (Rx) |
275 | * Set %STA_MODIFY_ADD_BA_TID to use this field, and also set | 272 | * Set %STA_MODIFY_ADD_BA_TID to use this field, and also set |
276 | * add_immediate_ba_ssn. | 273 | * add_immediate_ba_ssn. |
@@ -294,40 +291,7 @@ struct iwl_mvm_keyinfo { | |||
294 | * ADD_STA sets up the table entry for one station, either creating a new | 291 | * ADD_STA sets up the table entry for one station, either creating a new |
295 | * entry, or modifying a pre-existing one. | 292 | * entry, or modifying a pre-existing one. |
296 | */ | 293 | */ |
297 | struct iwl_mvm_add_sta_cmd_v5 { | 294 | struct iwl_mvm_add_sta_cmd { |
298 | u8 add_modify; | ||
299 | u8 unicast_tx_key_id; | ||
300 | u8 multicast_tx_key_id; | ||
301 | u8 reserved1; | ||
302 | __le32 mac_id_n_color; | ||
303 | u8 addr[ETH_ALEN]; | ||
304 | __le16 reserved2; | ||
305 | u8 sta_id; | ||
306 | u8 modify_mask; | ||
307 | __le16 reserved3; | ||
308 | struct iwl_mvm_keyinfo key; | ||
309 | __le32 station_flags; | ||
310 | __le32 station_flags_msk; | ||
311 | __le16 tid_disable_tx; | ||
312 | __le16 reserved4; | ||
313 | u8 add_immediate_ba_tid; | ||
314 | u8 remove_immediate_ba_tid; | ||
315 | __le16 add_immediate_ba_ssn; | ||
316 | __le16 sleep_tx_count; | ||
317 | __le16 sleep_state_flags; | ||
318 | __le16 assoc_id; | ||
319 | __le16 beamform_flags; | ||
320 | __le32 tfd_queue_msk; | ||
321 | } __packed; /* ADD_STA_CMD_API_S_VER_5 */ | ||
322 | |||
323 | /** | ||
324 | * struct iwl_mvm_add_sta_cmd_v7 - Add / modify a station | ||
325 | * VER_7 of this command is quite similar to VER_5 except | ||
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. | ||
329 | */ | ||
330 | struct iwl_mvm_add_sta_cmd_v7 { | ||
331 | u8 add_modify; | 295 | u8 add_modify; |
332 | u8 awake_acs; | 296 | u8 awake_acs; |
333 | __le16 tid_disable_tx; | 297 | __le16 tid_disable_tx; |