summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-commands.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-09-05 19:49:43 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-09-17 22:17:50 +0200
commite1b3fa0c22625d985cc7f82b7f3aa90a6fc75c2f (patch)
tree7d61efd1cebdd8a690402becd4c582eaf3bd4d70 /drivers/net/wireless/iwlwifi/iwl-commands.h
parentiwlagn: keep track of failure tx status (diff)
downloadlinux-e1b3fa0c22625d985cc7f82b7f3aa90a6fc75c2f.tar.xz
linux-e1b3fa0c22625d985cc7f82b7f3aa90a6fc75c2f.zip
iwlagn: log aggregation tx command status
For aggregated frames with block ack, different status flag will be used as part of tx command response. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 3e4ba31b5d59..dd47acafa25b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -1868,6 +1868,9 @@ enum {
AGG_TX_STATE_DELAY_TX_MSK = 0x400
};
+#define AGG_TX_STATUS_MSK 0x00000fff /* bits 0:11 */
+#define AGG_TX_TRY_MSK 0x0000f000 /* bits 12:15 */
+
#define AGG_TX_STATE_LAST_SENT_MSK (AGG_TX_STATE_LAST_SENT_TTL_MSK | \
AGG_TX_STATE_LAST_SENT_TRY_CNT_MSK | \
AGG_TX_STATE_LAST_SENT_BT_KILL_MSK)