Jelajahi Sumber

sm8450-common: overlay: Update Wifi overlay from LA.VENDOR.1.0.r1-15600-WAIPIO.0

Change-Id: Ie1e9980cbc138050de6631709f4ad2cc4bd06230
Arian 1 tahun lalu
induk
melakukan
a0bcbb8e7c

+ 3 - 0
overlay/WifiResCommon_Sys/res/values/config.xml

@@ -10,6 +10,9 @@
          is no longer indicative, and a separate config now exists for each band -->
          is no longer indicative, and a separate config now exists for each band -->
     <bool name="config_wifi5ghzSupport" translatable="false">true</bool>
     <bool name="config_wifi5ghzSupport" translatable="false">true</bool>
 
 
+    <!-- boolean indicating whether or not to auto-upgrade band setting configuration to dual bands during cloud configuration restore when device supported -->
+    <bool name="config_wifiSoftapAutoUpgradeToBridgedConfigWhenSupported" translatable="false">false</bool>
+
     <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
     <!-- 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
          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
          scan and wake the host when a configured SSID is detected by the dongle. This chipset

+ 0 - 11
overlay/WifiResTarget/res/values/bools.xml

@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-     Copyright (C) 2024 The LineageOS Project
-     SPDX-License-Identifier: Apache-2.0
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-    <bool name="config_vendor_softap_beacon_protection_supported">true</bool>
-    <bool name="config_vendor_softap_ocv_supported">true</bool>
-    <bool name="config_wifiConnectedFrequencyEnhancementEnabled">true</bool>
-    <bool name="config_wifi_framework_enable_quick_connect">true</bool>
-</resources>

+ 0 - 8
overlay/WifiResTarget/res/values/integers.xml

@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-     Copyright (C) 2024 The LineageOS Project
-     SPDX-License-Identifier: Apache-2.0
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-    <integer name="config_wifi_partial_scan_results_fetching_period_ms">1000</integer>
-</resources>

+ 1 - 1
overlay/WifiResTarget_spf/Android.bp

@@ -1,5 +1,5 @@
 //
 //
-// Copyright (C) 2022 The LineageOS Project
+// Copyright (C) 2024 The LineageOS Project
 //
 //
 // SPDX-License-Identifier: Apache-2.0
 // SPDX-License-Identifier: Apache-2.0
 //
 //

+ 1 - 1
overlay/WifiResTarget_spf/AndroidManifest.xml

@@ -1,5 +1,5 @@
 <!--
 <!--
-     Copyright (C) 2022 The LineageOS Project
+     Copyright (C) 2024 The LineageOS Project
      SPDX-License-Identifier: Apache-2.0
      SPDX-License-Identifier: Apache-2.0
 -->
 -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"

+ 12 - 0
overlay/WifiResTarget_spf/res/values/config.xml

@@ -43,4 +43,16 @@
 
 
     <!-- Indicates that SAE Hash-to-Element is supported on this device -->
     <!-- Indicates that SAE Hash-to-Element is supported on this device -->
     <bool name="config_wifiSaeH2eSupported" translatable="false">true</bool>
     <bool name="config_wifiSaeH2eSupported" translatable="false">true</bool>
+
+    <!-- Indicates whether or not the WLAN driver supports the NL80211_CMD_REG_CHANGE or
+         NL80211_CMD_WIPHY_REG_CHANGE events which indicate the current country code which is
+         being used by the WLAN driver. If the driver doesn't support these events
+         (configuration is `false`) then the driver must handle the setCountryCode request from
+         HAL as a blocking call. In such a case the country code will be applied
+         immediately after the country code is sent to the driver (if the method returns a
+         success). -->
+    <bool name="config_wifiDriverSupportedNl80211RegChangedEvent" translatable="false">true</bool>
+
+    <!-- Indicates whether or not the Soft AP needs to be restarted when country code changed -->
+    <bool name="config_wifiForcedSoftApRestartWhenCountryCodeChanged" translatable="false">false</bool>
 </resources>
 </resources>