From: Felix Fietkau Date: Sun, 12 Dec 2010 01:15:32 +0000 (+0000) Subject: ath: open up a few safe 5ghz channels in the world regdomain to make the regulatory... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9eba6dc5ea65b48355ed3390b4a30f7033f51884;p=openwrt%2Fstaging%2Frmilecki.git ath: open up a few safe 5ghz channels in the world regdomain to make the regulatory override unnecessary in a few cases SVN-Revision: 24503 --- 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 00000000000..df47225cff2 --- /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)