diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-11-12 22:11:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-11-12 22:11:33 +0000 |
commit | d32df2f65a01ea6237d736c3c3c017830f58e781 (patch) | |
tree | a4a1eaea15e95e099378ba823a4b32c754342bde /package/kernel/mac80211/patches/404-world_regd_fixup.patch | |
parent | 23e82fd7ba81f610d46f0ca4ed301b151ca18f4e (diff) | |
download | upstream-d32df2f65a01ea6237d736c3c3c017830f58e781.tar.gz upstream-d32df2f65a01ea6237d736c3c3c017830f58e781.tar.bz2 upstream-d32df2f65a01ea6237d736c3c3c017830f58e781.zip |
mac80211: update to wireless-testing 2013-11-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38783 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/404-world_regd_fixup.patch')
-rw-r--r-- | package/kernel/mac80211/patches/404-world_regd_fixup.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/kernel/mac80211/patches/404-world_regd_fixup.patch b/package/kernel/mac80211/patches/404-world_regd_fixup.patch index 7a5840eb18..a0f4d1f52a 100644 --- a/package/kernel/mac80211/patches/404-world_regd_fixup.patch +++ b/package/kernel/mac80211/patches/404-world_regd_fixup.patch @@ -1,15 +1,15 @@ --- a/drivers/net/wireless/ath/regd.c +++ b/drivers/net/wireless/ath/regd.c @@ -42,7 +42,8 @@ static int __ath_regd_init(struct ath_re - NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM) + NL80211_RRF_NO_IR | 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, 80, 0, 30,\ -+#define ATH9K_5GHZ_5150_5350 REG_RULE(5150-10, 5250, 80, 0, 30, 0), \ -+ REG_RULE(5250, 5350+10, 80, 0, 30,\ - NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS) ++#define ATH9K_5GHZ_5150_5350 REG_RULE(5150-10, 5240+10, 80, 0, 30, 0),\ ++ REG_RULE(5260-10, 5350+10, 80, 0, 30,\ + NL80211_RRF_NO_IR) #define ATH9K_5GHZ_5470_5850 REG_RULE(5470-10, 5850+10, 80, 0, 30,\ - NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS) + NL80211_RRF_NO_IR) @@ -60,57 +61,56 @@ static int __ath_regd_init(struct ath_re #define ATH9K_5GHZ_NO_MIDBAND ATH9K_5GHZ_5150_5350, \ ATH9K_5GHZ_5725_5850 |