Parcourir la source

qcacld-3.0: Fix regulatory domain issues

US regulatory domain is FCC3_FCCA and not FCC8_FCCA. Fix that.
Also add regulatory domain APL8_WORLD to regulatory tables.
Bolivia and Nigeria map to APL8_WORLD.

Change-Id: I539d2720f08026a06669b1c5117523667dfcef52
CRs-Fixed: 1053513
Amar Singhal il y a 8 ans
Parent
commit
04bd8bf652
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      core/cds/src/cds_regdomain.c

+ 2 - 1
core/cds/src/cds_regdomain.c

@@ -187,6 +187,7 @@ static const struct reg_dmn_pair g_reg_dmn_pairs[] = {
 	{APL1_ETSIC, APL1, ETSIC, CTRY_DEFAULT},
 	{APL6_WORLD, APL6, WORLD, CTRY_DEFAULT},
 	{APL7_FCCA, APL7, FCCA, CTRY_DEFAULT},
+	{APL8_WORLD, APL8, WORLD, CTRY_DEFAULT},
 	{APL9_WORLD, APL9, WORLD, CTRY_DEFAULT},
 	{APL10_WORLD, APL10, WORLD, CTRY_DEFAULT},
 	{APL12_WORLD, APL12, WORLD, CTRY_DEFAULT},
@@ -369,7 +370,7 @@ static const struct country_code_to_reg_dmn g_all_countries[] = {
 	{CTRY_UKRAINE, ETSI9_WORLD, "UA", "UKRAINE"},
 	{CTRY_UAE, FCC3_WORLD, "AE", "UNITED ARAB EMIRATES"},
 	{CTRY_UNITED_KINGDOM, ETSI1_WORLD, "GB", "UNITED KINGDOM"},
-	{CTRY_UNITED_STATES, FCC8_FCCA, "US", "UNITED STATES"},
+	{CTRY_UNITED_STATES, FCC3_FCCA, "US", "UNITED STATES"},
 	{CTRY_UNITED_STATES_PS, FCC4_FCCA, "PS", "US PUBLIC SAFETY"},
 	{CTRY_URUGUAY, FCC2_WORLD, "UY", "URUGUAY"},
 	{CTRY_UZBEKISTAN, ETSI3_WORLD, "UZ", "UZBEKISTAN"},