ath: open up a few safe 5ghz channels in the world regdomain to make the regulatory...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 405-world_regd_fixup.patch
1 --- a/drivers/net/wireless/ath/regd.c
2 +++ b/drivers/net/wireless/ath/regd.c
3 @@ -37,7 +37,8 @@
4 NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM)
5
6 /* We allow IBSS on these on a case by case basis by regulatory domain */
7 -#define ATH9K_5GHZ_5150_5350 REG_RULE(5150-10, 5350+10, 40, 0, 30,\
8 +#define ATH9K_5GHZ_5150_5350 REG_RULE(5150-10, 5250, 40, 0, 30, 0), \
9 + REG_RULE(5250, 5350+10, 40, 0, 30,\
10 NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS)
11 #define ATH9K_5GHZ_5470_5850 REG_RULE(5470-10, 5850+10, 40, 0, 30,\
12 NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS)