blob: e35fcf07474968cd07f314f1bee3aecc8d07ba30 [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">
24 <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
25 <bool translatable="false" name="config_wifi_dual_band_support">false</bool>
26
27 <!-- Maximum number of concurrent WiFi interfaces in AP mode -->
28 <integer translatable="false" name="config_wifi_max_ap_interfaces">1</integer>
29
30 <!-- Boolean indicating whether the wifi chipset requires the softap band be -->
31 <!-- converted from 5GHz to ANY due to hardware restrictions -->
32 <bool translatable="false" name="config_wifi_convert_apband_5ghz_to_any">false</bool>
33
34 <!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
35 <bool translatable="false" name="config_wifi_fast_bss_transition_enabled">false</bool>
36
37 <!-- Device type information conforming to Annex B format in WiFi Direct specification.
38 The default represents a dual-mode smartphone -->
39 <string translatable="false" name="config_wifi_p2p_device_type">10-0050F204-5</string>
40
41 <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
42 This mechanism allows the host to remain in suspend state and the dongle to actively
43 scan and wake the host when a configured SSID is detected by the dongle. This chipset
44 capability can provide power savings when wifi needs to be always kept on. -->
45 <bool translatable="false" name="config_wifi_background_scan_support">false</bool>
46
Roshan Pius497d9fc2019-10-30 06:52:20 -070047 <!-- Boolean indicating whether or not to revert to default country code when cellular
48 radio is unable to find any MCC information to infer wifi country code from -->
49 <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool>
50
51 <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in default logging mode -->
52 <integer translatable="false" name="config_wifi_logger_ring_buffer_default_size_limit_kb">32</integer>
53
54 <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in verbose logging mode -->
55 <integer translatable="false" name="config_wifi_logger_ring_buffer_verbose_size_limit_kb">1024</integer>
56
57 <!-- Array indicating wifi fatal firmware alert error code list from driver -->
58 <integer-array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list">
59 <!-- Example:
60 <item>0</item>
61 <item>1</item>
62 <item>2</item>
63 -->
64 </integer-array>
65
66 <!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
67 <bool translatable="false" name="config_wifi_turn_off_during_emergency_call">false</bool>
68
69 <!-- Integer specifying the basic autojoin parameters -->
Roshan Pius497d9fc2019-10-30 06:52:20 -070070 <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_factor">40</integer>
Roshan Pius497d9fc2019-10-30 06:52:20 -070071 <integer translatable="false" name="config_wifi_framework_RSSI_SCORE_OFFSET">85</integer>
72 <integer translatable="false" name="config_wifi_framework_RSSI_SCORE_SLOPE">4</integer>
73 <integer translatable="false" name="config_wifi_framework_SAME_BSSID_AWARD">24</integer>
74 <integer translatable="false" name="config_wifi_framework_LAST_SELECTION_AWARD">480</integer>
Roshan Pius497d9fc2019-10-30 06:52:20 -070075 <integer translatable="false" name="config_wifi_framework_SECURITY_AWARD">80</integer>
Roshan Pius497d9fc2019-10-30 06:52:20 -070076 <!-- Integers specifying the max packet Tx/Rx rates for full scan -->
77 <integer translatable="false" name="config_wifi_framework_max_tx_rate_for_full_scan">8</integer>
78 <integer translatable="false" name="config_wifi_framework_max_rx_rate_for_full_scan">16</integer>
79 <!-- Integers specifying the min packet Tx/Rx rates in packets per second for staying on the same network -->
80 <integer translatable="false" name="config_wifi_framework_min_tx_rate_for_staying_on_network">16</integer>
81 <integer translatable="false" name="config_wifi_framework_min_rx_rate_for_staying_on_network">16</integer>
82 <!-- Integer parameters of the wifi to cellular handover feature
83 wifi should not stick to bad networks -->
84 <!-- Integer threshold for low network score, should be somewhat less than the entry threshhold -->
85 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer>
86 <!-- Integer threshold, do not connect to APs with RSSI lower than the entry threshold -->
87 <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer>
88 <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-70</integer>
89 <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz">-57</integer>
90 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer>
91 <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer>
92 <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-73</integer>
93 <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz">-60</integer>
94
95 <!-- Integer delay in milliseconds before shutting down soft AP when there
96 are no connected devices. Framework will enforce a minimum limit on
97 this value and this setting will be overridden if the provided value is
98 smaller than the limit. -->
99 <integer translatable="false" name="config_wifi_framework_soft_ap_timeout_delay">600000</integer>
100
101 <string translatable="false" name="config_wifi_random_mac_oui">DA-A1-19</string>
102 <string translatable="false" name="config_wifi_framework_sap_2G_channel_list">1,6,11</string>
103
Roshan Pius497d9fc2019-10-30 06:52:20 -0700104 <!-- Integer indicating associated full scan max num active channels -->
105 <integer translatable="false" name="config_wifi_framework_associated_partial_scan_max_num_active_channels">6</integer>
106
107 <!-- Integer indicating RSSI boost given to current network -->
108 <integer translatable="false" name="config_wifi_framework_current_network_boost">16</integer>
109
110 <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery -->
111 <integer translatable="false" name="config_wifi_framework_recovery_timeout_delay">2000</integer>
112
Roshan Pius497d9fc2019-10-30 06:52:20 -0700113 <!-- Boolean indicating associated network selection is allowed -->
114 <bool translatable="false" name="config_wifi_framework_enable_associated_network_selection">true</bool>
115
116 <!-- Boolean indicating whether single radio chain scan results are to be used for network selection -->
117 <bool translatable="false" name="config_wifi_framework_use_single_radio_chain_scan_results_network_selection">true</bool>
118
119 <!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) -->
120 <bool translatable="false" name="config_wifi_only_link_same_credential_configurations">true</bool>
121
122 <!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements -->
123 <bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">false</bool>
124
125 <!-- Boolean indicating whether framework should use detection of softAP mode to set the tx
126 power limit for meeting SAR requirements -->
127 <bool translatable="false" name="config_wifi_framework_enable_soft_ap_sar_tx_power_limit">false</bool>
128
Roshan Pius497d9fc2019-10-30 06:52:20 -0700129 <!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
130 <bool translatable="false" name="config_wifi_softap_acs_supported">false</bool>
131
132 <!-- Channel list restriction to Automatic channel selection (ACS) for softap. If the device
133 doesn't want to restrict channels this should be empty. Value is a comma separated channel
134 string and/or channel range string like '1-6,11' -->
135 <string translatable="false" name="config_wifi_softap_acs_supported_channel_list"></string>
136
137 <!-- Wifi driver supports IEEE80211AC for softap -->
138 <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">false</bool>
139
140 <!-- Indicates that local-only hotspot should be brought up at 5GHz. This option is
141 for automotive builds only (the one that have PackageManager#FEATURE_AUTOMOTIVE) -->
142 <bool translatable="false" name="config_wifi_local_only_hotspot_5ghz">false</bool>
143
144 <!-- Indicates that connected MAC randomization is supported on this device -->
145 <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">false</bool>
146
147 <!-- Indicates that p2p MAC randomization is supported on this device -->
148 <bool translatable="false" name="config_wifi_p2p_mac_randomization_supported">false</bool>
149
150 <!-- Indicates that AP mode MAC randomization is supported on this device -->
151 <bool translatable="false" name="config_wifi_ap_mac_randomization_supported">true</bool>
152
153 <!-- flag for activating paranoid MAC randomization on a limited set of SSIDs -->
154 <bool translatable="false" name="config_wifi_aggressive_randomization_ssid_whitelist_enabled">false</bool>
155
156 <!-- Indicates that wifi link probing is supported on this device -->
157 <bool translatable="false" name="config_wifi_link_probing_supported">false</bool>
158
Kai Shi6ff1d982019-11-13 20:40:01 -0800159 <!-- Indicates that 11ax mode is supported on this device -->
160 <bool translatable="false" name="config_wifi_11ax_supported">false</bool>
161
162 <!-- Indicates that contiguous 160MHz mode is supported on this device -->
163 <bool translatable="false" name="config_wifi_contiguous_160mhz_supported">false</bool>
164
165 <!-- Integer indicating the max number of spatial streams supported on this device -->
166 <integer translatable="false" name="config_wifi_max_num_spatial_stream_supported">2</integer>
167
Roshan Pius497d9fc2019-10-30 06:52:20 -0700168 <!-- Configure wifi tcp buffersizes in the form:
169 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
170 <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string>
171
172 <!-- Do not translate. Default access point SSID used for tethering -->
173 <string name="wifi_tether_configure_ssid_default" translatable="false">AndroidAP</string>
174 <!-- Do not translate. Default access point SSID used for local only hotspot -->
175 <string name="wifi_localhotspot_configure_ssid_default" translatable="false">AndroidShare</string>
176
Roshan Pius77f8ce92019-11-12 12:36:48 -0800177 <!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds -->
178 <bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">false</bool>
Roger Wang27002072019-11-18 18:36:18 +0800179
180 <!-- Indicates that wifi watchdog is enabled on this device -->
181 <bool translatable="false" name="config_wifi_watchdog_enabled">true</bool>
David Su715d8422019-11-18 12:38:29 -0800182
183 <!--
184 Controls the mapping between RSSI and RSSI levels.
185
186 RSSI RSSI Level
187 (-infinity, thresholds[0]) 0
188 [threshold[0], threshold[1]) 1
189 [threshold[1], threshold[2]) 2
190 ... ...
191 [threshold[len-2], threshold[len-1]) len-1
192 [threshold[len-1], +infinity) len
193
194 where:
195 [a, b) is the range of integers `n` such that a <= n < b
196 `threshold[i]` represents the i'th element of the config_wifiRssiLevelThresholds array
197 and `len` is the length of the config_wifiRssiLevelThresholds array.
198 -->
199 <integer-array translatable="false" name="config_wifiRssiLevelThresholds">
200 <!-- RSSI RSSI Level -->
201 <item>-88</item> <!-- (-infinity, -88) 0 -->
202 <item>-77</item> <!-- [-88, -77) 1 -->
203 <item>-66</item> <!-- [-77, -66) 2 -->
204 <item>-55</item> <!-- [-66, -55) 3 -->
205 <!-- [-55, +infinity) 4 -->
206 </integer-array>
Ahmed ElArabawy38d561f2019-11-20 13:07:26 -0800207
208 <!-- Array describing scanning schedule in seconds when device is disconnected and screen is on -->
209 <integer-array translatable="false" name="config_wifiDisconnectedScanIntervalScheduleSec">
210 <item>20</item>
211 <item>40</item>
212 <item>80</item>
213 <item>160</item>
214 </integer-array>
215
216 <!-- Array describing scanning schedule in seconds when device is connected and screen is on -->
217 <integer-array translatable="false" name="config_wifiConnectedScanIntervalScheduleSec">
218 <item>20</item>
219 <item>40</item>
220 <item>80</item>
221 <item>160</item>
222 </integer-array>
Ahmed ElArabawyca845b42019-11-20 17:44:17 -0800223
224 <!-- Indicates that hidden networks are to be scanned during scan only mode -->
225 <bool translatable="false" name="config_wifiScanHiddenNetworksScanOnlyMode">false</bool>
Roshan Pius497d9fc2019-10-30 06:52:20 -0700226</resources>