sm8250-common: Import WifiResCommon from stock
Change-Id: I009437c1b6d0d989a2441f6051706f5f885c0061
This commit is contained in:
parent
5d377ba4d6
commit
97c17043ca
6 changed files with 73 additions and 0 deletions
|
@ -223,6 +223,10 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
update_engine_client
|
update_engine_client
|
||||||
|
|
||||||
|
# WiFi
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
WifiResCommon
|
||||||
|
|
||||||
# WiFi Display
|
# WiFi Display
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libnl
|
libnl
|
||||||
|
|
7
rro_overlays/WifiResCommon/Android.bp
Normal file
7
rro_overlays/WifiResCommon/Android.bp
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "WifiResCommon",
|
||||||
|
theme: "WifiResCommon",
|
||||||
|
certificate: "platform",
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true
|
||||||
|
}
|
12
rro_overlays/WifiResCommon/AndroidManifest.xml
Normal file
12
rro_overlays/WifiResCommon/AndroidManifest.xml
Normal 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>
|
38
rro_overlays/WifiResCommon/res/values/bools.xml
Normal file
38
rro_overlays/WifiResCommon/res/values/bools.xml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?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 WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
|
||||||
|
<bool name="config_wifi_softap_sae_supported">true</bool>
|
||||||
|
</resources>
|
5
rro_overlays/WifiResCommon/res/values/integers.xml
Normal file
5
rro_overlays/WifiResCommon/res/values/integers.xml
Normal 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>
|
7
rro_overlays/WifiResCommon/res/values/strings.xml
Normal file
7
rro_overlays/WifiResCommon/res/values/strings.xml
Normal 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>
|
Loading…
Reference in a new issue