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 | |
| 47 | <!-- Boolean indicating we re-try re-associating once upon disconnection and RSSI is high failure --> |
| 48 | <bool translatable="true" name="config_wifi_enable_disconnection_debounce">true</bool> |
| 49 | |
| 50 | <!-- Boolean indicating whether or not to revert to default country code when cellular |
| 51 | radio is unable to find any MCC information to infer wifi country code from --> |
| 52 | <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool> |
| 53 | |
| 54 | <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in default logging mode --> |
| 55 | <integer translatable="false" name="config_wifi_logger_ring_buffer_default_size_limit_kb">32</integer> |
| 56 | |
| 57 | <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in verbose logging mode --> |
| 58 | <integer translatable="false" name="config_wifi_logger_ring_buffer_verbose_size_limit_kb">1024</integer> |
| 59 | |
| 60 | <!-- Array indicating wifi fatal firmware alert error code list from driver --> |
| 61 | <integer-array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list"> |
| 62 | <!-- Example: |
| 63 | <item>0</item> |
| 64 | <item>1</item> |
| 65 | <item>2</item> |
| 66 | --> |
| 67 | </integer-array> |
| 68 | |
| 69 | <!-- Boolean indicating whether or not wifi should turn off when emergency call is made --> |
| 70 | <bool translatable="false" name="config_wifi_turn_off_during_emergency_call">false</bool> |
| 71 | |
| 72 | <!-- Integer specifying the basic autojoin parameters --> |
| 73 | <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_threshold">-65</integer> |
| 74 | <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_factor">40</integer> |
| 75 | <integer translatable="false" name="config_wifi_framework_5GHz_preference_penalty_threshold">-75</integer> |
| 76 | <integer translatable="false" name="config_wifi_framework_RSSI_SCORE_OFFSET">85</integer> |
| 77 | <integer translatable="false" name="config_wifi_framework_RSSI_SCORE_SLOPE">4</integer> |
| 78 | <integer translatable="false" name="config_wifi_framework_SAME_BSSID_AWARD">24</integer> |
| 79 | <integer translatable="false" name="config_wifi_framework_LAST_SELECTION_AWARD">480</integer> |
| 80 | <integer translatable="false" name="config_wifi_framework_PASSPOINT_SECURITY_AWARD">40</integer> |
| 81 | <integer translatable="false" name="config_wifi_framework_SECURITY_AWARD">80</integer> |
| 82 | <!-- Integer specifying the base interval in seconds for the exponential backoff scan for autojoin --> |
| 83 | <integer translatable="false" name="config_wifi_framework_exponential_backoff_scan_base_interval">20</integer> |
| 84 | <!-- Integers specifying the max packet Tx/Rx rates for full scan --> |
| 85 | <integer translatable="false" name="config_wifi_framework_max_tx_rate_for_full_scan">8</integer> |
| 86 | <integer translatable="false" name="config_wifi_framework_max_rx_rate_for_full_scan">16</integer> |
| 87 | <!-- Integers specifying the min packet Tx/Rx rates in packets per second for staying on the same network --> |
| 88 | <integer translatable="false" name="config_wifi_framework_min_tx_rate_for_staying_on_network">16</integer> |
| 89 | <integer translatable="false" name="config_wifi_framework_min_rx_rate_for_staying_on_network">16</integer> |
| 90 | <!-- Integer parameters of the wifi to cellular handover feature |
| 91 | wifi should not stick to bad networks --> |
| 92 | <!-- Integer threshold for low network score, should be somewhat less than the entry threshhold --> |
| 93 | <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer> |
| 94 | <!-- Integer threshold, do not connect to APs with RSSI lower than the entry threshold --> |
| 95 | <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer> |
| 96 | <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-70</integer> |
| 97 | <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz">-57</integer> |
| 98 | <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer> |
| 99 | <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer> |
| 100 | <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-73</integer> |
| 101 | <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz">-60</integer> |
| 102 | |
| 103 | <!-- Integer delay in milliseconds before shutting down soft AP when there |
| 104 | are no connected devices. Framework will enforce a minimum limit on |
| 105 | this value and this setting will be overridden if the provided value is |
| 106 | smaller than the limit. --> |
| 107 | <integer translatable="false" name="config_wifi_framework_soft_ap_timeout_delay">600000</integer> |
| 108 | |
| 109 | <string translatable="false" name="config_wifi_random_mac_oui">DA-A1-19</string> |
| 110 | <string translatable="false" name="config_wifi_framework_sap_2G_channel_list">1,6,11</string> |
| 111 | |
| 112 | <bool translatable="false" name="config_wifi_framework_cellular_handover_enable_user_triggered_adjustment">true</bool> |
| 113 | |
| 114 | <!-- Integer packet threshold used to allow scan while associated --> |
| 115 | <integer translatable="false" name="config_wifi_framework_associated_full_scan_tx_packet_threshold">5</integer> |
| 116 | <integer translatable="false" name="config_wifi_framework_associated_full_scan_rx_packet_threshold">10</integer> |
| 117 | <integer translatable="false" name="config_wifi_framework_associated_partial_scan_tx_packet_threshold">40</integer> |
| 118 | <integer translatable="false" name="config_wifi_framework_associated_partial_scan_rx_packet_threshold">80</integer> |
| 119 | <integer translatable="false" name="config_wifi_framework_network_switch_tx_packet_threshold">2</integer> |
| 120 | <integer translatable="false" name="config_wifi_framework_network_switch_rx_packet_threshold">20</integer> |
| 121 | |
| 122 | <!-- Integer indicating wpa_supplicant scan interval in milliseconds --> |
| 123 | <integer translatable="false" name="config_wifi_supplicant_scan_interval">15000</integer> |
| 124 | |
| 125 | <!-- Integer indicating amount of time failed networks areblacklisted for the purpose |
| 126 | of network switching in milliseconds --> |
| 127 | <integer translatable="false" name="config_wifi_network_switching_blacklist_time">172800000</integer> |
| 128 | |
| 129 | <!-- Integer indicating wpa_supplicant scan interval when p2p is connected in milliseconds --> |
| 130 | <integer translatable="false" name="config_wifi_scan_interval_p2p_connected">60000</integer> |
| 131 | |
| 132 | <!-- Integer indicating disconnect mode short scan interval in milliseconds --> |
| 133 | <integer translatable="false" name="config_wifi_disconnected_short_scan_interval">15000</integer> |
| 134 | |
| 135 | <!-- Integer indicating associated partial scan short interval in milliseconds --> |
| 136 | <integer translatable="false" name="config_wifi_associated_short_scan_interval">20000</integer> |
| 137 | |
| 138 | <!-- Integer indicating associated full scan backoff, representing a fraction: xx/8 --> |
| 139 | <integer translatable="false" name="config_wifi_framework_associated_full_scan_backoff">12</integer> |
| 140 | |
| 141 | <!-- Integer indicating associated full scan max interval in milliseconds --> |
| 142 | <integer translatable="false" name="config_wifi_framework_associated_full_scan_max_interval">300000</integer> |
| 143 | |
| 144 | <!-- Integer indicating associated full scan max total dwell time in milliseconds --> |
| 145 | <integer translatable="false" name="config_wifi_framework_associated_full_scan_max_total_dwell_time">500</integer> |
| 146 | |
| 147 | <!-- 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 | |
| 150 | <!-- Integer indicating RSSI boost given to current network --> |
| 151 | <integer translatable="false" name="config_wifi_framework_current_network_boost">16</integer> |
| 152 | |
| 153 | <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery --> |
| 154 | <integer translatable="false" name="config_wifi_framework_recovery_timeout_delay">2000</integer> |
| 155 | |
| 156 | <!-- Integer indicating how to handle beacons with uninitialized RSSI value of 0 --> |
| 157 | <integer translatable="false" name="config_wifi_framework_scan_result_rssi_level_patchup_value">-85</integer> |
| 158 | |
| 159 | <!-- Boolean indicating associated network selection is allowed --> |
| 160 | <bool translatable="false" name="config_wifi_framework_enable_associated_network_selection">true</bool> |
| 161 | |
| 162 | <!-- Boolean indicating whether single radio chain scan results are to be used for network selection --> |
| 163 | <bool translatable="false" name="config_wifi_framework_use_single_radio_chain_scan_results_network_selection">true</bool> |
| 164 | |
| 165 | <!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) --> |
| 166 | <bool translatable="false" name="config_wifi_only_link_same_credential_configurations">true</bool> |
| 167 | |
| 168 | <!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements --> |
| 169 | <bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">false</bool> |
| 170 | |
| 171 | <!-- Boolean indicating whether framework should use detection of softAP mode to set the tx |
| 172 | power limit for meeting SAR requirements --> |
| 173 | <bool translatable="false" name="config_wifi_framework_enable_soft_ap_sar_tx_power_limit">false</bool> |
| 174 | |
| 175 | <!-- Boolean indicating whether framework needs to use body proximity to set the tx power limit |
| 176 | for meeting SAR requirements --> |
| 177 | <bool translatable="false" name="config_wifi_framework_enable_body_proximity_sar_tx_power_limit">false</bool> |
| 178 | |
| 179 | <!-- String for the sensor type for body/head proximity for SAR --> |
| 180 | <string translatable="false" name="config_wifi_sar_sensor_type"></string> |
| 181 | |
| 182 | <!-- Integer indicating event id by sar sensor for free space --> |
| 183 | <integer translatable="false" name="config_wifi_framework_sar_free_space_event_id">1</integer> |
| 184 | |
| 185 | <!-- Integer indicating event id by sar sensor for near hand --> |
| 186 | <integer translatable="false" name="config_wifi_framework_sar_near_hand_event_id">2</integer> |
| 187 | |
| 188 | <!-- Integer indicating event id by sar sensor for near head --> |
| 189 | <integer translatable="false" name="config_wifi_framework_sar_near_head_event_id">3</integer> |
| 190 | |
| 191 | <!-- Integer indicating event id by sar sensor for near body --> |
| 192 | <integer translatable="false" name="config_wifi_framework_sar_near_body_event_id">4</integer> |
| 193 | |
| 194 | <!-- Wifi driver supports batched scan --> |
| 195 | <bool translatable="false" name="config_wifi_batched_scan_supported">false</bool> |
| 196 | |
| 197 | <!-- Wifi driver supports Automatic channel selection (ACS) for softap --> |
| 198 | <bool translatable="false" name="config_wifi_softap_acs_supported">false</bool> |
| 199 | |
| 200 | <!-- Channel list restriction to Automatic channel selection (ACS) for softap. If the device |
| 201 | doesn't want to restrict channels this should be empty. Value is a comma separated channel |
| 202 | string and/or channel range string like '1-6,11' --> |
| 203 | <string translatable="false" name="config_wifi_softap_acs_supported_channel_list"></string> |
| 204 | |
| 205 | <!-- Wifi driver supports IEEE80211AC for softap --> |
| 206 | <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">false</bool> |
| 207 | |
| 208 | <!-- Indicates that local-only hotspot should be brought up at 5GHz. This option is |
| 209 | for automotive builds only (the one that have PackageManager#FEATURE_AUTOMOTIVE) --> |
| 210 | <bool translatable="false" name="config_wifi_local_only_hotspot_5ghz">false</bool> |
| 211 | |
| 212 | <!-- Indicates that connected MAC randomization is supported on this device --> |
| 213 | <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">false</bool> |
| 214 | |
| 215 | <!-- Indicates that p2p MAC randomization is supported on this device --> |
| 216 | <bool translatable="false" name="config_wifi_p2p_mac_randomization_supported">false</bool> |
| 217 | |
| 218 | <!-- Indicates that AP mode MAC randomization is supported on this device --> |
| 219 | <bool translatable="false" name="config_wifi_ap_mac_randomization_supported">true</bool> |
| 220 | |
| 221 | <!-- flag for activating paranoid MAC randomization on a limited set of SSIDs --> |
| 222 | <bool translatable="false" name="config_wifi_aggressive_randomization_ssid_whitelist_enabled">false</bool> |
| 223 | |
| 224 | <!-- Indicates that wifi link probing is supported on this device --> |
| 225 | <bool translatable="false" name="config_wifi_link_probing_supported">false</bool> |
| 226 | |
| 227 | <!-- Configure wifi tcp buffersizes in the form: |
| 228 | rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max --> |
| 229 | <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string> |
| 230 | |
| 231 | <!-- Do not translate. Default access point SSID used for tethering --> |
| 232 | <string name="wifi_tether_configure_ssid_default" translatable="false">AndroidAP</string> |
| 233 | <!-- Do not translate. Default access point SSID used for local only hotspot --> |
| 234 | <string name="wifi_localhotspot_configure_ssid_default" translatable="false">AndroidShare</string> |
| 235 | |
| 236 | </resources> |