diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-03-10 01:17:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-03-10 01:17:23 +0000 |
commit | 1d543fc2cc666c1e242d20f287688eab6d3166a8 (patch) | |
tree | 8b783aab1a0fdb1e2271cdd6e603c23335ff567d /package/mac80211 | |
parent | ec9b5ca71bef8ad1d6413c081c034c9926551424 (diff) | |
download | upstream-1d543fc2cc666c1e242d20f287688eab6d3166a8.tar.gz upstream-1d543fc2cc666c1e242d20f287688eab6d3166a8.tar.bz2 upstream-1d543fc2cc666c1e242d20f287688eab6d3166a8.zip |
Revert "mac80211/ath9k: fix duration calculation for short-guard-interval frames (thanks to Duy Nguyen for pointing this out)" again
It appears to be causing trouble at least with some clients.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20115 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r-- | package/mac80211/patches/560-minstrel_ht.patch | 2 | ||||
-rw-r--r-- | package/mac80211/patches/580-ath9k_fix_duration_calculation.patch | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/package/mac80211/patches/560-minstrel_ht.patch b/package/mac80211/patches/560-minstrel_ht.patch index 2f2aa9d398..6c3d08eac2 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) / 6 : /* syms * 3.6 us */ \ ++ ((syms) * 18 + 4) / 5 : /* syms * 3.6 us */ \ + (syms) << 2 /* syms * 4 us */ \ + ) + diff --git a/package/mac80211/patches/580-ath9k_fix_duration_calculation.patch b/package/mac80211/patches/580-ath9k_fix_duration_calculation.patch deleted file mode 100644 index 219e4ee363..0000000000 --- a/package/mac80211/patches/580-ath9k_fix_duration_calculation.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/xmit.c -+++ b/drivers/net/wireless/ath/ath9k/xmit.c -@@ -27,9 +27,9 @@ - #define HT_STF 4 - #define HT_LTF(_ns) (4 * (_ns)) - #define SYMBOL_TIME(_ns) ((_ns) << 2) /* ns * 4 us */ --#define SYMBOL_TIME_HALFGI(_ns) (((_ns) * 18 + 4) / 5) /* ns * 3.6 us */ -+#define SYMBOL_TIME_HALFGI(_ns) (((_ns) * 18 + 4) / 6) /* ns * 3.6 us */ - #define NUM_SYMBOLS_PER_USEC(_usec) (_usec >> 2) --#define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18) -+#define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*6)-4)/18) - - #define OFDM_SIFS_TIME 16 - |