summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2017-09-12 14:35:46 +0530
committersnandini <snandini@codeaurora.org>2017-09-14 04:11:57 -0700
commitc02b80d2b3980c106e091d506816f6e361ee96cc (patch)
treef11766055d16a6367ed954fd58b03f64076fa6bc
parent3a836ddfd76175eff7e359938c6e04aa7a125d29 (diff)
qcacld-3.0: Add driver support for new country codes
Country codes IQ and GI are not recognized by driver. Add driver support to recognize country code IQ and GI. Change-Id: I76997d4426718a57fee23c9774153f1adc597c44 CRs-Fixed: 2104094
-rw-r--r--core/cds/inc/cds_regdomain.h2
-rw-r--r--core/cds/src/cds_regdomain.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/core/cds/inc/cds_regdomain.h b/core/cds/inc/cds_regdomain.h
index 5c3d831515e6..470f31f61e39 100644
--- a/core/cds/inc/cds_regdomain.h
+++ b/core/cds/inc/cds_regdomain.h
@@ -141,6 +141,7 @@ enum country_code {
CTRY_GEORGIA = 268,
CTRY_GERMANY = 276,
CTRY_GHANA = 288,
+ CTRY_GIBRALTAR = 292,
CTRY_GREECE = 300,
CTRY_GREENLAND = 304,
CTRY_GRENADA = 308,
@@ -156,6 +157,7 @@ enum country_code {
CTRY_INDIA = 356,
CTRY_INDONESIA = 360,
CTRY_IRAN = 364,
+ CTRY_IRAQ = 368,
CTRY_IRELAND = 372,
CTRY_ISRAEL = 376,
CTRY_ITALY = 380,
diff --git a/core/cds/src/cds_regdomain.c b/core/cds/src/cds_regdomain.c
index 36dbe82e0a6b..d654b25bec7f 100644
--- a/core/cds/src/cds_regdomain.c
+++ b/core/cds/src/cds_regdomain.c
@@ -268,6 +268,7 @@ static const struct country_code_to_reg_dmn g_all_countries[] = {
{CTRY_GEORGIA, ETSI4_WORLD, "GE", "GEORGIA"},
{CTRY_GERMANY, ETSI1_WORLD, "DE", "GERMANY"},
{CTRY_GHANA, FCC3_WORLD, "GH", "GHANA"},
+ {CTRY_GIBRALTAR, ETSI1_WORLD, "GI", "GIBRALTAR"},
{CTRY_GREECE, ETSI1_WORLD, "GR", "GREECE"},
{CTRY_GREENLAND, ETSI1_WORLD, "GL", "GREENLAND"},
{CTRY_GRENADA, FCC3_FCCA, "GD", "GRENADA"},
@@ -283,6 +284,7 @@ static const struct country_code_to_reg_dmn g_all_countries[] = {
{CTRY_INDIA, APL15_WORLD, "IN", "INDIA"},
{CTRY_INDONESIA, APL2_ETSIC, "ID", "INDONESIA"},
{CTRY_IRAN, APL1_WORLD, "IR", "IRAN"},
+ {CTRY_IRAQ, ETSI1_WORLD, "IQ", "IRAQ"},
{CTRY_IRELAND, ETSI1_WORLD, "IE", "IRELAND"},
{CTRY_ISRAEL, ETSI3_WORLD, "IL", "ISRAEL"},
{CTRY_ITALY, ETSI1_WORLD, "IT", "ITALY"},