aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/560-minstrel_ht.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-10 01:09:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-10 01:09:17 +0000
commit3f733bc1ecd5b213e3b9078c9cb057a0ae6842d9 (patch)
tree6aa23cdaa2417e1759e6b51d8635efb6db5aca24 /package/mac80211/patches/560-minstrel_ht.patch
parent56f94c0d2a90cca7fd509a8432830db9d23fc713 (diff)
downloadupstream-3f733bc1ecd5b213e3b9078c9cb057a0ae6842d9.tar.gz
upstream-3f733bc1ecd5b213e3b9078c9cb057a0ae6842d9.tar.bz2
upstream-3f733bc1ecd5b213e3b9078c9cb057a0ae6842d9.zip
mac80211/ath9k: fix duration calculation for short-guard-interval frames (thanks to Duy Nguyen for pointing this out)
SVN-Revision: 20114
Diffstat (limited to 'package/mac80211/patches/560-minstrel_ht.patch')
-rw-r--r--package/mac80211/patches/560-minstrel_ht.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/560-minstrel_ht.patch b/package/mac80211/patches/560-minstrel_ht.patch
index 6c3d08eac2..2f2aa9d398 100644
--- a/package/mac80211/patches/560-minstrel_ht.patch
+++ b/package/mac80211/patches/560-minstrel_ht.patch
@@ -100,7 +100,7 @@
+/* Transmission time for a packet containing (syms) symbols */
+#define MCS_SYMBOL_TIME(sgi, syms) \
+ (sgi ? \
-+ ((syms) * 18 + 4) / 5 : /* syms * 3.6 us */ \
++ ((syms) * 18 + 4) / 6 : /* syms * 3.6 us */ \
+ (syms) << 2 /* syms * 4 us */ \
+ )
+