Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 1 | <?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 Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 47 | <!-- 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 Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 70 | <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_factor">40</integer> |
Ahmed ElArabawy | 7eaa40d | 2019-11-25 11:58:51 -0800 | [diff] [blame^] | 71 | <integer translatable="false" name="config_wifiFramework6ghzPreferenceBoostFactor">40</integer> |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 72 | <integer translatable="false" name="config_wifi_framework_RSSI_SCORE_OFFSET">85</integer> |
| 73 | <integer translatable="false" name="config_wifi_framework_RSSI_SCORE_SLOPE">4</integer> |
| 74 | <integer translatable="false" name="config_wifi_framework_SAME_BSSID_AWARD">24</integer> |
| 75 | <integer translatable="false" name="config_wifi_framework_LAST_SELECTION_AWARD">480</integer> |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 76 | <integer translatable="false" name="config_wifi_framework_SECURITY_AWARD">80</integer> |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 77 | <!-- Integers specifying the max packet Tx/Rx rates for full scan --> |
| 78 | <integer translatable="false" name="config_wifi_framework_max_tx_rate_for_full_scan">8</integer> |
| 79 | <integer translatable="false" name="config_wifi_framework_max_rx_rate_for_full_scan">16</integer> |
| 80 | <!-- Integers specifying the min packet Tx/Rx rates in packets per second for staying on the same network --> |
| 81 | <integer translatable="false" name="config_wifi_framework_min_tx_rate_for_staying_on_network">16</integer> |
| 82 | <integer translatable="false" name="config_wifi_framework_min_rx_rate_for_staying_on_network">16</integer> |
| 83 | <!-- Integer parameters of the wifi to cellular handover feature |
| 84 | wifi should not stick to bad networks --> |
| 85 | <!-- Integer threshold for low network score, should be somewhat less than the entry threshhold --> |
| 86 | <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer> |
| 87 | <!-- Integer threshold, do not connect to APs with RSSI lower than the entry threshold --> |
| 88 | <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer> |
| 89 | <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-70</integer> |
| 90 | <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz">-57</integer> |
| 91 | <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer> |
| 92 | <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer> |
| 93 | <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-73</integer> |
| 94 | <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz">-60</integer> |
Ahmed ElArabawy | 7eaa40d | 2019-11-25 11:58:51 -0800 | [diff] [blame^] | 95 | <integer translatable="false" name="config_wifiFrameworkScoreBadRssiThreshold6ghz">-80</integer> |
| 96 | <integer translatable="false" name="config_wifiFrameworkScoreEntryRssiThreshold6ghz">-77</integer> |
| 97 | <integer translatable="false" name="config_wifiFrameworkScoreLowRssiThreshold6ghz">-70</integer> |
| 98 | <integer translatable="false" name="config_wifiFrameworkScoreGoodRssiThreshold6ghz">-57</integer> |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 99 | |
| 100 | <!-- Integer delay in milliseconds before shutting down soft AP when there |
| 101 | are no connected devices. Framework will enforce a minimum limit on |
| 102 | this value and this setting will be overridden if the provided value is |
| 103 | smaller than the limit. --> |
| 104 | <integer translatable="false" name="config_wifi_framework_soft_ap_timeout_delay">600000</integer> |
| 105 | |
| 106 | <string translatable="false" name="config_wifi_random_mac_oui">DA-A1-19</string> |
| 107 | <string translatable="false" name="config_wifi_framework_sap_2G_channel_list">1,6,11</string> |
| 108 | |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 109 | <!-- Integer indicating associated full scan max num active channels --> |
| 110 | <integer translatable="false" name="config_wifi_framework_associated_partial_scan_max_num_active_channels">6</integer> |
| 111 | |
| 112 | <!-- Integer indicating RSSI boost given to current network --> |
| 113 | <integer translatable="false" name="config_wifi_framework_current_network_boost">16</integer> |
| 114 | |
| 115 | <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery --> |
| 116 | <integer translatable="false" name="config_wifi_framework_recovery_timeout_delay">2000</integer> |
| 117 | |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 118 | <!-- Boolean indicating associated network selection is allowed --> |
| 119 | <bool translatable="false" name="config_wifi_framework_enable_associated_network_selection">true</bool> |
| 120 | |
| 121 | <!-- Boolean indicating whether single radio chain scan results are to be used for network selection --> |
| 122 | <bool translatable="false" name="config_wifi_framework_use_single_radio_chain_scan_results_network_selection">true</bool> |
| 123 | |
| 124 | <!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) --> |
| 125 | <bool translatable="false" name="config_wifi_only_link_same_credential_configurations">true</bool> |
| 126 | |
| 127 | <!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements --> |
| 128 | <bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">false</bool> |
| 129 | |
| 130 | <!-- Boolean indicating whether framework should use detection of softAP mode to set the tx |
| 131 | power limit for meeting SAR requirements --> |
| 132 | <bool translatable="false" name="config_wifi_framework_enable_soft_ap_sar_tx_power_limit">false</bool> |
| 133 | |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 134 | <!-- Wifi driver supports Automatic channel selection (ACS) for softap --> |
| 135 | <bool translatable="false" name="config_wifi_softap_acs_supported">false</bool> |
| 136 | |
| 137 | <!-- Channel list restriction to Automatic channel selection (ACS) for softap. If the device |
| 138 | doesn't want to restrict channels this should be empty. Value is a comma separated channel |
| 139 | string and/or channel range string like '1-6,11' --> |
| 140 | <string translatable="false" name="config_wifi_softap_acs_supported_channel_list"></string> |
| 141 | |
| 142 | <!-- Wifi driver supports IEEE80211AC for softap --> |
| 143 | <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">false</bool> |
| 144 | |
| 145 | <!-- Indicates that local-only hotspot should be brought up at 5GHz. This option is |
| 146 | for automotive builds only (the one that have PackageManager#FEATURE_AUTOMOTIVE) --> |
| 147 | <bool translatable="false" name="config_wifi_local_only_hotspot_5ghz">false</bool> |
| 148 | |
| 149 | <!-- Indicates that connected MAC randomization is supported on this device --> |
| 150 | <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">false</bool> |
| 151 | |
| 152 | <!-- Indicates that p2p MAC randomization is supported on this device --> |
| 153 | <bool translatable="false" name="config_wifi_p2p_mac_randomization_supported">false</bool> |
| 154 | |
| 155 | <!-- Indicates that AP mode MAC randomization is supported on this device --> |
| 156 | <bool translatable="false" name="config_wifi_ap_mac_randomization_supported">true</bool> |
| 157 | |
| 158 | <!-- flag for activating paranoid MAC randomization on a limited set of SSIDs --> |
| 159 | <bool translatable="false" name="config_wifi_aggressive_randomization_ssid_whitelist_enabled">false</bool> |
| 160 | |
| 161 | <!-- Indicates that wifi link probing is supported on this device --> |
| 162 | <bool translatable="false" name="config_wifi_link_probing_supported">false</bool> |
| 163 | |
Kai Shi | 6ff1d98 | 2019-11-13 20:40:01 -0800 | [diff] [blame] | 164 | <!-- Indicates that 11ax mode is supported on this device --> |
| 165 | <bool translatable="false" name="config_wifi_11ax_supported">false</bool> |
| 166 | |
| 167 | <!-- Indicates that contiguous 160MHz mode is supported on this device --> |
| 168 | <bool translatable="false" name="config_wifi_contiguous_160mhz_supported">false</bool> |
| 169 | |
| 170 | <!-- Integer indicating the max number of spatial streams supported on this device --> |
| 171 | <integer translatable="false" name="config_wifi_max_num_spatial_stream_supported">2</integer> |
| 172 | |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 173 | <!-- Configure wifi tcp buffersizes in the form: |
| 174 | rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max --> |
| 175 | <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string> |
| 176 | |
| 177 | <!-- Do not translate. Default access point SSID used for tethering --> |
| 178 | <string name="wifi_tether_configure_ssid_default" translatable="false">AndroidAP</string> |
| 179 | <!-- Do not translate. Default access point SSID used for local only hotspot --> |
| 180 | <string name="wifi_localhotspot_configure_ssid_default" translatable="false">AndroidShare</string> |
| 181 | |
Roshan Pius | 77f8ce9 | 2019-11-12 12:36:48 -0800 | [diff] [blame] | 182 | <!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds --> |
| 183 | <bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">false</bool> |
Roger Wang | 2700207 | 2019-11-18 18:36:18 +0800 | [diff] [blame] | 184 | |
| 185 | <!-- Indicates that wifi watchdog is enabled on this device --> |
| 186 | <bool translatable="false" name="config_wifi_watchdog_enabled">true</bool> |
David Su | 715d842 | 2019-11-18 12:38:29 -0800 | [diff] [blame] | 187 | |
| 188 | <!-- |
| 189 | Controls the mapping between RSSI and RSSI levels. |
| 190 | |
| 191 | RSSI RSSI Level |
| 192 | (-infinity, thresholds[0]) 0 |
| 193 | [threshold[0], threshold[1]) 1 |
| 194 | [threshold[1], threshold[2]) 2 |
| 195 | ... ... |
| 196 | [threshold[len-2], threshold[len-1]) len-1 |
| 197 | [threshold[len-1], +infinity) len |
| 198 | |
| 199 | where: |
| 200 | [a, b) is the range of integers `n` such that a <= n < b |
| 201 | `threshold[i]` represents the i'th element of the config_wifiRssiLevelThresholds array |
| 202 | and `len` is the length of the config_wifiRssiLevelThresholds array. |
| 203 | --> |
| 204 | <integer-array translatable="false" name="config_wifiRssiLevelThresholds"> |
| 205 | <!-- RSSI RSSI Level --> |
| 206 | <item>-88</item> <!-- (-infinity, -88) 0 --> |
| 207 | <item>-77</item> <!-- [-88, -77) 1 --> |
| 208 | <item>-66</item> <!-- [-77, -66) 2 --> |
| 209 | <item>-55</item> <!-- [-66, -55) 3 --> |
| 210 | <!-- [-55, +infinity) 4 --> |
| 211 | </integer-array> |
Ahmed ElArabawy | 38d561f | 2019-11-20 13:07:26 -0800 | [diff] [blame] | 212 | |
| 213 | <!-- Array describing scanning schedule in seconds when device is disconnected and screen is on --> |
| 214 | <integer-array translatable="false" name="config_wifiDisconnectedScanIntervalScheduleSec"> |
| 215 | <item>20</item> |
| 216 | <item>40</item> |
| 217 | <item>80</item> |
| 218 | <item>160</item> |
| 219 | </integer-array> |
| 220 | |
| 221 | <!-- Array describing scanning schedule in seconds when device is connected and screen is on --> |
| 222 | <integer-array translatable="false" name="config_wifiConnectedScanIntervalScheduleSec"> |
| 223 | <item>20</item> |
| 224 | <item>40</item> |
| 225 | <item>80</item> |
| 226 | <item>160</item> |
| 227 | </integer-array> |
Ahmed ElArabawy | ca845b4 | 2019-11-20 17:44:17 -0800 | [diff] [blame] | 228 | |
| 229 | <!-- Indicates that hidden networks are to be scanned during scan only mode --> |
| 230 | <bool translatable="false" name="config_wifiScanHiddenNetworksScanOnlyMode">false</bool> |
Roshan Pius | 497d9fc | 2019-10-30 06:52:20 -0700 | [diff] [blame] | 231 | </resources> |