summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorVinit Deshpande <vinitd@google.com>2015-09-04 14:59:05 -0700
committerVinit Deshpande <vinitd@google.com>2015-09-04 15:09:35 -0700
commit053ceac044d7fdc834272a3e5ed92f34950cfaa1 (patch)
tree729d078c6bfaf30df2586097a647ffe5cda41f8e /overlay
parent5a2e4b48640615140c434db7e63bca93beff2d31 (diff)
downloadbullhead-053ceac044d7fdc834272a3e5ed92f34950cfaa1.tar.gz
Enable auto-reset of wifi-country code on MCC loss
This change sets ro.boot.wificountrycode in init.rc (based on SKU) and sets config_wifi_revert_country_code_on_cellular_loss to 'true' to allow resetting of country code. bug: 21795172 Change-Id: I20bd3a260b639dba331305c6baa39ffb52e2fd6f
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 49d3ce8..c34a731 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -210,6 +210,10 @@
<!-- Wifi driver supports batched scan -->
<bool translatable="false" name="config_wifi_batched_scan_supported">true</bool>
+ <!-- Boolean indicating whether or not to revert to default country code when cellular
+ radio is unable to find any MCC information to infer wifi country code from -->
+ <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">true</bool>
+
<!-- Configure wifi tcp buffersizes in the form:
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
<string name="config_wifi_tcp_buffers" translatable="false">524288,6291456,8291456,524288,6291456,8291456</string>