aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/rc.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2008-11-20 11:51:18 +0530
committerJohn W. Linville <linville@tuxdriver.com>2008-11-26 09:47:40 -0500
commit7ac47010a444d9f4285cf1ae06780633a112489b (patch)
tree1c2e739ceb5ef702efbd02551767d43f7da369ee /drivers/net/wireless/ath9k/rc.h
parent40fc95d57caf258e20282f6526b695426d65a73a (diff)
ath9k: Dont update rate control for every AMPDU
Update the rate control only with the tx status of first AMPDU of an aggregation. This patch fixes frequent drops in throughput. Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.h')
-rw-r--r--drivers/net/wireless/ath9k/rc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/rc.h b/drivers/net/wireless/ath9k/rc.h
index 297dff96c3a..97c60d12e8a 100644
--- a/drivers/net/wireless/ath9k/rc.h
+++ b/drivers/net/wireless/ath9k/rc.h
@@ -188,6 +188,7 @@ struct ath_tx_info_priv {
struct ath_tx_status tx;
int n_frames;
int n_bad_frames;
+ bool update_rc;
};
#define ATH_TX_INFO_PRIV(tx_info) \