Skip to content
Snippets Groups Projects
Commit d772eb23 authored by bill.jung's avatar bill.jung Committed by Vineeta Srivastava
Browse files

mako: wifi: Channel blocking when mobile network is no service state.


In case of no service state which means that Wi-Fi framework does not know
country code,  just 1 ~ 11 channels will be active and 12 ~ 14 channels and
5GHz channels will be blocked.

To do this, the followings are changed
1) Change regulatory domain map (nv.bin)
   a) Set N_AMER_EXC_FCC not to use 12 ~ 14 channels and 5GHz channels
   b) Set default regulatory domain to N_AMER_EXC_FCC
2) Change regulatory domain of Vietnam, Israel, and Turkey to others (vos_nvitem.c)
   Vietnam : N_AMER_EXC_FCC -> World
   Turkey  : N_AMER_EXC_FCC -> ETSI

LGE tested all the country codes of which the Mako was released and there was
no regulatory domain problem.

Signed-off-by: default avatarVineeta Srivastava <vsrivastava@google.com>
parent 7ce11cdd
No related merge requests found
...@@ -317,7 +317,7 @@ static CountryInfoTable_t countryInfoTable = ...@@ -317,7 +317,7 @@ static CountryInfoTable_t countryInfoTable =
{ REGDOMAIN_NO_5GHZ, {'T', 'M'}}, //TURKMENISTAN { REGDOMAIN_NO_5GHZ, {'T', 'M'}}, //TURKMENISTAN
{ REGDOMAIN_N_AMER_EXC_FCC, {'T', 'N'}}, //TUNISIA { REGDOMAIN_N_AMER_EXC_FCC, {'T', 'N'}}, //TUNISIA
{ REGDOMAIN_NO_5GHZ, {'T', 'O'}}, //TONGA { REGDOMAIN_NO_5GHZ, {'T', 'O'}}, //TONGA
{ REGDOMAIN_N_AMER_EXC_FCC, {'T', 'R'}}, //TURKEY { REGDOMAIN_ETSI, {'T', 'R'}}, //TURKEY
{ REGDOMAIN_WORLD, {'T', 'T'}}, //TRINIDAD AND TOBAGO { REGDOMAIN_WORLD, {'T', 'T'}}, //TRINIDAD AND TOBAGO
{ REGDOMAIN_NO_5GHZ, {'T', 'V'}}, //TUVALU { REGDOMAIN_NO_5GHZ, {'T', 'V'}}, //TUVALU
{ REGDOMAIN_WORLD, {'T', 'W'}}, //TAIWAN, PROVINCE OF CHINA { REGDOMAIN_WORLD, {'T', 'W'}}, //TAIWAN, PROVINCE OF CHINA
...@@ -332,7 +332,7 @@ static CountryInfoTable_t countryInfoTable = ...@@ -332,7 +332,7 @@ static CountryInfoTable_t countryInfoTable =
{ REGDOMAIN_HI_5GHZ, {'V', 'E'}}, //VENEZUELA { REGDOMAIN_HI_5GHZ, {'V', 'E'}}, //VENEZUELA
{ REGDOMAIN_ETSI, {'V', 'G'}}, //VIRGIN ISLANDS, BRITISH { REGDOMAIN_ETSI, {'V', 'G'}}, //VIRGIN ISLANDS, BRITISH
{ REGDOMAIN_FCC, {'V', 'I'}}, //VIRGIN ISLANDS, US { REGDOMAIN_FCC, {'V', 'I'}}, //VIRGIN ISLANDS, US
{ REGDOMAIN_N_AMER_EXC_FCC, {'V', 'N'}}, //VIET NAM { REGDOMAIN_WORLD, {'V', 'N'}}, //VIET NAM
{ REGDOMAIN_NO_5GHZ, {'V', 'U'}}, //VANUATU { REGDOMAIN_NO_5GHZ, {'V', 'U'}}, //VANUATU
{ REGDOMAIN_WORLD, {'W', 'F'}}, //WALLIS AND FUTUNA { REGDOMAIN_WORLD, {'W', 'F'}}, //WALLIS AND FUTUNA
{ REGDOMAIN_N_AMER_EXC_FCC, {'W', 'S'}}, //SOMOA { REGDOMAIN_N_AMER_EXC_FCC, {'W', 'S'}}, //SOMOA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment