diff options
author | Andrew Dodd <atd7@cornell.edu> | 2012-09-12 21:59:20 -0400 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-27 05:03:16 -0800 |
commit | 7f97eca31f5b822bdb24c4e24da600c5336267b9 (patch) | |
tree | 12268c211e384828e721875a7b0a56849d070821 /res/values/cm_arrays.xml | |
parent | 08733a27c28ef84a6611f04a1fea03a7a915528f (diff) | |
download | packages_apps_Settings-7f97eca31f5b822bdb24c4e24da600c5336267b9.zip packages_apps_Settings-7f97eca31f5b822bdb24c4e24da600c5336267b9.tar.gz packages_apps_Settings-7f97eca31f5b822bdb24c4e24da600c5336267b9.tar.bz2 |
wifi: Allow configuration of country code for wifi (3/3)
Wifi country code handling is a nightmare - Most retail devices
have region customization in /system for each country a device
is shipped to.
This doesn't work very well for a firmware like Cyanogenmod,
where we try to support all target countries with one firmware
package. For whatever reason, with newer Broadcom drivers/
firmware blobs, the old trick of using a universal region code
(ccode=ALL in nvram_net.txt) does not seem to work. Who knows
what the deal is for other wifi chipsets.
The good thing is that wpa_supplicant has a standardized
cross-chipset method for setting the region code, and we
use that here.
Cherry-Pick: http://review.cyanogenmod.org/#/c/54904/
Require: I429326a77649c77ba40b00eb2236de3ca8839e57
Id9f00d3a678642c6c142fd1511af820d729507a7
JIRA: CML-118
Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf
Diffstat (limited to 'res/values/cm_arrays.xml')
-rw-r--r-- | res/values/cm_arrays.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml index 55fe9b0..a08a55a 100644 --- a/res/values/cm_arrays.xml +++ b/res/values/cm_arrays.xml @@ -426,4 +426,34 @@ <item>200</item> </string-array> + <!-- Wi-Fi settings. Presented as a list dialog to the user to choose the Wi-Fi region code. --> + <string-array name="wifi_countrycode_entries"> + <item>United States</item> + <item>Canada, Taiwan</item> + <item>Germany</item> + <item>Europe</item> + <item>Japan, Russia</item> + <item>Australia</item> + <item>China</item> + <item>Korea</item> + <item>South Africa, Turkey</item> + <item>Israel, Singapore</item> + <item>Brazil</item> + <item>India</item> + </string-array> + + <string-array name="wifi_countrycode_values" translatable="false"> + <item>US</item> + <item>CA</item> + <item>DE</item> + <item>GB</item> + <item>JP</item> + <item>AU</item> + <item>CN</item> + <item>KR</item> + <item>TR</item> + <item>SG</item> + <item>BR</item> + <item>IN</item> + </string-array> </resources> |