blob: 43d4a03c55a87b882eeddeb8ff883c74a9a47352 [file] [log] [blame]
Roshan Pius497d9fc2019-10-30 06:52:20 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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<!-- These resources are around just to allow their values to be customized
18 for different hardware and product builds. Do not translate.
19
20 NOTE: The naming convention is "config_camelCaseValue". Some legacy
21 entries do not follow the convention, but all new entries should. -->
22
23<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
Ahmed ElArabawy6921b852019-12-09 16:20:49 -080024 <!-- boolean indicating whether the WiFi chipset has 5GHz band support.
25 Note: This config is replacing the config_wifi_dual_band_support
26 since more bands may now be supported (such as 6GHz), the naming dual_band
27 is no longer indicative, and a separate config now exists for each band -->
28 <bool translatable="false" name ="config_wifi5ghzSupport">false</bool>
29
30 <!-- boolean indicating whether the WiFi chipset has 6GHz band support -->
31 <bool translatable="false" name ="config_wifi6ghzSupport">false</bool>
Roshan Pius497d9fc2019-10-30 06:52:20 -070032
Ahmed ElArabawy6a44f642020-01-16 19:10:45 -080033 <!-- Indicates that 11ax mode is supported on this device
34 Note that if this flag is set to true, then 11ax is assumed to be supported.
35 However, if it is left to the default value of false, the 11ax support will
36 be checked via NL80211 interface -->
37 <bool translatable="false" name="config_wifi11axSupportOverride">false</bool>
38
Roshan Pius497d9fc2019-10-30 06:52:20 -070039 <!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
40 <bool translatable="false" name="config_wifi_fast_bss_transition_enabled">false</bool>
41
42 <!-- Device type information conforming to Annex B format in WiFi Direct specification.
43 The default represents a dual-mode smartphone -->
44 <string translatable="false" name="config_wifi_p2p_device_type">10-0050F204-5</string>
45
46 <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
47 This mechanism allows the host to remain in suspend state and the dongle to actively
48 scan and wake the host when a configured SSID is detected by the dongle. This chipset
49 capability can provide power savings when wifi needs to be always kept on. -->
50 <bool translatable="false" name="config_wifi_background_scan_support">false</bool>
51
Roshan Pius497d9fc2019-10-30 06:52:20 -070052 <!-- Boolean indicating whether or not to revert to default country code when cellular
53 radio is unable to find any MCC information to infer wifi country code from -->
54 <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool>
55
56 <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in default logging mode -->
57 <integer translatable="false" name="config_wifi_logger_ring_buffer_default_size_limit_kb">32</integer>
58
59 <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in verbose logging mode -->
60 <integer translatable="false" name="config_wifi_logger_ring_buffer_verbose_size_limit_kb">1024</integer>
61
62 <!-- Array indicating wifi fatal firmware alert error code list from driver -->
63 <integer-array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list">
64 <!-- Example:
65 <item>0</item>
66 <item>1</item>
67 <item>2</item>
68 -->
69 </integer-array>
70
71 <!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
72 <bool translatable="false" name="config_wifi_turn_off_during_emergency_call">false</bool>
73
Michael Plassee541ac2019-12-18 15:12:40 -080074 <!-- Parameters for controlling network selection by the framework -->
75
76 <!-- The ratio of the next two parameters is the multiplier that converts the estimated
77 throughput in Mbps to score points. -->
78 <integer translatable="false" name="config_wifiFrameworkThroughputBonusNumerator">120</integer>
79 <integer translatable="false" name="config_wifiFrameworkThroughputBonusDenominator">433</integer>
80
81 <!-- Maximum contribution (in score points) due to the estimated throughput. -->
Kai Shib1d46972020-02-06 10:03:12 -080082 <integer translatable="false" name="config_wifiFrameworkThroughputBonusLimit">320</integer>
Michael Plassee541ac2019-12-18 15:12:40 -080083
84 <!-- The default values chosen here establish four non-overlapping categories:
85 saved, unmetered
86 unsaved, unmetered
87 saved, metered
88 unsaved, metered
89 These values can be reduced to allow overlapping between categories. -->
90 <integer translatable="false" name="config_wifiFrameworkSavedNetworkBonus">500</integer>
91 <integer translatable="false" name="config_wifiFrameworkUnmeteredNetworkBonus">1000</integer>
92
93 <integer translatable="false" name="config_wifiFrameworkCurrentNetworkBonus">20</integer>
94 <integer translatable="false" name="config_wifiFrameworkSecureNetworkBonus">10</integer>
95
Michael Plass0588d962020-03-16 13:36:23 -070096 <!-- The duration in minutes to strongly favor the last-selected network over other options. -->
97 <integer translatable="false" name="config_wifiFrameworkLastSelectionMinutes">480</integer>
Michael Plassee541ac2019-12-18 15:12:40 -080098
Kai Shi50148c42019-11-25 18:10:54 -080099 <!-- Integer specifying the min packet Tx/Rx rates in packets per second to be considered
100 active traffic so that network selection and scan could be skipped-->
101 <integer translatable="false" name="config_wifiFrameworkMinPacketPerSecondActiveTraffic">16</integer>
102 <!-- Integer specifying the min packet Tx/Rx rates in packets per second to be considered
103 high traffic so that the device should stay on WiFi even if RSSI is very low -->
104 <integer translatable="false" name="config_wifiFrameworkMinPacketPerSecondHighTraffic">100</integer>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700105 <!-- Integer parameters of the wifi to cellular handover feature
106 wifi should not stick to bad networks -->
107 <!-- Integer threshold for low network score, should be somewhat less than the entry threshhold -->
108 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer>
109 <!-- Integer threshold, do not connect to APs with RSSI lower than the entry threshold -->
110 <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer>
111 <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-70</integer>
112 <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz">-57</integer>
113 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer>
114 <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer>
115 <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-73</integer>
116 <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz">-60</integer>
Ahmed ElArabawy7eaa40d2019-11-25 11:58:51 -0800117 <integer translatable="false" name="config_wifiFrameworkScoreBadRssiThreshold6ghz">-80</integer>
118 <integer translatable="false" name="config_wifiFrameworkScoreEntryRssiThreshold6ghz">-77</integer>
119 <integer translatable="false" name="config_wifiFrameworkScoreLowRssiThreshold6ghz">-70</integer>
120 <integer translatable="false" name="config_wifiFrameworkScoreGoodRssiThreshold6ghz">-57</integer>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700121
122 <!-- Integer delay in milliseconds before shutting down soft AP when there
lesl06660192019-12-27 17:53:49 +0800123 are no connected devices. -->
124 <integer translatable="false" name="config_wifiFrameworkSoftApShutDownTimeoutMilliseconds">600000</integer>
125
Roshan Pius497d9fc2019-10-30 06:52:20 -0700126
lesl9859a4b2019-12-12 17:24:32 +0800127 <!-- Integer indicating maximum hardware supported client number of soft ap -->
Ahmed ElArabawyd48bb292020-01-02 09:23:00 -0800128 <integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">16</integer>
lesl9859a4b2019-12-12 17:24:32 +0800129
Roshan Pius497d9fc2019-10-30 06:52:20 -0700130 <string translatable="false" name="config_wifi_random_mac_oui">DA-A1-19</string>
Ahmed ElArabawy3e7b68d2019-12-20 21:26:52 -0800131
132 <!-- List of allowed channels in 2GHz band for softap. If the device doesn't want to restrict
133 channels this should be empty. Values is a comma separated channel string and/or channel
134 range string like '1-6,11'. -->
Ahmed ElArabawyf8f3cee2020-01-24 16:07:47 -0800135 <string translatable="false" name="config_wifiSoftap2gChannelList">1-11</string>
Ahmed ElArabawy3e7b68d2019-12-20 21:26:52 -0800136
137 <!-- List of allowed channels in 5GHz band for softap. If the device doesn't want to restrict
138 channels this should be empty. Values is a comma separated channel string and/or channel
139 range string like '36-48,149'. -->
140 <string translatable="false" name="config_wifiSoftap5gChannelList"></string>
141
142 <!-- List of allowed channels in 6GHz band for softap. If the device doesn't want to restrict
143 channels this should be empty. Values is a comma separated channel string and/or channel
144 range string like '36-48,149'. -->
145 <string translatable="false" name="config_wifiSoftap6gChannelList"></string>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700146
Roshan Pius497d9fc2019-10-30 06:52:20 -0700147 <!-- Integer indicating associated full scan max num active channels -->
148 <integer translatable="false" name="config_wifi_framework_associated_partial_scan_max_num_active_channels">6</integer>
149
Roshan Pius497d9fc2019-10-30 06:52:20 -0700150 <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery -->
151 <integer translatable="false" name="config_wifi_framework_recovery_timeout_delay">2000</integer>
152
Roshan Pius497d9fc2019-10-30 06:52:20 -0700153 <!-- Boolean indicating associated network selection is allowed -->
154 <bool translatable="false" name="config_wifi_framework_enable_associated_network_selection">true</bool>
155
Michael Plassab37e882020-02-19 10:31:56 -0800156 <!-- Integer duration after connection that a user-selected network is considered sufficient (milliseconds) -->
157 <integer translatable="false" name="config_wifiSufficientDurationAfterUserSelectionMilliseconds">60000</integer>
158
Ahmed ElArabawy670ff072020-01-22 02:00:57 -0800159 <!-- Boolean indicating performing a partial initial scan is enabled -->
160 <bool translatable="false" name="config_wifiEnablePartialInitialScan">false</bool>
161
Nate Jiang02c42a32020-04-01 16:54:48 -0700162 <!-- Integer for maximum number of channels to use in initial partial scan. If equals to 0, means add all available channels for networks -->
Ahmed ElArabawy670ff072020-01-22 02:00:57 -0800163 <integer translatable="false" name="config_wifiInitialPartialScanChannelMaxCount">10</integer>
164
165 <!-- Integer for maximum age for scan results used to identify channels for partial initial
166 scan in minutes -->
167 <integer translatable="false" name="config_wifiInitialPartialScanChannelCacheAgeMins">14400</integer>
168
Roshan Pius497d9fc2019-10-30 06:52:20 -0700169 <!-- Boolean indicating whether single radio chain scan results are to be used for network selection -->
170 <bool translatable="false" name="config_wifi_framework_use_single_radio_chain_scan_results_network_selection">true</bool>
171
172 <!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) -->
173 <bool translatable="false" name="config_wifi_only_link_same_credential_configurations">true</bool>
174
175 <!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements -->
176 <bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">false</bool>
177
178 <!-- Boolean indicating whether framework should use detection of softAP mode to set the tx
179 power limit for meeting SAR requirements -->
180 <bool translatable="false" name="config_wifi_framework_enable_soft_ap_sar_tx_power_limit">false</bool>
181
lesl55d0d5e2019-12-24 00:03:53 +0800182 <!-- Wifi Hal supports force client disconnect for softap -->
Ahmed ElArabawyd48bb292020-01-02 09:23:00 -0800183 <bool translatable="false" name="config_wifiSofapClientForceDisconnectSupported">true</bool>
lesl55d0d5e2019-12-24 00:03:53 +0800184
Roshan Pius497d9fc2019-10-30 06:52:20 -0700185 <!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
186 <bool translatable="false" name="config_wifi_softap_acs_supported">false</bool>
187
lesl7a96efb2019-12-27 18:27:56 +0800188 <!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
189 <bool translatable="false" name="config_wifi_softap_sae_supported">false</bool>
190
Roshan Pius497d9fc2019-10-30 06:52:20 -0700191 <!-- Wifi driver supports IEEE80211AC for softap -->
192 <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">false</bool>
193
Ahmed ElArabawy12e7eec2019-12-06 23:39:50 -0800194 <!-- Wifi driver supports IEEE80211AX for softap -->
195 <bool translatable="false" name="config_wifiSoftapIeee80211axSupported">false</bool>
196
Ahmed ElArabawy2fd701c2020-01-02 14:18:38 -0800197 <!-- Wifi driver supports IEEE80211AX single user beamformer for softap -->
198 <bool translatable="false" name="config_wifiSoftapHeSuBeamformerSupported">false</bool>
199
200 <!-- Wifi driver supports IEEE80211AX single user beamformee for softap -->
201 <bool translatable="false" name="config_wifiSoftapHeSuBeamformeeSupported">false</bool>
202
203 <!-- Wifi driver supports IEEE80211AX multiple user beamformer for softap -->
204 <bool translatable="false" name="config_wifiSoftapHeMuBeamformerSupported">false</bool>
205
Ahmed ElArabawy2fd701c2020-01-02 14:18:38 -0800206 <!-- Wifi driver supports IEEE80211AX TWT (Target Wake Time) for softap -->
207 <bool translatable="false" name="config_wifiSoftapHeTwtSupported">false</bool>
208
Ahmed ElArabawy12e7eec2019-12-06 23:39:50 -0800209 <!-- Wifi driver supports 6GHz band for softap -->
210 <bool translatable="false" name="config_wifiSoftap6ghzSupported">false</bool>
211
Roshan Pius497d9fc2019-10-30 06:52:20 -0700212 <!-- Indicates that local-only hotspot should be brought up at 5GHz. This option is
213 for automotive builds only (the one that have PackageManager#FEATURE_AUTOMOTIVE) -->
214 <bool translatable="false" name="config_wifi_local_only_hotspot_5ghz">false</bool>
215
216 <!-- Indicates that connected MAC randomization is supported on this device -->
217 <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">false</bool>
218
219 <!-- Indicates that p2p MAC randomization is supported on this device -->
220 <bool translatable="false" name="config_wifi_p2p_mac_randomization_supported">false</bool>
221
222 <!-- Indicates that AP mode MAC randomization is supported on this device -->
223 <bool translatable="false" name="config_wifi_ap_mac_randomization_supported">true</bool>
224
xshu897cb2d2019-12-05 13:37:35 -0800225 <!-- list of SSIDs to enable aggressive MAC randomization on -->
226 <string-array translatable="false" name="config_wifi_aggressive_randomization_ssid_allowlist">
227 <!-- SSIDs are expected in quoted format:
228 <item>\"SSID_1\"</item>
229 <item>\"SSID_2\"</item>
230 -->
231 </string-array>
232
233 <!-- list of SSIDs to disable aggressive MAC randomization on. If a SSID is in both the
234 allowlist and blocklist, then aggressive MAC randomization will still be disabled. -->
235 <string-array translatable="false" name="config_wifi_aggressive_randomization_ssid_blocklist">
236 <!-- SSIDs are expected in quoted format:
237 <item>\"SSID_1\"</item>
238 <item>\"SSID_2\"</item>
239 -->
240 </string-array>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700241
242 <!-- Indicates that wifi link probing is supported on this device -->
243 <bool translatable="false" name="config_wifi_link_probing_supported">false</bool>
244
245 <!-- Configure wifi tcp buffersizes in the form:
246 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
247 <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string>
248
249 <!-- Do not translate. Default access point SSID used for tethering -->
250 <string name="wifi_tether_configure_ssid_default" translatable="false">AndroidAP</string>
251 <!-- Do not translate. Default access point SSID used for local only hotspot -->
252 <string name="wifi_localhotspot_configure_ssid_default" translatable="false">AndroidShare</string>
253
Roshan Pius77f8ce92019-11-12 12:36:48 -0800254 <!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds -->
255 <bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">false</bool>
Roger Wang27002072019-11-18 18:36:18 +0800256
257 <!-- Indicates that wifi watchdog is enabled on this device -->
258 <bool translatable="false" name="config_wifi_watchdog_enabled">true</bool>
David Su715d8422019-11-18 12:38:29 -0800259
260 <!--
261 Controls the mapping between RSSI and RSSI levels.
262
263 RSSI RSSI Level
264 (-infinity, thresholds[0]) 0
265 [threshold[0], threshold[1]) 1
266 [threshold[1], threshold[2]) 2
267 ... ...
268 [threshold[len-2], threshold[len-1]) len-1
269 [threshold[len-1], +infinity) len
270
271 where:
272 [a, b) is the range of integers `n` such that a <= n < b
273 `threshold[i]` represents the i'th element of the config_wifiRssiLevelThresholds array
274 and `len` is the length of the config_wifiRssiLevelThresholds array.
275 -->
276 <integer-array translatable="false" name="config_wifiRssiLevelThresholds">
277 <!-- RSSI RSSI Level -->
278 <item>-88</item> <!-- (-infinity, -88) 0 -->
279 <item>-77</item> <!-- [-88, -77) 1 -->
280 <item>-66</item> <!-- [-77, -66) 2 -->
281 <item>-55</item> <!-- [-66, -55) 3 -->
282 <!-- [-55, +infinity) 4 -->
283 </integer-array>
Ahmed ElArabawy38d561f2019-11-20 13:07:26 -0800284
285 <!-- Array describing scanning schedule in seconds when device is disconnected and screen is on -->
286 <integer-array translatable="false" name="config_wifiDisconnectedScanIntervalScheduleSec">
287 <item>20</item>
288 <item>40</item>
289 <item>80</item>
290 <item>160</item>
291 </integer-array>
292
293 <!-- Array describing scanning schedule in seconds when device is connected and screen is on -->
294 <integer-array translatable="false" name="config_wifiConnectedScanIntervalScheduleSec">
295 <item>20</item>
296 <item>40</item>
297 <item>80</item>
298 <item>160</item>
299 </integer-array>
Ahmed ElArabawyca845b42019-11-20 17:44:17 -0800300
Kai Shifbc5d8c2020-03-05 10:22:12 -0800301 <!-- Integer for minimum time between the last network selection and next high RSSI scan
302 in seconds when device is connected and screen is on -->
303 <integer translatable="false" name="config_wifiConnectedHighRssiScanMinimumWindowSizeSec"> 600 </integer>
304
Ahmed ElArabawy3bfce1a2020-01-21 12:08:09 -0800305 <!-- Array describing scanning schedule in seconds when device is connected and screen is on
306 and the connected network is the only saved network.
307 When this array is set to an empty array, the noraml connected scan schedule defined
308 in config_wifiConnectedScanIntervalScheduleSec will be used -->
309 <integer-array translatable="false" name="config_wifiSingleSavedNetworkConnectedScanIntervalScheduleSec">
310 </integer-array>
311
xshu91df7982020-01-21 17:27:06 -0800312 <!-- List of constants that indicate the number of consecutive failures per type needed to block a BSSID.
313 A blocked BSSID will not be considered in network selection and firmware roaming.-->
314 <integer translatable="false" name="config_wifiBssidBlocklistMonitorApUnableToHandleNewStaThreshold"> 1 </integer>
315 <integer translatable="false" name="config_wifiBssidBlocklistMonitorNetworkValidationFailureThreshold"> 1 </integer>
316 <integer translatable="false" name="config_wifiBssidBlocklistMonitorWrongPasswordThreshold"> 1 </integer>
317 <integer translatable="false" name="config_wifiBssidBlocklistMonitorEapFailureThreshold"> 1 </integer>
318 <integer translatable="false" name="config_wifiBssidBlocklistMonitorAssociationRejectionThreshold"> 3 </integer>
319 <integer translatable="false" name="config_wifiBssidBlocklistMonitorAssociationTimeoutThreshold"> 3 </integer>
320 <integer translatable="false" name="config_wifiBssidBlocklistMonitorAuthenticationFailureThreshold"> 3 </integer>
321 <integer translatable="false" name="config_wifiBssidBlocklistMonitorDhcpFailureThreshold"> 3 </integer>
322 <integer translatable="false" name="config_wifiBssidBlocklistMonitorAbnormalDisconnectThreshold"> 3 </integer>
323
324 <!-- Base duration to block a BSSID after consecutive failures happen. (default = 5 mins)
325 The blocklist duration is increased exponentially for a BSSID that consecutively gets added to the blocklist.
xshu0c3faa42020-02-03 17:50:34 -0800326 ie. 5/10/20/40/80/160/320/640 minutes - capped at 640 minutes because the default for
327 config_wifiBssidBlocklistMonitorFailureStreakCap is set to 7-->
xshu91df7982020-01-21 17:27:06 -0800328 <integer translatable="false" name="config_wifiBssidBlocklistMonitorBaseBlockDurationMs"> 300000 </integer>
329
xshu0c3faa42020-02-03 17:50:34 -0800330 <!-- Base block duration for a failure at low RSSI (less than the sufficient RSSI) used for
331 ASSOCIATION_TIMEOUT, ABNORMAL_DISCONNECT, and NETWORK_VALIDATION failures. The block duration
332 for a BSSID that keeps failing will grow exponentially to the this base duration.
333 ie. 0.5/1/2/4/8/16/32/64 minutes - capped at 64 minutes because the default for
334 config_wifiBssidBlocklistMonitorFailureStreakCap is set to 7.
335 This value should be configured to be less than config_wifiBssidBlocklistMonitorBaseBlockDurationMs -->
336 <integer translatable="false" name="config_wifiBssidBlocklistMonitorBaseLowRssiBlockDurationMs"> 30000 </integer>
337
xshu91df7982020-01-21 17:27:06 -0800338 <!-- The failure streak is the number of times a BSSID consecutively gets blocked without ever
339 successfully connecting in between, and is used to calculate the exponentially growing blocklist time.
xshu0c3faa42020-02-03 17:50:34 -0800340 The config_wifiBssidBlocklistMonitorFailureStreakCap controls how many times the block duration
341 could exponentially grow when a BSSID keeps failing.
342 ie. A value of 0 means BSSIDs are always blocked for the flat base duration defined by
343 config_wifiBssidBlocklistMonitorBaseBlockDurationMs and config_wifiBssidBlocklistMonitorBaseLowRssiBlockDurationMs. -->
xshu91df7982020-01-21 17:27:06 -0800344 <integer translatable="false" name="config_wifiBssidBlocklistMonitorFailureStreakCap"> 7 </integer>
345
xshu91df7982020-01-21 17:27:06 -0800346 <!-- If a non-locally generated disconnect happens within this time window after association,
347 then count it as a failure with reason code REASON_ABNORMAL_DISCONNECT (default = 30 seconds) -->
348 <integer translatable="false" name="config_wifiBssidBlocklistAbnormalDisconnectTimeWindowMs"> 30000 </integer>
349
Ahmed ElArabawyca845b42019-11-20 17:44:17 -0800350 <!-- Indicates that hidden networks are to be scanned during scan only mode -->
351 <bool translatable="false" name="config_wifiScanHiddenNetworksScanOnlyMode">false</bool>
Roshan Pius35ef0e12020-01-15 06:17:11 -0800352
353 <!-- Enable logging WifiIsUnusableEvent in metrics which gets triggered when wifi becomes unusable. -->
354 <bool translatable="false" name="config_wifiIsUnusableEventMetricsEnabled">true</bool>
355
356 <!-- The minimum number of txBad the framework has to observe to trigger a wifi data stall. -->
357 <integer translatable="false" name="config_wifiDataStallMinTxBad">1</integer>
358
359 <!-- The minimum number of txSuccess the framework has to observe
360 to trigger a wifi data stall when rxSuccess is 0. -->
361 <integer translatable="false" name="config_wifiDataStallMinTxSuccessWithoutRx">50</integer>
362
363 <!-- Enable logging Wifi LinkSpeedCounts in metrics. -->
364 <bool translatable="false" name="config_wifiLinkSpeedMetricsEnabled">true</bool>
365
366 <!-- Enable the PNO frequency culling optimization. -->
367 <bool translatable="false" name="config_wifiPnoFrequencyCullingEnabled">true</bool>
368
369 <!-- Enable the PNO frequency culling optimization. -->
370 <bool translatable="false" name="config_wifiPnoRecencySortingEnabled">true</bool>
371
Nate Jiang557f76b2020-03-13 17:52:41 -0700372 <!-- Maximum number of SSIDs that can be PNO scanned concurrently-->
373 <integer translatable="false" name="config_wifiMaxPnoSsidCount">16</integer>
374
Roshan Pius35ef0e12020-01-15 06:17:11 -0800375 <!-- Suspend optimization. -->
376 <bool translatable="false" name="config_wifiSuspendOptimizationsEnabled">true</bool>
377
xshu20f200f2020-01-28 16:44:23 -0800378 <!-- Network selection optimization at DEVICE_MOBILITY_STATE_HIGH_MVMT -->
xshu560f74b2020-02-19 16:42:36 -0800379 <bool translatable="false" name="config_wifiHighMovementNetworkSelectionOptimizationEnabled">true</bool>
xshu20f200f2020-01-28 16:44:23 -0800380
381 <!-- Duration for the delayed scan used to verify access points are staying relatively stationary
382 to the device at high mobility state. (default = 10 seconds) -->
383 <integer translatable="false" name="config_wifiHighMovementNetworkSelectionOptimizationScanDelayMs">10000</integer>
384
385 <!-- When config_wifiHighMovementNetworkSelectionOptimizationEnabled is true, BSSIDs with RSSI
386 from 2 consecutive scans that differ in either direction by more than this threshold will be
387 filtered out from network selection. (default = 10 dBs) -->
388 <integer translatable="false" name="config_wifiHighMovementNetworkSelectionOptimizationRssiDelta">10</integer>
389
Roshan Pius35ef0e12020-01-15 06:17:11 -0800390 <!-- The interval in milliseconds at which wifi rtt ranging requests will be throttled when
391 they are coming from the background apps (default = 30 mins). -->
392 <integer translatable="false" name="config_wifiRttBackgroundExecGapMs">1800000</integer>
Mingguang Xu4edbf442020-01-07 14:32:08 -0800393
394 <!-- Integer indicating the RSSI and link layer stats polling interval in milliseconds when device is connected and screen is on -->
395 <integer translatable="false" name="config_wifiPollRssiIntervalMilliseconds">3000</integer>
Hai Shalombd48cfe2020-01-21 11:55:47 -0800396
397 <!-- Enable WPA2 to WPA3 auto-upgrade -->
398 <bool translatable="false" name="config_wifiSaeUpgradeEnabled">true</bool>
399
400 <!-- Enable WPA2 to WPA3 auto-upgrade offload to capable Driver/Firmware -->
401 <bool translatable="false" name="config_wifiSaeUpgradeOffloadEnabled">false</bool>
Roshan Pius11c234c2020-04-08 09:09:37 -0700402
403 <!-- Number of self recoveries to be attempted per hour. Any fatal errors beyond this will
404 cause the wifi stack to turn wifi off and wait for user input.
405 Set to 0 to turn off recovery attempts and always turn off wifi on failures -->
406 <integer translatable="false" name="config_wifiMaxNativeFailureSelfRecoveryPerHour">2</integer>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700407</resources>