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 <!-- True if the firmware supports p2p MAC randomization --> 57 <bool name="config_wifi_p2p_mac_randomization_supported">true</bool> 58 59 <!-- True if the firmware supports ap MAC randomization --> 60 <bool name="config_wifi_ap_mac_randomization_supported">true</bool> 61 62 <!-- True if the firmware supports Wi-Fi link probing --> 63 <bool name="config_wifi_link_probing_supported">true</bool> 64 65 <!-- Idle Receive current for wifi radio. 0 by default--> 66 <integer translatable="false" name="config_wifi_idle_receive_cur_ma">1</integer> 67 68 <!-- Rx current for wifi radio. 0 by default--> 69 <integer translatable="false" name="config_wifi_active_rx_cur_ma">100</integer> 70 71 <!-- Tx current for wifi radio. 0 by default--> 72 <integer translatable="false" name="config_wifi_tx_cur_ma">250</integer> 73 74 <!-- Operating volatage for wifi radio. 0 by default--> 75 <integer translatable="false" name="config_wifi_operating_voltage_mv">3800</integer> 76 77 <!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds --> 78 <bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">true</bool> 79 80 <!-- Default access point SSID used for tethering --> 81 <string name="wifi_tether_configure_ssid_default" translatable="false">Pixel</string> 82 83 <!-- Integer indicating maximum hardware supported client number of soft ap --> 84 <integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">32</integer> 85 <!-- Array indicating wifi fatal firmware alert error code list from driver --> 86 <array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list"> 87 <item>1</item> <!-- WLAN_LOG_REASON_ROAM_FAIL --> 88 <item>256</item> <!-- DATA_STALL_LOG_NONE --> 89 <item>257</item> <!-- DATA_STALL_LOG_FW_VDEV_PAUSE --> 90 <item>258</item> <!-- DATA_STALL_LOG_HWSCHED_CMD_FILTER --> 91 <item>259</item> <!-- DATA_STALL_LOG_HWSCHED_CMD_FLUSH --> 92 <item>260</item> <!-- DATA_STALL_LOG_FW_RX_REFILL_FAILED --> 93 <item>261</item> <!-- DATA_STALL_LOG_FW_RX_FCS_LEN_ERROR --> 94 <item>262</item> <!-- DATA_STALL_LOG_FW_WDOG_ERRORS --> 95 <item>263</item> <!-- DATA_STALL_LOG_BB_WDOG_ERROR --> 96 <item>264</item> <!-- DATA_STALL_LOG_POST_TIM_NO_TXRX_ERROR --> 97 <item>512</item> <!-- DATA_STALL_LOG_HOST_STA_TX_TIMEOUT --> 98 <item>513</item> <!-- DATA_STALL_LOG_HOST_SOFTAP_TX_TIMEOUT --> 99 <item>514</item> <!-- DATA_STALL_LOG_NUD_FAILURE --> 100 </array> 101 102 <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery --> 103 <integer name="config_wifi_framework_recovery_timeout_delay">3000</integer> 104 105 <!-- Enable adding minimum confirmation duration when sending network score to connectivity service. --> 106 <bool translatable="false" name="config_wifiMinConfirmationDurationSendNetworkScoreEnabled">true</bool> 107 108 <!-- Disable channel utilization estimation with fixed value. 109 b/160239223: Rx time is excluded in cca busy time and channel utilization is calculated 110 correctly during heavy DL traffic --> 111 <bool translatable="false" name="config_wifiChannelUtilizationOverrideEnabled">false</bool> 112 113 <!-- Whether to use the explicit vendor HAL API: IWifiStaIface.setRoamingState for disabling fw roaming. --> 114 <bool translatable="false" name="config_wifiUseHalApiToDisableFwRoaming">true</bool> 115 116 <!-- Indicate the driver support NL80211_REG_CHANGED event. --> 117 <bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">true</bool> 118 119 <!-- Indicate the device support request channel on Wi-Fi Aware data-path. --> 120 <bool translatable="false" name="config_wifiSupportChannelOnDataPath">true</bool> 121</resources> 122