diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2008-11-20 01:21:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-26 09:47:40 -0500 |
commit | 7ac47010a444d9f4285cf1ae06780633a112489b (patch) | |
tree | 1c2e739ceb5ef702efbd02551767d43f7da369ee /drivers/net/wireless/ath9k/rc.c | |
parent | 40fc95d57caf258e20282f6526b695426d65a73a (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.c')
-rw-r--r-- | drivers/net/wireless/ath9k/rc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c index e118824625ba..7d1913d48d31 100644 --- a/drivers/net/wireless/ath9k/rc.c +++ b/drivers/net/wireless/ath9k/rc.c | |||
@@ -1413,7 +1413,8 @@ static void ath_tx_status(void *priv, struct ieee80211_supported_band *sband, | |||
1413 | an = (struct ath_node *)sta->drv_priv; | 1413 | an = (struct ath_node *)sta->drv_priv; |
1414 | final_ts_idx = tx_info_priv->tx.ts_rateindex; | 1414 | final_ts_idx = tx_info_priv->tx.ts_rateindex; |
1415 | 1415 | ||
1416 | if (!an || !priv_sta || !ieee80211_is_data(fc)) | 1416 | if (!an || !priv_sta || !ieee80211_is_data(fc) || |
1417 | !tx_info_priv->update_rc) | ||
1417 | goto exit; | 1418 | goto exit; |
1418 | 1419 | ||
1419 | if (tx_info_priv->tx.ts_status & ATH9K_TXERR_FILT) | 1420 | if (tx_info_priv->tx.ts_status & ATH9K_TXERR_FILT) |