blob: 29cd6345673a036d0245e670c2f6c32b6a17de24 [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
33 <!-- Maximum number of concurrent WiFi interfaces in AP mode -->
34 <integer translatable="false" name="config_wifi_max_ap_interfaces">1</integer>
35
36 <!-- Boolean indicating whether the wifi chipset requires the softap band be -->
37 <!-- converted from 5GHz to ANY due to hardware restrictions -->
38 <bool translatable="false" name="config_wifi_convert_apband_5ghz_to_any">false</bool>
39
40 <!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
41 <bool translatable="false" name="config_wifi_fast_bss_transition_enabled">false</bool>
42
43 <!-- Device type information conforming to Annex B format in WiFi Direct specification.
44 The default represents a dual-mode smartphone -->
45 <string translatable="false" name="config_wifi_p2p_device_type">10-0050F204-5</string>
46
47 <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
48 This mechanism allows the host to remain in suspend state and the dongle to actively
49 scan and wake the host when a configured SSID is detected by the dongle. This chipset
50 capability can provide power savings when wifi needs to be always kept on. -->
51 <bool translatable="false" name="config_wifi_background_scan_support">false</bool>
52
Roshan Pius497d9fc2019-10-30 06:52:20 -070053 <!-- Boolean indicating whether or not to revert to default country code when cellular
54 radio is unable to find any MCC information to infer wifi country code from -->
55 <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool>
56
57 <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in default logging mode -->
58 <integer translatable="false" name="config_wifi_logger_ring_buffer_default_size_limit_kb">32</integer>
59
60 <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in verbose logging mode -->
61 <integer translatable="false" name="config_wifi_logger_ring_buffer_verbose_size_limit_kb">1024</integer>
62
63 <!-- Array indicating wifi fatal firmware alert error code list from driver -->
64 <integer-array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list">
65 <!-- Example:
66 <item>0</item>
67 <item>1</item>
68 <item>2</item>
69 -->
70 </integer-array>
71
72 <!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
73 <bool translatable="false" name="config_wifi_turn_off_during_emergency_call">false</bool>
74
Michael Plassee541ac2019-12-18 15:12:40 -080075 <!-- Parameters for controlling network selection by the framework -->
76
77 <!-- The ratio of the next two parameters is the multiplier that converts the estimated
78 throughput in Mbps to score points. -->
79 <integer translatable="false" name="config_wifiFrameworkThroughputBonusNumerator">120</integer>
80 <integer translatable="false" name="config_wifiFrameworkThroughputBonusDenominator">433</integer>
81
82 <!-- Maximum contribution (in score points) due to the estimated throughput. -->
83 <integer translatable="false" name="config_wifiFrameworkThroughputBonusLimit">200</integer>
84
85 <!-- The default values chosen here establish four non-overlapping categories:
86 saved, unmetered
87 unsaved, unmetered
88 saved, metered
89 unsaved, metered
90 These values can be reduced to allow overlapping between categories. -->
91 <integer translatable="false" name="config_wifiFrameworkSavedNetworkBonus">500</integer>
92 <integer translatable="false" name="config_wifiFrameworkUnmeteredNetworkBonus">1000</integer>
93
94 <integer translatable="false" name="config_wifiFrameworkCurrentNetworkBonus">20</integer>
95 <integer translatable="false" name="config_wifiFrameworkSecureNetworkBonus">10</integer>
96
97 <!-- The bonus for the last-selected network starts out very large to override the category
98 boundaries. -->
99 <integer translatable="false" name="config_wifiFrameworkLastSelectionBonus">1999</integer>
100
Kai Shi50148c42019-11-25 18:10:54 -0800101 <!-- Integer specifying the min packet Tx/Rx rates in packets per second to be considered
102 active traffic so that network selection and scan could be skipped-->
103 <integer translatable="false" name="config_wifiFrameworkMinPacketPerSecondActiveTraffic">16</integer>
104 <!-- Integer specifying the min packet Tx/Rx rates in packets per second to be considered
105 high traffic so that the device should stay on WiFi even if RSSI is very low -->
106 <integer translatable="false" name="config_wifiFrameworkMinPacketPerSecondHighTraffic">100</integer>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700107 <!-- Integer parameters of the wifi to cellular handover feature
108 wifi should not stick to bad networks -->
109 <!-- Integer threshold for low network score, should be somewhat less than the entry threshhold -->
110 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer>
111 <!-- Integer threshold, do not connect to APs with RSSI lower than the entry threshold -->
112 <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer>
113 <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-70</integer>
114 <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz">-57</integer>
115 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer>
116 <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer>
117 <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-73</integer>
118 <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz">-60</integer>
Ahmed ElArabawy7eaa40d2019-11-25 11:58:51 -0800119 <integer translatable="false" name="config_wifiFrameworkScoreBadRssiThreshold6ghz">-80</integer>
120 <integer translatable="false" name="config_wifiFrameworkScoreEntryRssiThreshold6ghz">-77</integer>
121 <integer translatable="false" name="config_wifiFrameworkScoreLowRssiThreshold6ghz">-70</integer>
122 <integer translatable="false" name="config_wifiFrameworkScoreGoodRssiThreshold6ghz">-57</integer>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700123
124 <!-- Integer delay in milliseconds before shutting down soft AP when there
125 are no connected devices. Framework will enforce a minimum limit on
126 this value and this setting will be overridden if the provided value is
127 smaller than the limit. -->
128 <integer translatable="false" name="config_wifi_framework_soft_ap_timeout_delay">600000</integer>
129
lesl9859a4b2019-12-12 17:24:32 +0800130 <!-- Integer indicating maximum hardware supported client number of soft ap -->
131 <integer translatable="false" name="config_wifi_hardware_soft_ap_max_client_count">16</integer>
132
Roshan Pius497d9fc2019-10-30 06:52:20 -0700133 <string translatable="false" name="config_wifi_random_mac_oui">DA-A1-19</string>
134 <string translatable="false" name="config_wifi_framework_sap_2G_channel_list">1,6,11</string>
135
Roshan Pius497d9fc2019-10-30 06:52:20 -0700136 <!-- Integer indicating associated full scan max num active channels -->
137 <integer translatable="false" name="config_wifi_framework_associated_partial_scan_max_num_active_channels">6</integer>
138
Roshan Pius497d9fc2019-10-30 06:52:20 -0700139 <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery -->
140 <integer translatable="false" name="config_wifi_framework_recovery_timeout_delay">2000</integer>
141
Roshan Pius497d9fc2019-10-30 06:52:20 -0700142 <!-- Boolean indicating associated network selection is allowed -->
143 <bool translatable="false" name="config_wifi_framework_enable_associated_network_selection">true</bool>
144
145 <!-- Boolean indicating whether single radio chain scan results are to be used for network selection -->
146 <bool translatable="false" name="config_wifi_framework_use_single_radio_chain_scan_results_network_selection">true</bool>
147
148 <!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) -->
149 <bool translatable="false" name="config_wifi_only_link_same_credential_configurations">true</bool>
150
151 <!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements -->
152 <bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">false</bool>
153
154 <!-- Boolean indicating whether framework should use detection of softAP mode to set the tx
155 power limit for meeting SAR requirements -->
156 <bool translatable="false" name="config_wifi_framework_enable_soft_ap_sar_tx_power_limit">false</bool>
157
lesl55d0d5e2019-12-24 00:03:53 +0800158 <!-- Wifi Hal supports force client disconnect for softap -->
159 <bool translatable="false" name="config_wifi_sofap_client_force_disconnect_supported">true</bool>
160
Roshan Pius497d9fc2019-10-30 06:52:20 -0700161 <!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
162 <bool translatable="false" name="config_wifi_softap_acs_supported">false</bool>
163
164 <!-- Channel list restriction to Automatic channel selection (ACS) for softap. If the device
165 doesn't want to restrict channels this should be empty. Value is a comma separated channel
166 string and/or channel range string like '1-6,11' -->
167 <string translatable="false" name="config_wifi_softap_acs_supported_channel_list"></string>
168
169 <!-- Wifi driver supports IEEE80211AC for softap -->
170 <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">false</bool>
171
Ahmed ElArabawy12e7eec2019-12-06 23:39:50 -0800172 <!-- Wifi driver supports IEEE80211AX for softap -->
173 <bool translatable="false" name="config_wifiSoftapIeee80211axSupported">false</bool>
174
175 <!-- Wifi driver supports 6GHz band for softap -->
176 <bool translatable="false" name="config_wifiSoftap6ghzSupported">false</bool>
177
Roshan Pius497d9fc2019-10-30 06:52:20 -0700178 <!-- Indicates that local-only hotspot should be brought up at 5GHz. This option is
179 for automotive builds only (the one that have PackageManager#FEATURE_AUTOMOTIVE) -->
180 <bool translatable="false" name="config_wifi_local_only_hotspot_5ghz">false</bool>
181
182 <!-- Indicates that connected MAC randomization is supported on this device -->
183 <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">false</bool>
184
185 <!-- Indicates that p2p MAC randomization is supported on this device -->
186 <bool translatable="false" name="config_wifi_p2p_mac_randomization_supported">false</bool>
187
188 <!-- Indicates that AP mode MAC randomization is supported on this device -->
189 <bool translatable="false" name="config_wifi_ap_mac_randomization_supported">true</bool>
190
xshu897cb2d2019-12-05 13:37:35 -0800191 <!-- list of SSIDs to enable aggressive MAC randomization on -->
192 <string-array translatable="false" name="config_wifi_aggressive_randomization_ssid_allowlist">
193 <!-- SSIDs are expected in quoted format:
194 <item>\"SSID_1\"</item>
195 <item>\"SSID_2\"</item>
196 -->
197 </string-array>
198
199 <!-- list of SSIDs to disable aggressive MAC randomization on. If a SSID is in both the
200 allowlist and blocklist, then aggressive MAC randomization will still be disabled. -->
201 <string-array translatable="false" name="config_wifi_aggressive_randomization_ssid_blocklist">
202 <!-- SSIDs are expected in quoted format:
203 <item>\"SSID_1\"</item>
204 <item>\"SSID_2\"</item>
205 -->
206 </string-array>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700207
208 <!-- Indicates that wifi link probing is supported on this device -->
209 <bool translatable="false" name="config_wifi_link_probing_supported">false</bool>
210
Kai Shi6ff1d982019-11-13 20:40:01 -0800211 <!-- Indicates that 11ax mode is supported on this device -->
212 <bool translatable="false" name="config_wifi_11ax_supported">false</bool>
213
214 <!-- Indicates that contiguous 160MHz mode is supported on this device -->
215 <bool translatable="false" name="config_wifi_contiguous_160mhz_supported">false</bool>
216
217 <!-- Integer indicating the max number of spatial streams supported on this device -->
218 <integer translatable="false" name="config_wifi_max_num_spatial_stream_supported">2</integer>
219
Roshan Pius497d9fc2019-10-30 06:52:20 -0700220 <!-- Configure wifi tcp buffersizes in the form:
221 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
222 <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string>
223
224 <!-- Do not translate. Default access point SSID used for tethering -->
225 <string name="wifi_tether_configure_ssid_default" translatable="false">AndroidAP</string>
226 <!-- Do not translate. Default access point SSID used for local only hotspot -->
227 <string name="wifi_localhotspot_configure_ssid_default" translatable="false">AndroidShare</string>
228
Roshan Pius77f8ce92019-11-12 12:36:48 -0800229 <!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds -->
230 <bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">false</bool>
Roger Wang27002072019-11-18 18:36:18 +0800231
232 <!-- Indicates that wifi watchdog is enabled on this device -->
233 <bool translatable="false" name="config_wifi_watchdog_enabled">true</bool>
David Su715d8422019-11-18 12:38:29 -0800234
235 <!--
236 Controls the mapping between RSSI and RSSI levels.
237
238 RSSI RSSI Level
239 (-infinity, thresholds[0]) 0
240 [threshold[0], threshold[1]) 1
241 [threshold[1], threshold[2]) 2
242 ... ...
243 [threshold[len-2], threshold[len-1]) len-1
244 [threshold[len-1], +infinity) len
245
246 where:
247 [a, b) is the range of integers `n` such that a <= n < b
248 `threshold[i]` represents the i'th element of the config_wifiRssiLevelThresholds array
249 and `len` is the length of the config_wifiRssiLevelThresholds array.
250 -->
251 <integer-array translatable="false" name="config_wifiRssiLevelThresholds">
252 <!-- RSSI RSSI Level -->
253 <item>-88</item> <!-- (-infinity, -88) 0 -->
254 <item>-77</item> <!-- [-88, -77) 1 -->
255 <item>-66</item> <!-- [-77, -66) 2 -->
256 <item>-55</item> <!-- [-66, -55) 3 -->
257 <!-- [-55, +infinity) 4 -->
258 </integer-array>
Ahmed ElArabawy38d561f2019-11-20 13:07:26 -0800259
260 <!-- Array describing scanning schedule in seconds when device is disconnected and screen is on -->
261 <integer-array translatable="false" name="config_wifiDisconnectedScanIntervalScheduleSec">
262 <item>20</item>
263 <item>40</item>
264 <item>80</item>
265 <item>160</item>
266 </integer-array>
267
268 <!-- Array describing scanning schedule in seconds when device is connected and screen is on -->
269 <integer-array translatable="false" name="config_wifiConnectedScanIntervalScheduleSec">
270 <item>20</item>
271 <item>40</item>
272 <item>80</item>
273 <item>160</item>
274 </integer-array>
Ahmed ElArabawyca845b42019-11-20 17:44:17 -0800275
276 <!-- Indicates that hidden networks are to be scanned during scan only mode -->
277 <bool translatable="false" name="config_wifiScanHiddenNetworksScanOnlyMode">false</bool>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700278</resources>