summaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-15 15:20:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-15 15:20:30 +0000
commit47192b367afd9c891af4aad2fd01a81ec2c64184 (patch)
tree0707025bc71c3d43336b255b14982b40bd9234fe /package/mac80211
parent09d999f54d26f9f726ec9e5428da353a4cc780f9 (diff)
ath5k: fix txop calculation similar to what was done in ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32735 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-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 000000000..7cef4a230
--- /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], "