1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2020 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<resources> 18 <!-- Don't scan for Wifi networks while we are associated to one. 19 Wifi scans can cause network latency spikes, and on Android TV we 20 believe it's rare to have multiple Wifi networks configured whose 21 quality changes over time. --> 22 <bool name="config_wifi_framework_enable_associated_network_selection">false</bool> 23 24 <!-- Enable the Software PNO feature. If Hardware PNO is not enabled, the device is in 25 standby and Wifi is disconnected, periodic scans are performed according to the 26 following schedule: 27 1) config_wifiSwPnoMobilityStateTimerIterations iterations with initial interval provided by 28 the mobility status (see config_wifiMovingPnoScanIntervalMillis and 29 config_wifiStationaryPnoScanIntervalMillis for the default values respectively for moving and 30 stationary devices). At each iteration the interval is increased proportionally to the elapsed 31 iterations. The device is awakened even if currently in doze/idle mode. 32 2) config_wifiSwPnoFastTimerIterations iterations with initial interval provided by 33 config_wifiSwPnoFastTimerMs. The device is awakened even if currently in doze/idle mode. 34 3) config_wifiSwPnoSlowTimerIterations iterations with initial provided by 35 config_wifiSwPnoSlowTimerMs and a window of config_wifiSwPnoSlowTimerMargin. 36 Inside such time window, the device is not awakened to perform the scan. If a wakeup happens for 37 other reasons, the scan might be performed as well in order to avoid subsequent awakening. 38 If no spontaneous awakening happens at the end of the time window, the device is awakened to 39 perform the scan.--> 40 <bool translatable="false" name="config_wifiSwPnoEnabled">true</bool> 41 42 <!-- Boolean indicating performing a partial initial scan is enabled --> 43 <bool translatable="false" name="config_wifiEnablePartialInitialScan">true</bool> 44 45 <!-- Integer for maximum number of channels to use in initial partial scan. If equals to 0, means add all available channels for networks --> 46 <integer translatable="false" name="config_wifiInitialPartialScanChannelMaxCount">4</integer> 47</resources> 48