sm8250-common: Import WifiResTarget from stock

* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys

Change-Id: Icfd70a632425aec908b2189710ecf31ee21449cc
This commit is contained in:
Sebastiano Barezzi 2021-02-11 10:17:57 +01:00
parent b93af39cf6
commit c5b104ab5b
No known key found for this signature in database
GPG Key ID: 47760583F393BC44
6 changed files with 78 additions and 0 deletions

View File

@ -403,6 +403,7 @@ PRODUCT_PACKAGES += \
libwifi-hal-qcom \
vendor.qti.hardware.wifi.hostapd@1.2.vendor \
vendor.qti.hardware.wifi.supplicant@2.1.vendor \
WifiResCommon \
wpa_supplicant \
wpa_supplicant.conf

View File

@ -0,0 +1,6 @@
runtime_resource_overlay {
name: "WifiResCommon",
theme: "WifiResCommon",
sdk_version: "current",
product_specific: true
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.overlay.common"
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>

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Integer indicating maximum hardware supported client number of soft ap -->
<bool name="config_vendorWifi11axReadySupport">true</bool>
<!-- boolean indicating whether or not to reset channel configuration during cloud configuration restore -->
<bool name="config_vendor_wifi_softap_owe_supported">true</bool>
<!-- boolean indicating whether the WiFi chipset has 5GHz band support.
Note: This config is replacing the config_wifi_dual_band_support
since more bands may now be supported (such as 6GHz), the naming dual_band
is no longer indicative, and a separate config now exists for each band -->
<bool name="config_wifi5ghzSupport">true</bool>
<!-- Wifi driver Automatic channel selection (ACS) for softap to include DFS channels -->
<bool name="config_wifiSoftapAcsIncludeDfs">true</bool>
<!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
This mechanism allows the host to remain in suspend state and the dongle to actively
scan and wake the host when a configured SSID is detected by the dongle. This chipset
capability can provide power savings when wifi needs to be always kept on. -->
<bool name="config_wifi_background_scan_support">true</bool>
<!-- Indicates that connected MAC randomization is supported on this device -->
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
<!-- Indicates that p2p MAC randomization is supported on this device -->
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
<!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
<bool name="config_wifi_softap_acs_supported">true</bool>
<!-- Wifi driver supports IEEE80211AC for softap -->
<bool name="config_wifi_softap_ieee80211ac_supported">true</bool>
<!-- Wifi driver supports IEEE80211AX for softap -->
<bool name="config_wifiSoftapIeee80211axSupported">true</bool>
<!-- Wifi driver supports IEEE80211AX single user beamformee for softap -->
<bool name="config_wifiSoftapHeSuBeamformeeSupported">true</bool>
<!-- Wifi driver supports IEEE80211AX multiple user beamformer for softap -->
<bool name="config_wifiSoftapHeSuBeamformerSupported">true</bool>
<!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
<bool name="config_wifi_softap_sae_supported">true</bool>
</resources>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Integer indicating maximum hardware supported client number of soft ap -->
<integer name="config_wifiHardwareSoftapMaxClientCount">32</integer>
</resources>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- List of allowed channels in 2GHz band for softap. If the device doesn't want to restrict
channels this should be empty. Values is a comma separated channel string and/or channel
range string like '1-6,11'. -->
<string name="config_wifiSoftap2gChannelList"></string>
</resources>