summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/rc.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-01 12:32:11 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2010-03-10 22:44:45 (GMT)
commitd969847c2202f82b3f6755d16909925e64e354e5 (patch)
tree108eec6c1cccb07497c2831618ba1a0ac5bb420c /drivers/net/wireless/ath/ath9k/rc.h
parent7c3c76a82f3a6d52bbeabf48dd32109cc951a7cf (diff)
downloadlinux-fsl-qoriq-d969847c2202f82b3f6755d16909925e64e354e5.tar.xz
ath9k: fix rate control tx status handling for A-MPDU
Currently the rate control tx status update gets called for every subframe of an A-MPDU, and ath9k marks the frame with the relevant status update with an internal flag. This not suitable for rate control algorithms using the standard mac80211 rate control API, so fix this by using IEEE80211_TX_STAT_AMPDU for marking the correct frames that should be processed. 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/rc.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/rc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.h b/drivers/net/wireless/ath/ath9k/rc.h
index 4f6d6fd..f4818e4 100644
--- a/drivers/net/wireless/ath/ath9k/rc.h
+++ b/drivers/net/wireless/ath/ath9k/rc.h
@@ -172,7 +172,6 @@ struct ath_rate_priv {
#define ATH_TX_INFO_FRAME_TYPE_INTERNAL (1 << 0)
#define ATH_TX_INFO_FRAME_TYPE_PAUSE (1 << 1)
-#define ATH_TX_INFO_UPDATE_RC (1 << 2)
#define ATH_TX_INFO_XRETRY (1 << 3)
#define ATH_TX_INFO_UNDERRUN (1 << 4)