summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-05-28 16:27:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-05-28 16:27:24 +0000
commit2dd4505c62b9fe55d691dcafccef8e9b0a271dcb (patch)
treed565d955853bdf29ebbab48a178d0d309ca169e6 /package/mac80211
parentb68404f278b901b033f2a592f83b231da6945010 (diff)
downloadmtk-20170518-2dd4505c62b9fe55d691dcafccef8e9b0a271dcb.zip
mtk-20170518-2dd4505c62b9fe55d691dcafccef8e9b0a271dcb.tar.gz
mtk-20170518-2dd4505c62b9fe55d691dcafccef8e9b0a271dcb.tar.bz2
ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues
SVN-Revision: 27024
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/430-ath5k_disable_fast_cc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mac80211/patches/430-ath5k_disable_fast_cc.patch b/package/mac80211/patches/430-ath5k_disable_fast_cc.patch
new file mode 100644
index 0000000..e049645
--- /dev/null
+++ b/package/mac80211/patches/430-ath5k_disable_fast_cc.patch
@@ -0,0 +1,18 @@
+--- a/drivers/net/wireless/ath/ath5k/reset.c
++++ b/drivers/net/wireless/ath/ath5k/reset.c
+@@ -1035,6 +1035,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah,
+ tsf_lo = 0;
+ mode = 0;
+
++#if 0
+ /*
+ * Sanity check for fast flag
+ * Fast channel change only available
+@@ -1042,6 +1043,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah,
+ */
+ if (fast && (ah->ah_radio != AR5K_RF2413) &&
+ (ah->ah_radio != AR5K_RF5413))
++#endif
+ fast = 0;
+
+ /* Disable sleep clock operation