diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-01-28 07:07:24 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:19:18 -0500 |
commit | fe01b477bbd23e69c3bdc6bce5be510ddad8297d (patch) | |
tree | 353471f96adb7580b7940c3b7cf6df4f8f0044a2 /drivers/net/wireless/iwlwifi/iwl-4965-commands.h | |
parent | 8114fcf185c58b23dc9fcaf4944b59b4c1407b39 (diff) |
iwlwifi: A-MPDU Tx conform flows to mac80211
This patch alters the current iwlwifi behavior to fit the flows introduced
by the mac80211, mainly queues handling and start/stop call backs flows
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-commands.h | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-commands.h b/drivers/net/wireless/iwlwifi/iwl-4965-commands.h index f3470c896d9..9edd8abcf57 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-commands.h | |||
@@ -1300,6 +1300,25 @@ struct iwl4965_tx_resp { | |||
1300 | __le32 status; /* TX status (for aggregation status of 1st frame) */ | 1300 | __le32 status; /* TX status (for aggregation status of 1st frame) */ |
1301 | } __attribute__ ((packed)); | 1301 | } __attribute__ ((packed)); |
1302 | 1302 | ||
1303 | struct agg_tx_status { | ||
1304 | __le16 status; | ||
1305 | __le16 sequence; | ||
1306 | } __attribute__ ((packed)); | ||
1307 | |||
1308 | struct iwl4965_tx_resp_agg { | ||
1309 | u8 frame_count; /* 1 no aggregation, >1 aggregation */ | ||
1310 | u8 reserved1; | ||
1311 | u8 failure_rts; | ||
1312 | u8 failure_frame; | ||
1313 | __le32 rate_n_flags; | ||
1314 | __le16 wireless_media_time; | ||
1315 | __le16 reserved3; | ||
1316 | __le32 pa_power1; | ||
1317 | __le32 pa_power2; | ||
1318 | struct agg_tx_status status; /* TX status (for aggregation status */ | ||
1319 | /* of 1st frame) */ | ||
1320 | } __attribute__ ((packed)); | ||
1321 | |||
1303 | /* | 1322 | /* |
1304 | * REPLY_COMPRESSED_BA = 0xc5 (response only, not a command) | 1323 | * REPLY_COMPRESSED_BA = 0xc5 (response only, not a command) |
1305 | * | 1324 | * |
@@ -1313,9 +1332,8 @@ struct iwl4965_compressed_ba_resp { | |||
1313 | /* Index of recipient (BA-sending) station in uCode's station table */ | 1332 | /* Index of recipient (BA-sending) station in uCode's station table */ |
1314 | u8 sta_id; | 1333 | u8 sta_id; |
1315 | u8 tid; | 1334 | u8 tid; |
1316 | __le16 ba_seq_ctl; | 1335 | __le16 seq_ctl; |
1317 | __le32 ba_bitmap0; | 1336 | __le64 bitmap; |
1318 | __le32 ba_bitmap1; | ||
1319 | __le16 scd_flow; | 1337 | __le16 scd_flow; |
1320 | __le16 scd_ssn; | 1338 | __le16 scd_ssn; |
1321 | } __attribute__ ((packed)); | 1339 | } __attribute__ ((packed)); |