aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/568-ath9k_fix_txop_limit.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-11 02:11:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-11 02:11:33 +0000
commita8fd72ec337e135bad119f485b78e0799eaa7fc5 (patch)
treefe6bce5b8f029834c5b968dc4ac5b1ad585851d9 /package/mac80211/patches/568-ath9k_fix_txop_limit.patch
parent6f8ab05a525f9b6ccb90c5302d0ed59285a69bae (diff)
downloadupstream-a8fd72ec337e135bad119f485b78e0799eaa7fc5.tar.gz
upstream-a8fd72ec337e135bad119f485b78e0799eaa7fc5.tar.bz2
upstream-a8fd72ec337e135bad119f485b78e0799eaa7fc5.zip
ath9k: fix some bugs related to txop limit handling and aggregation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32658 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/568-ath9k_fix_txop_limit.patch')
-rw-r--r--package/mac80211/patches/568-ath9k_fix_txop_limit.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/mac80211/patches/568-ath9k_fix_txop_limit.patch b/package/mac80211/patches/568-ath9k_fix_txop_limit.patch
new file mode 100644
index 0000000000..255ec2942a
--- /dev/null
+++ b/package/mac80211/patches/568-ath9k_fix_txop_limit.patch
@@ -0,0 +1,22 @@
+--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
++++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+@@ -1351,7 +1351,7 @@ static int ath9k_htc_conf_tx(struct ieee
+ qi.tqi_aifs = params->aifs;
+ qi.tqi_cwmin = params->cw_min;
+ qi.tqi_cwmax = params->cw_max;
+- qi.tqi_burstTime = params->txop;
++ qi.tqi_burstTime = params->txop * 32;
+
+ qnum = get_hw_qnum(queue, priv->hwq_map);
+
+--- a/drivers/net/wireless/ath/ath9k/main.c
++++ b/drivers/net/wireless/ath/ath9k/main.c
+@@ -1359,7 +1359,7 @@ static int ath9k_conf_tx(struct ieee8021
+ qi.tqi_aifs = params->aifs;
+ qi.tqi_cwmin = params->cw_min;
+ qi.tqi_cwmax = params->cw_max;
+- qi.tqi_burstTime = params->txop;
++ qi.tqi_burstTime = params->txop * 32;
+
+ ath_dbg(common, CONFIG,
+ "Configure tx [queue/halq] [%d/%d], aifs: %d, cw_min: %d, cw_max: %d, txop: %d\n",