mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-04-29 02:27:21 +09:00
sm6250-common: Import WifiOverlay from CAF
* From LA.UM.9.1.r1-09100-SMxxx0.0 Change-Id: Icfd70a632425aec908b2189710ecf31ee21449cc
This commit is contained in:
parent
1b2ef8baa6
commit
45be1c4d97
1
atoll.mk
1
atoll.mk
@ -393,6 +393,7 @@ PRODUCT_PACKAGES += \
|
|||||||
libwifi-hal-qcom \
|
libwifi-hal-qcom \
|
||||||
vendor.qti.hardware.wifi.hostapd@1.2.vendor \
|
vendor.qti.hardware.wifi.hostapd@1.2.vendor \
|
||||||
vendor.qti.hardware.wifi.supplicant@2.2.vendor \
|
vendor.qti.hardware.wifi.supplicant@2.2.vendor \
|
||||||
|
WifiOverlay \
|
||||||
wpa_supplicant \
|
wpa_supplicant \
|
||||||
wpa_supplicant.conf
|
wpa_supplicant.conf
|
||||||
|
|
||||||
|
6
rro_overlays/WifiOverlay/Android.bp
Normal file
6
rro_overlays/WifiOverlay/Android.bp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
runtime_resource_overlay {
|
||||||
|
name: "WifiOverlay",
|
||||||
|
theme: "WifiOverlay",
|
||||||
|
sdk_version: "current",
|
||||||
|
vendor: true
|
||||||
|
}
|
24
rro_overlays/WifiOverlay/AndroidManifest.xml
Normal file
24
rro_overlays/WifiOverlay/AndroidManifest.xml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<!-- Copyright (C) 2019 The Android Open Source Project
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
<!-- Pixel specific wifi overlays -->
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.android.wifi.resources.xiaomi_atoll"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="1.0">
|
||||||
|
<application android:hasCode="false" />
|
||||||
|
<overlay
|
||||||
|
android:targetPackage="com.android.wifi.resources"
|
||||||
|
android:targetName="WifiCustomization"
|
||||||
|
android:isStatic="true"
|
||||||
|
android:priority="0"/>
|
||||||
|
</manifest>
|
77
rro_overlays/WifiOverlay/res/values/config.xml
Normal file
77
rro_overlays/WifiOverlay/res/values/config.xml
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2019 The Android Open Source Project
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- These resources are around just to allow their values to be customized
|
||||||
|
for different hardware and product builds. Do not translate.
|
||||||
|
NOTE: The naming convention is "config_camelCaseValue". Some legacy
|
||||||
|
entries do not follow the convention, but all new entries should. -->
|
||||||
|
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
|
||||||
|
<!-- Boolean indicating whether the wifi chipset has 5GHz frequency band support -->
|
||||||
|
<bool translatable="false" name="config_wifi5ghzSupport">true</bool>
|
||||||
|
|
||||||
|
<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
|
||||||
|
<bool name="config_wifi_dual_band_support">true</bool>
|
||||||
|
|
||||||
|
<!-- Boolean indicating whether the wifi chipset has background scan support -->
|
||||||
|
<bool name="config_wifi_background_scan_support">true</bool>
|
||||||
|
|
||||||
|
<!-- Wifi driver supports batched scan -->
|
||||||
|
<bool name="config_wifi_batched_scan_supported">true</bool>
|
||||||
|
|
||||||
|
<!-- Configure wifi tcp buffersizes in the form:
|
||||||
|
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
||||||
|
<string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,5505024,262144,524288,5505024</string>
|
||||||
|
|
||||||
|
<!-- Channel list for softap 2G band. Empty means all channels -->
|
||||||
|
<string translateble="false" name="config_wifiSoftap2gChannelList"></string>
|
||||||
|
<!-- Channel list for softap 5G band. Empty means all channels -->
|
||||||
|
<string translateble="false" name="config_wifiSoftap5gChannelList"></string>
|
||||||
|
|
||||||
|
<!-- True if the firmware supports p2p MAC randomization -->
|
||||||
|
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
|
||||||
|
|
||||||
|
<!-- True if the firmware supports connected MAC randomization -->
|
||||||
|
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
|
||||||
|
|
||||||
|
<!-- Enable ACS (auto channel selection) for Wifi hotspot (SAP) -->
|
||||||
|
<bool name="config_wifi_softap_acs_supported">true</bool>
|
||||||
|
|
||||||
|
<!-- Enable 802.11ac for Wifi hotspot (SAP) -->
|
||||||
|
<bool name="config_wifi_softap_ieee80211ac_supported">true</bool>
|
||||||
|
|
||||||
|
<!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
|
||||||
|
<bool translatable="false" name="config_wifi_fast_bss_transition_enabled">true</bool>
|
||||||
|
|
||||||
|
<!-- Enable adding minimum confirmation duration when sending network score to connectivity service. -->
|
||||||
|
<bool translatable="false" name="config_wifiMinConfirmationDurationSendNetworkScoreEnabled">true</bool>
|
||||||
|
|
||||||
|
<!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery -->
|
||||||
|
<integer name="config_wifi_framework_recovery_timeout_delay">3000</integer>
|
||||||
|
|
||||||
|
<!-- Disable WPA2 to WPA3 auto-upgrade -->
|
||||||
|
<bool translatable="false" name="config_wifiSaeUpgradeEnabled">false</bool>
|
||||||
|
|
||||||
|
<!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
|
||||||
|
<bool name="config_wifi_softap_sae_supported">true</bool>
|
||||||
|
|
||||||
|
<!-- Wifi driver Automatic channel selection (ACS) for softap to include DFS channels -->
|
||||||
|
<bool translatable="false" name="config_wifiSoftapAcsIncludeDfs">true</bool>
|
||||||
|
|
||||||
|
<!-- Integer indicating maximum hardware supported client number of soft ap -->
|
||||||
|
<integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">32</integer>
|
||||||
|
|
||||||
|
<!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) -->
|
||||||
|
<bool translatable="false" name="config_wifi_only_link_same_credential_configurations">false</bool>
|
||||||
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user