aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/407-ath_regd_us.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-10 16:35:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-10 16:35:43 +0000
commitefd244ff8f5bf9688f7fd1b79d1d00ceecb28d7f (patch)
tree040c15e800fdb2dafc07af2120af5a7ccb3cdb14 /package/mac80211/patches/407-ath_regd_us.patch
parent9518b7c8a15e25834116f48ec992337659319bb4 (diff)
downloadmaster-187ad058-efd244ff8f5bf9688f7fd1b79d1d00ceecb28d7f.tar.gz
master-187ad058-efd244ff8f5bf9688f7fd1b79d1d00ceecb28d7f.tar.bz2
master-187ad058-efd244ff8f5bf9688f7fd1b79d1d00ceecb28d7f.zip
ath9k: add a regdomain code used on newer ubiquiti networks devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27947 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/407-ath_regd_us.patch')
-rw-r--r--package/mac80211/patches/407-ath_regd_us.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/mac80211/patches/407-ath_regd_us.patch b/package/mac80211/patches/407-ath_regd_us.patch
new file mode 100644
index 0000000000..cc55877809
--- /dev/null
+++ b/package/mac80211/patches/407-ath_regd_us.patch
@@ -0,0 +1,26 @@
+--- a/drivers/net/wireless/ath/regd_common.h
++++ b/drivers/net/wireless/ath/regd_common.h
+@@ -32,6 +32,7 @@ enum EnumRd {
+ FCC2_WORLD = 0x21,
+ FCC2_ETSIC = 0x22,
+ FCC6_WORLD = 0x23,
++ FCC3_FCCA_2 = 0x2A,
+ FRANCE_RES = 0x31,
+ FCC3_FCCA = 0x3A,
+ FCC3_WORLD = 0x3B,
+@@ -167,6 +168,7 @@ static struct reg_dmn_pair_mapping regDo
+ {FCC2_WORLD, CTL_FCC, CTL_ETSI},
+ {FCC2_ETSIC, CTL_FCC, CTL_ETSI},
+ {FCC3_FCCA, CTL_FCC, CTL_FCC},
++ {FCC3_FCCA_2, CTL_FCC, CTL_FCC},
+ {FCC3_WORLD, CTL_FCC, CTL_ETSI},
+ {FCC4_FCCA, CTL_FCC, CTL_FCC},
+ {FCC5_FCCA, CTL_FCC, CTL_FCC},
+@@ -463,6 +465,7 @@ static struct country_code_to_enum_rd al
+ {CTRY_UAE, NULL1_WORLD, "AE"},
+ {CTRY_UNITED_KINGDOM, ETSI1_WORLD, "GB"},
+ {CTRY_UNITED_STATES, FCC3_FCCA, "US"},
++ {CTRY_UNITED_STATES, FCC3_FCCA_2, "US"},
+ /* This "PS" is for US public safety actually... to support this we
+ * would need to assign new special alpha2 to CRDA db as with the world
+ * regdomain and use another alpha2 */