Root/package/mac80211/patches/406-ath_regd_us.patch

1--- a/drivers/net/wireless/ath/regd_common.h
2+++ b/drivers/net/wireless/ath/regd_common.h
3@@ -32,6 +32,7 @@ enum EnumRd {
4     FCC2_WORLD = 0x21,
5     FCC2_ETSIC = 0x22,
6     FCC6_WORLD = 0x23,
7+ FCC3_FCCA_2 = 0x2A,
8     FRANCE_RES = 0x31,
9     FCC3_FCCA = 0x3A,
10     FCC3_WORLD = 0x3B,
11@@ -167,6 +168,7 @@ static struct reg_dmn_pair_mapping regDo
12     {FCC2_WORLD, CTL_FCC, CTL_ETSI},
13     {FCC2_ETSIC, CTL_FCC, CTL_ETSI},
14     {FCC3_FCCA, CTL_FCC, CTL_FCC},
15+ {FCC3_FCCA_2, CTL_FCC, CTL_FCC},
16     {FCC3_WORLD, CTL_FCC, CTL_ETSI},
17     {FCC4_FCCA, CTL_FCC, CTL_FCC},
18     {FCC5_FCCA, CTL_FCC, CTL_FCC},
19@@ -463,6 +465,7 @@ static struct country_code_to_enum_rd al
20     {CTRY_UAE, NULL1_WORLD, "AE"},
21     {CTRY_UNITED_KINGDOM, ETSI1_WORLD, "GB"},
22     {CTRY_UNITED_STATES, FCC3_FCCA, "US"},
23+ {CTRY_UNITED_STATES, FCC3_FCCA_2, "US"},
24     /* This "PS" is for US public safety actually... to support this we
25      * would need to assign new special alpha2 to CRDA db as with the world
26      * regdomain and use another alpha2 */
27

Archive Download this file



interactive