sm6225-common: Bringup overlays
References: https://github.com/LineageOS/android_device_motorola_sm8475-common, https://github.com/LineageOS/android_device_xiaomi_sm8450-common and https://github.com/LineageOS/android_device_osom_ingot
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: razorloves <razorloves@gmail.com>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Co-authored-by: SGCMarkus <markusornik@gmail.com>
Change-Id: I5726f54ff0e18cc2001eff9aff55ccd548eea2e3
diff --git a/overlay/bengal/Wifi/Android.bp b/overlay/bengal/Wifi/Android.bp
new file mode 100644
index 0000000..80f6d42
--- /dev/null
+++ b/overlay/bengal/Wifi/Android.bp
@@ -0,0 +1,9 @@
+//
+// SPDX-FileCopyrightText: 2024-2025 The LineageOS Project
+// SPDX-License-Identifier: Apache-2.0
+//
+
+runtime_resource_overlay {
+ name: "WifiResTarget",
+ vendor: true,
+}
diff --git a/overlay/bengal/Wifi/AndroidManifest.xml b/overlay/bengal/Wifi/AndroidManifest.xml
new file mode 100644
index 0000000..a3df0ff
--- /dev/null
+++ b/overlay/bengal/Wifi/AndroidManifest.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--Copyright (c) 2020, Qualcomm Technologies, Inc.
+ All Rights Reserved.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.wifi.resources.overlay.target">
+ <overlay android:targetPackage="com.android.wifi.resources" android:targetName = "WifiCustomization" android:isStatic="true" android:priority="500"/>
+</manifest>
diff --git a/overlay/bengal/Wifi/res/values/config.xml b/overlay/bengal/Wifi/res/values/config.xml
new file mode 100644
index 0000000..508e918
--- /dev/null
+++ b/overlay/bengal/Wifi/res/values/config.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2020 Qualcomm Technologies, Inc.
+ All Rights Reserved.
+-->
+
+<resources>
+ <!-- Wifi driver supports IEEE80211AX for softap -->
+ <bool translatable="false" name="config_wifiSoftapIeee80211axSupported">true</bool>
+
+ <!-- Wifi driver supports IEEE80211AX single user beamformer for softap -->
+ <bool translatable="false" name="config_wifiSoftapHeSuBeamformerSupported">true</bool>
+
+ <!-- Wifi driver supports IEEE80211AX single user beamformee for softap -->
+ <bool translatable="false" name="config_wifiSoftapHeSuBeamformeeSupported">true</bool>
+
+ <!-- Wifi driver supports IEEE80211AX multiple user beamformer for softap -->
+ <bool translatable="false" name="config_wifiSoftapHeMuBeamformerSupported">true</bool>
+
+ <!-- Wifi driver supports IEEE80211AX TWT (Target Wake Time) for softap -->
+ <bool translatable="false" name="config_wifiSoftapHeTwtSupported">true</bool>
+
+ <!-- Indicate the driver support NL80211_REG_CHANGED event. -->
+ <bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">true</bool>
+
+ <!-- Indicate the device support request channel on Wi-Fi Aware data-path. -->
+ <bool translatable="false" name="config_wifiSupportChannelOnDataPath">true</bool>
+
+ <!-- Enable concurrent Bridged access point (AP) support -->
+ <bool translatable="false" name="config_wifiBridgedSoftApSupported">true</bool>
+
+ <!-- Enable concurrent STA + STA peer to peer + internet connectivity -->
+ <bool translatable="false" name="config_wifiMultiStaLocalOnlyConcurrencyEnabled">true</bool>
+
+ <!-- Enable concurrent STA + STA MBB support -->
+ <bool translatable="false" name="config_wifiMultiStaNetworkSwitchingMakeBeforeBreakEnabled">true</bool>
+
+ <!-- Wifi driver supports 5GHz band for softap when chip support 5GHz -->
+ <bool translatable="false" name="config_wifiSoftap5ghzSupported">true</bool>
+
+ <!-- Indicates that STA + bridged AP concurrency mode is supported on this device -->
+ <bool translatable="false" name="config_wifiStaWithBridgedSoftApConcurrencySupported">true</bool>
+
+ <!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
+ <bool translatable="false" name="config_wifi_softap_acs_supported">true</bool>
+</resources>