summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/regd_common.h
diff options
context:
space:
mode:
authorOever Gonzalez <notengobattery@gmail.com>2019-01-26 17:30:19 +0100
committerKalle Valo <kvalo@codeaurora.org>2019-02-07 17:02:19 +0200
commit62a2c1355c15940eb7223fda514b60dc18e46a3f (patch)
treec18788b0e8c030b665cfe35b9dfd6013a5555f17 /drivers/net/wireless/ath/regd_common.h
parentb789f333d7acaddb1d6d56c9c64416bbcbbc723a (diff)
ath: regd: add extra US coutry codes
This patch adds several country codes to the regd.h and regd_common.h files in order to support devices like the Linksys EA6350v3, whose country codes are not present in the original list. Without this patch, all devices whose manufacturer programmed any of these code in their EEPROM will not work. The values for CTRY_UNITED_STATES2 and CTRY_UNITED_STATES3 were taken from a post by Sven Eckelmann <sven.eckelmann@openmesh.com>: <http://lists.infradead.org/pipermail/ath10k/2017-August/010014.html> Signed-off-by: Oever Gonzalez <notengobattery@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/regd_common.h')
-rw-r--r--drivers/net/wireless/ath/regd_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/regd_common.h b/drivers/net/wireless/ath/regd_common.h
index 4021e37a225a..c4bd26e65949 100644
--- a/drivers/net/wireless/ath/regd_common.h
+++ b/drivers/net/wireless/ath/regd_common.h
@@ -483,6 +483,8 @@ static struct country_code_to_enum_rd allCountries[] = {
{CTRY_UAE, NULL1_WORLD, "AE"},
{CTRY_UNITED_KINGDOM, ETSI1_WORLD, "GB"},
{CTRY_UNITED_STATES, FCC3_FCCA, "US"},
+ {CTRY_UNITED_STATES2, FCC3_FCCA, "US"},
+ {CTRY_UNITED_STATES3, FCC3_FCCA, "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 */