aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-11 16:44:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-11 16:44:13 +0000
commit883e3080165380a65f58842a0e7f833040d3f033 (patch)
treea087dc46fe5f16e674e51aa24bbac808c511d923
parent556864c75b1ff8287bd39edf7350c2578fe3d948 (diff)
downloadupstream-883e3080165380a65f58842a0e7f833040d3f033.tar.gz
upstream-883e3080165380a65f58842a0e7f833040d3f033.tar.bz2
upstream-883e3080165380a65f58842a0e7f833040d3f033.zip
ath9k: add missing part of the aggregation duration fix
SVN-Revision: 32668
-rw-r--r--package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch b/package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch
index b2fbf59f39..ea5d5b793d 100644
--- a/package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch
+++ b/package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch
@@ -123,3 +123,13 @@
static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf,
struct ath_tx_info *info, int len)
{
+--- a/drivers/net/wireless/ath/ath9k/main.c
++++ b/drivers/net/wireless/ath/ath9k/main.c
+@@ -1366,6 +1366,7 @@ static int ath9k_conf_tx(struct ieee8021
+ queue, txq->axq_qnum, params->aifs, params->cw_min,
+ params->cw_max, params->txop);
+
++ ath_update_max_aggr_framelen(sc, queue, qi.tqi_burstTime);
+ ret = ath_txq_update(sc, txq->axq_qnum, &qi);
+ if (ret)
+ ath_err(common, "TXQ Update failed\n");