1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4 * Copyright (C) 2019 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18--> 19<resources> 20 <!-- Boolean indicating whether the wifi chipset has 5GHz frequency band support --> 21 <bool translatable="false" name="config_wifi5ghzSupport">true</bool> 22 23 <!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform --> 24 <bool translatable="false" name="config_wifi_fast_bss_transition_enabled">true</bool> 25 26 <!-- Boolean indicating whether the wifi chipset has background scan support --> 27 <bool translatable="false" name="config_wifi_background_scan_support">true</bool> 28 29 <!-- Integer thresholds, do not connect to APs with RSSI lower than these values --> 30 <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer> 31 <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer> 32 <!-- Integer thresholds for low network score, should be somewhat less than the entry thresholds --> 33 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer> 34 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer> 35 36 <!-- Boolean indicating whether or not to revert to default country code when cellular 37 radio is unable to find any MCC information to infer wifi country code from --> 38 <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool> 39 40 <!-- Boolean indicating whether or not wifi should turn off when emergency call is made --> 41 <bool translatable="false" name="config_wifi_turn_off_during_emergency_call">true</bool> 42 43 <!-- Configure wifi tcp buffersizes in the form: 44 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max --> 45 <string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,8388608,262144,524288,4194304</string> 46 47 <!-- Enable ACS (auto channel selection) for Wifi hotspot (SAP) --> 48 <bool translatable="false" name="config_wifi_softap_acs_supported">true</bool> 49 50 <!-- Enable 802.11ac for Wifi hotspot (SAP) --> 51 <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool> 52 53 <!-- True if the firmware supports connected MAC randomization --> 54 <bool name="config_wifi_connected_mac_randomization_supported">true</bool> 55 <bool name="config_wifiAllowNonPersistentMacRandomizationOnOpenSsids">true</bool> 56 57 <!-- True if the firmware supports p2p MAC randomization --> 58 <bool name="config_wifi_p2p_mac_randomization_supported">true</bool> 59 60 <!-- True if the firmware supports ap MAC randomization --> 61 <bool name="config_wifi_ap_mac_randomization_supported">true</bool> 62 63 <!-- True if the firmware supports Wi-Fi link probing --> 64 <bool name="config_wifi_link_probing_supported">true</bool> 65 66 <!-- Idle Receive current for wifi radio. 0 by default--> 67 <integer translatable="false" name="config_wifi_idle_receive_cur_ma">1</integer> 68 69 <!-- Rx current for wifi radio. 0 by default--> 70 <integer translatable="false" name="config_wifi_active_rx_cur_ma">100</integer> 71 72 <!-- Tx current for wifi radio. 0 by default--> 73 <integer translatable="false" name="config_wifi_tx_cur_ma">250</integer> 74 75 <!-- Operating volatage for wifi radio. 0 by default--> 76 <integer translatable="false" name="config_wifi_operating_voltage_mv">3800</integer> 77 78 <!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds --> 79 <bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">true</bool> 80 81 <!-- Default access point SSID used for tethering --> 82 <string name="wifi_tether_configure_ssid_default" translatable="false">Pixel</string> 83 84 <!-- Integer indicating maximum hardware supported client number of soft ap --> 85 <integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">32</integer> 86 <!-- Array indicating wifi fatal firmware alert error code list from driver --> 87 <array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list"> 88 <item>1</item> <!-- WLAN_LOG_REASON_ROAM_FAIL --> 89 <item>256</item> <!-- DATA_STALL_LOG_NONE --> 90 <item>257</item> <!-- DATA_STALL_LOG_FW_VDEV_PAUSE --> 91 <item>258</item> <!-- DATA_STALL_LOG_HWSCHED_CMD_FILTER --> 92 <item>259</item> <!-- DATA_STALL_LOG_HWSCHED_CMD_FLUSH --> 93 <item>260</item> <!-- DATA_STALL_LOG_FW_RX_REFILL_FAILED --> 94 <item>261</item> <!-- DATA_STALL_LOG_FW_RX_FCS_LEN_ERROR --> 95 <item>262</item> <!-- DATA_STALL_LOG_FW_WDOG_ERRORS --> 96 <item>263</item> <!-- DATA_STALL_LOG_BB_WDOG_ERROR --> 97 <item>264</item> <!-- DATA_STALL_LOG_POST_TIM_NO_TXRX_ERROR --> 98 <item>512</item> <!-- DATA_STALL_LOG_HOST_STA_TX_TIMEOUT --> 99 <item>513</item> <!-- DATA_STALL_LOG_HOST_SOFTAP_TX_TIMEOUT --> 100 <item>514</item> <!-- DATA_STALL_LOG_NUD_FAILURE --> 101 </array> 102 103 <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery --> 104 <integer name="config_wifi_framework_recovery_timeout_delay">3000</integer> 105 106 <!-- Enable adding minimum confirmation duration when sending network score to connectivity service. --> 107 <bool translatable="false" name="config_wifiMinConfirmationDurationSendNetworkScoreEnabled">true</bool> 108 109 <!-- Disable WPA2 to WPA3 auto-upgrade --> 110 <bool translatable="false" name="config_wifiSaeUpgradeEnabled">false</bool> 111 112 <!-- Whether to use the explicit vendor HAL API: IWifiStaIface.setRoamingState for disabling fw roaming. --> 113 <bool translatable="false" name="config_wifiUseHalApiToDisableFwRoaming">true</bool> 114 115 <!-- Indicate the driver support NL80211_REG_CHANGED event. --> 116 <bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">true</bool> 117 118 <!-- Indicate the device support request channel on Wi-Fi Aware data-path. --> 119 <bool translatable="false" name="config_wifiSupportChannelOnDataPath">true</bool> 120</resources> 121