1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4/*
5 * Copyright (C) 2019 The Android Open Source Project
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *      http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19-->
20<resources>
21    <!-- Boolean indicating whether the wifi chipset has 5GHz frequency band support -->
22    <bool translatable="false" name="config_wifi5ghzSupport">true</bool>
23
24    <!-- boolean indicating whether the WiFi chipset has 6GHz band support -->
25    <bool translatable="false" name ="config_wifi6ghzSupport">true</bool>
26
27    <!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
28    <bool translatable="false" name="config_wifi_fast_bss_transition_enabled">true</bool>
29
30    <!-- Boolean indicating whether the wifi chipset has background scan support -->
31    <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
32
33    <!-- Integer thresholds, do not connect to APs with RSSI lower than these values  -->
34    <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer>
35    <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer>
36    <!-- Integer thresholds for low network score, should be somewhat less than the entry thresholds -->
37    <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer>
38    <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer>
39
40    <!-- Boolean indicating whether or not to revert to default country code when cellular
41    radio is unable to find any MCC information to infer wifi country code from -->
42    <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool>
43
44    <!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
45    <bool translatable="false" name="config_wifi_turn_off_during_emergency_call">true</bool>
46
47    <!-- Configure wifi tcp buffersizes in the form:
48         rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
49    <string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,8388608,262144,524288,4194304</string>
50
51    <!-- Enable ACS (auto channel selection) for Wifi hotspot (SAP) -->
52    <bool translatable="false" name="config_wifi_softap_acs_supported">true</bool>
53
54    <!-- Enable 802.11ac for Wifi hotspot (SAP) -->
55    <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
56
57    <!-- True if the firmware supports connected MAC randomization -->
58    <bool name="config_wifi_connected_mac_randomization_supported">true</bool>
59    <bool name="config_wifiAllowNonPersistentMacRandomizationOnOpenSsids">true</bool>
60
61    <!-- True if the firmware supports p2p MAC randomization -->
62    <bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
63
64    <!-- True if the firmware supports ap MAC randomization -->
65    <bool name="config_wifi_ap_mac_randomization_supported">true</bool>
66
67    <!-- True if the firmware supports Wi-Fi link probing -->
68    <bool name="config_wifi_link_probing_supported">true</bool>
69
70    <!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds -->
71    <bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">true</bool>
72
73    <!-- Default access point SSID used for tethering -->
74    <string name="wifi_tether_configure_ssid_default" translatable="false">Pixel</string>
75
76    <!-- Integer indicating maximum hardware supported client number of soft ap -->
77    <integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">32</integer>
78
79    <!-- Array indicating wifi fatal firmware alert error code list from driver -->
80    <array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list">
81        <item>1</item>      <!-- ALERT_TX_STALL -->
82        <item>2</item>      <!-- ALERT_RX_STALL -->
83        <item>3</item>      <!-- ALERT_IOCTL_TIMEOUT -->
84        <item>8</item>      <!-- ALERT_FW_QUEUE_STALL -->
85    </array>
86
87    <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery -->
88    <integer name="config_wifi_framework_recovery_timeout_delay">3000</integer>
89
90    <!-- Number of self recoveries to be attempted per hour. Any fatal errors beyond this will
91         cause the wifi stack to turn wifi off and wait for user input.
92         Set to 0 to turn off recovery attempts and always turn off wifi on failures -->
93    <integer translatable="false" name="config_wifiMaxNativeFailureSelfRecoveryPerHour">10</integer>
94
95    <!-- Wifi driver supports IEEE80211AX for softap -->
96    <bool translatable="false" name="config_wifiSoftapIeee80211axSupported">true</bool>
97
98      <!-- Indicates that 11ax mode is supported on this device
99           Note that if this flag is set to true, then 11ax is assumed to be supported.
100           However, if it is left to the default value of false, the 11ax support will
101           be checked via NL80211 interface -->
102    <bool translatable="false" name="config_wifi11axSupportOverride">true</bool>
103
104    <!-- Wifi driver supports 6GHz band for softap -->
105    <bool translatable="false" name="config_wifiSoftap6ghzSupported">true</bool>
106
107    <!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
108    <bool translatable="false" name="config_wifi_softap_sae_supported">true</bool>
109
110    <!-- Override channel utilization estimation with fixed value, disabled in brcm-based pixels -->
111    <bool translatable="false" name="config_wifiChannelUtilizationOverrideEnabled">false</bool>
112
113    <!-- Enable adding minimum confirmation duration when sending network score to connectivity service. -->
114    <bool translatable="false" name="config_wifiMinConfirmationDurationSendNetworkScoreEnabled">true</bool>
115
116    <!-- Enable concurrent STA + STA peer to peer + internet connectivity -->
117    <bool translatable="false" name="config_wifiMultiStaLocalOnlyConcurrencyEnabled">true</bool>
118
119    <!-- Enable concurrent STA + STA MBB support -->
120    <bool translatable="false" name="config_wifiMultiStaNetworkSwitchingMakeBeforeBreakEnabled">true</bool>
121
122    <!-- Enable concurrent Bridged access point (AP) support -->
123    <bool translatable="false" name="config_wifiBridgedSoftApSupported">true</bool>
124
125    <!-- Enable concurrent STA + Bridged access point (AP) support -->
126    <bool translatable="false" name="config_wifiStaWithBridgedSoftApConcurrencySupported">true</bool>
127
128    <!-- Indicates that SAE Hash-to-Element is supported on this device -->
129    <bool translatable="false" name="config_wifiSaeH2eSupported">true</bool>
130
131    <!-- Enable the default coex channel avoidance algorithm and disable the functionality of
132         WifiManager#setCoexUnsafeChannels. -->
133    <bool translatable="false" name="config_wifiDefaultCoexAlgorithmEnabled">true</bool>
134
135    <!-- Whether to use the explicit vendor HAL API: IWifiStaIface.setRoamingState for disabling fw roaming. -->
136    <bool translatable="false" name="config_wifiUseHalApiToDisableFwRoaming">true</bool>
137
138    <!-- Indicate the driver doesn't support NL80211 Reg changed event -->
139    <bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">true</bool>
140
141    <!-- boolean indicating whether or not to disable shutdown idle instance timer in the bridged mode when connected to a power source -->
142    <bool translatable="false" name ="config_wifiFrameworkSoftApDisableBridgedModeShutdownIdleInstanceWhenCharging">true</bool>
143
144    <!-- Indicate whether the verbose logging is always on -->
145    <!-- 0: verbose logging controlled by user
146         1: verbose logging on by default for userdebug
147         2: verbose logging on by default for all builds -->
148    <integer translatable="false" name="config_wifiVerboseLoggingAlwaysOnLevel">1</integer>
149    <!-- Boolean indicating whether DTIM multiplier configuration is enabled. DTIM multiplier value
150        is when the system is in the suspended mode -->
151    <bool translatable="false" name="config_wifiDtimMultiplierConfigEnabled">true</bool>
152
153    <!-- Boolean indicating whether we should enable the STA current connected indoor channel
154     for SAP, WFD GO, Wi-Fi Aware -->
155    <bool translatable="false" name="config_wifiEnableStaIndoorChannelForPeerNetwork">false</bool>
156
157    <!-- Boolean indicating whether we should enable the STA current connected DFS channel
158         for SAP, WFD GO, Wi-Fi Aware -->
159    <bool translatable="false" name="config_wifiEnableStaDfsChannelForPeerNetwork">true</bool>
160
161    <!-- Boolean indicating whether the framework updates country from scan results when there is
162         no telephony country code and driver country code is 00.
163         This is applied only during the setup wizard -->
164    <bool translatable="false" name ="config_wifiUpdateCountryCodeFromScanResultSetupWizard">true</bool>
165
166    <!-- Enable the feature of adjusting link layer stats polling interval based on
167    device mobility state and client mode RSSI monitoring. -->
168    <bool translatable="false" name="config_wifiAdjustPollRssiIntervalEnabled">true</bool>
169
170    <!-- Boolean indicating whether the framework updates country from scan results when there is
171         no telephony country code. This is applied to all generic cases and might require the
172         regulatory approval (for example, FCC pre-approval is required according to "594280 D01
173         Software Configuration Control v02r01").-->
174    <bool translatable="false" name ="config_wifiUpdateCountryCodeFromScanResultGeneric">true</bool>
175
176    <!-- boolean indicating whether the caller thread needs to wait for destroyed listeners -->
177    <bool translatable="false" name ="config_wifiWaitForDestroyedListeners">true</bool>
178
179     <!-- Enable aggregation of Wifi link layer radio stats from all radios -->
180    <bool translatable="false" name="config_wifiLinkLayerAllRadiosStatsAggregationEnabled">true</bool>
181
182    <bool translatable="false" name="config_wifiSaeUpgradeEnabled">true</bool>
183
184    <!-- Enable WPA2 to WPA3 auto-upgrade offload to capable Driver/Firmware -->
185    <bool translatable="false" name="config_wifiSaeUpgradeOffloadEnabled">true</bool>
186
187    <!-- Boolean indicating performing a partial initial scan is enabled -->
188    <bool translatable="false" name="config_wifiEnablePartialInitialScan">true</bool>
189
190    <!-- Configure the max number of new channels to add into the initial partial scan list per network.
191         If equals to 0, it means there's no limit on the max number of channels to include per network.-->
192    <integer translatable="false" name="config_wifiInitialPartialScanMaxNewChannelsPerNetwork">3</integer>
193
194    <!-- Boolean indicating whether to disable firmware roaming when the device goes into idle mode.
195         true: firmware roaming will be disabled when the device goes into idle mode, and then
196               re-activated when the device exits idle mode.
197         false: firmware roaming will not be affected. -->
198    <bool translatable="false" name ="config_wifiDisableFirmwareRoamingInIdleMode">true</bool>
199
200</resources>
201