aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-12 01:15:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-12 01:15:32 +0000
commit34ffa7558ecb9335cdcb85e7c8a1cce3cdddbc6a (patch)
treef0cf9ce11c9b050ccaccf83dc58645753d61b288 /package/mac80211
parent038503bf8e922c72c5c4d6f40cb2eb5f3222d324 (diff)
downloadmaster-187ad058-34ffa7558ecb9335cdcb85e7c8a1cce3cdddbc6a.tar.gz
master-187ad058-34ffa7558ecb9335cdcb85e7c8a1cce3cdddbc6a.tar.bz2
master-187ad058-34ffa7558ecb9335cdcb85e7c8a1cce3cdddbc6a.zip
ath: open up a few safe 5ghz channels in the world regdomain to make the regulatory override unnecessary in a few cases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24503 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/405-world_regd_fixup.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/405-world_regd_fixup.patch b/package/mac80211/patches/405-world_regd_fixup.patch
new file mode 100644
index 0000000000..df47225cff
--- /dev/null
+++ b/package/mac80211/patches/405-world_regd_fixup.patch
@@ -0,0 +1,12 @@
+--- a/drivers/net/wireless/ath/regd.c
++++ b/drivers/net/wireless/ath/regd.c
+@@ -37,7 +37,8 @@
+ NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM)
+
+ /* We allow IBSS on these on a case by case basis by regulatory domain */
+-#define ATH9K_5GHZ_5150_5350 REG_RULE(5150-10, 5350+10, 40, 0, 30,\
++#define ATH9K_5GHZ_5150_5350 REG_RULE(5150-10, 5250, 40, 0, 30, 0), \
++ REG_RULE(5250, 5350+10, 40, 0, 30,\
+ NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS)
+ #define ATH9K_5GHZ_5470_5850 REG_RULE(5470-10, 5850+10, 40, 0, 30,\
+ NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS)