diff options
author | Nalla Kartheek <karthe@codeaurora.org> | 2016-01-06 12:54:49 +0530 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-07-02 10:54:35 -0700 |
commit | a8731119e0236f2efef76d7c195bf2d36b819105 (patch) | |
tree | 0fdfd8066b136239a27854ecd9c512cbf3e66d6d /core | |
parent | 47ea7c7916fb8bd5e9441e339dbb65d2b36537c6 (diff) | |
download | frameworks_base-a8731119e0236f2efef76d7c195bf2d36b819105.zip frameworks_base-a8731119e0236f2efef76d7c195bf2d36b819105.tar.gz frameworks_base-a8731119e0236f2efef76d7c195bf2d36b819105.tar.bz2 |
Wifi: Make maximum selective channel scans and interval configurable
The change makes max initial scans on selective channels
and initial saved channel scan interval configurable.
Change-Id: I61a9c0b203dca879c1420886d06659a277a7ed99
CRs-Fixed: 909098
Diffstat (limited to 'core')
-rw-r--r-- | core/res/res/values/config.xml | 6 | ||||
-rw-r--r-- | core/res/res/values/symbols.xml | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 882523e..79bf24e 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -504,6 +504,12 @@ <!-- Integer indicating RSSI boost given to current network --> <integer translatable="false" name="config_wifi_framework_current_network_boost">25</integer> + <!-- Integer indicating the number of selective channel scan when Wifi turn on --> + <integer translatable="false" name="config_max_initial_scans_on_selective_channels">2</integer> + + <!-- Integer indicating the interval for selective channel scan when Wifi turn on --> + <integer translatable="false" name="config_initial_saved_channel_scan_interval">2000</integer> + <!-- Integer indicating how to handle beacons with uninitialized RSSI value of 0 --> <integer translatable="false" name="config_wifi_framework_scan_result_rssi_level_patchup_value">-85</integer> diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 92b3b2d..0989e20 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -363,6 +363,8 @@ <java-symbol type="integer" name="config_wifi_framework_max_auth_errors_to_blacklist" /> <java-symbol type="integer" name="config_wifi_framework_network_black_list_min_time_milli" /> <java-symbol type="integer" name="config_wifi_framework_current_network_boost" /> + <java-symbol type="integer" name="config_max_initial_scans_on_selective_channels" /> + <java-symbol type="integer" name="config_initial_saved_channel_scan_interval"/> <java-symbol type="bool" name="config_send_sms1x_on_voice_call" /> <java-symbol type="integer" name="config_bluetooth_max_advertisers" /> <java-symbol type="integer" name="config_bluetooth_max_scan_filters" /> |