From ed4f28b492da3ff140bbaabbbda798a08c40ea5b Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Fri, 29 Oct 2010 15:32:10 -0700 Subject: Set country code in the driver and remove channel set With dual band support, using country code settings is the way to go Bug: 2936741 Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85 --- core/java/android/provider/Settings.java | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'core/java/android/provider') diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index ee53828..2229964 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -1199,12 +1199,6 @@ public final class Settings { */ public static final String WIFI_STATIC_DNS2 = "wifi_static_dns2"; - /** - * The number of radio channels that are allowed in the local - * 802.11 regulatory domain. - * @hide - */ - public static final String WIFI_NUM_ALLOWED_CHANNELS = "wifi_num_allowed_channels"; /** * Determines whether remote devices may discover and/or connect to @@ -2701,11 +2695,11 @@ public final class Settings { "wifi_networks_available_repeat_delay"; /** - * The number of radio channels that are allowed in the local - * 802.11 regulatory domain. + * 802.11 country code in ISO 3166 format * @hide */ - public static final String WIFI_NUM_ALLOWED_CHANNELS = "wifi_num_allowed_channels"; + public static final String WIFI_COUNTRY_CODE = "wifi_country_code"; + /** * When the number of open networks exceeds this number, the @@ -3638,7 +3632,7 @@ public final class Settings { TTS_ENABLED_PLUGINS, WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY, - WIFI_NUM_ALLOWED_CHANNELS, + WIFI_COUNTRY_CODE, WIFI_NUM_OPEN_NETWORKS_KEPT, MOUNT_PLAY_NOTIFICATION_SND, MOUNT_UMS_AUTOSTART, -- cgit v1.1