summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h
diff options
context:
space:
mode:
authorLiad Kaufman <liad.kaufman@intel.com>2017-04-13 17:10:33 +0300
committerLuca Coelho <luciano.coelho@intel.com>2017-06-29 13:26:25 +0300
commitcba46988c0813cd9e74d6625af32f7043780dac3 (patch)
tree5046306437c7c37be8b61ae78461ccc3e9076071 /drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h
parentb3de3ef48aa3fe066150243f07d1cc4e6fac2c80 (diff)
downloadtalos-obmc-linux-cba46988c0813cd9e74d6625af32f7043780dac3.tar.gz
talos-obmc-linux-cba46988c0813cd9e74d6625af32f7043780dac3.zip
iwlwifi: mvm: support multi tid ba notif
When receiving a BA_NOTIF on new TX API, it can contain BAs for several TIDs. Go over them and reclaim TX for every TID. Note that although the small API change, the API version still isn't bumped forward, as this NIC isn't still officially released. Signed-off-by: Liad Kaufman <liad.kaufman@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h b/drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h
index 9d2a991221cf..97d7eed32622 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h
@@ -668,13 +668,15 @@ struct iwl_mvm_ba_notif {
* @q_num: TFD queue number
* @tfd_index: Index of first un-acked frame in the TFD queue
* @scd_queue: For debug only - the physical queue the TFD queue is bound to
+ * @tid: TID of the queue (0-7)
* @reserved: reserved for alignment
*/
struct iwl_mvm_compressed_ba_tfd {
__le16 q_num;
__le16 tfd_index;
u8 scd_queue;
- u8 reserved[3];
+ u8 tid;
+ u8 reserved[2];
} __packed; /* COMPRESSED_BA_TFD_API_S_VER_1 */
/**
OpenPOWER on IntegriCloud