aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-15 15:20:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-15 15:20:30 +0000
commit4f66299903f036bd0a7c55b87f9290f856ab0386 (patch)
treee4802a3cc84762bb7ad1799a54c40315188a893f /package
parent934cc697681a4fb0fa90ad3c9f6e7ba223502d92 (diff)
downloadupstream-4f66299903f036bd0a7c55b87f9290f856ab0386.tar.gz
upstream-4f66299903f036bd0a7c55b87f9290f856ab0386.tar.bz2
upstream-4f66299903f036bd0a7c55b87f9290f856ab0386.zip
ath5k: fix txop calculation similar to what was done in ath9k
SVN-Revision: 32735
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/421-ath5k_fix_txop.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/421-ath5k_fix_txop.patch b/package/mac80211/patches/421-ath5k_fix_txop.patch
new file mode 100644
index 0000000000..7cef4a230e
--- /dev/null
+++ b/package/mac80211/patches/421-ath5k_fix_txop.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c
++++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c
+@@ -617,7 +617,7 @@ ath5k_conf_tx(struct ieee80211_hw *hw, s
+ qi.tqi_aifs = params->aifs;
+ qi.tqi_cw_min = params->cw_min;
+ qi.tqi_cw_max = params->cw_max;
+- qi.tqi_burst_time = params->txop;
++ qi.tqi_burst_time = params->txop * 32;
+
+ ATH5K_DBG(ah, ATH5K_DEBUG_ANY,
+ "Configure tx [queue %d], "