diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-09-30 09:24:23 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-30 17:17:48 (GMT) |
commit | 315dd1149b6048cec805667f511726bbe8e5c975 (patch) | |
tree | 6bc8a44734b05bda1b501d820af8d3a675a9912b /drivers/net/wireless/ath/ath9k/mac.h | |
parent | 4d9f634b02e4240f86719f30e4c9e62f6a4c4d36 (diff) | |
download | linux-315dd1149b6048cec805667f511726bbe8e5c975.tar.xz |
ath9k: fix getting tx duration for dynack
On AR9003, tx control and tx status are in separate descriptor rings.
Tx duration is extracted from the tx control descriptor data, which
ar9003_hw_proc_txdesc cannot access.
Fix getting the duration by adding a separate callback for it.
Acked-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.h b/drivers/net/wireless/ath/ath9k/mac.h index cd05a77..aa69cea 100644 --- a/drivers/net/wireless/ath/ath9k/mac.h +++ b/drivers/net/wireless/ath/ath9k/mac.h @@ -121,7 +121,7 @@ struct ath_tx_status { u32 evm0; u32 evm1; u32 evm2; - u32 duration[4]; + u32 duration; }; struct ath_rx_status { |