sm6150-common: WifiOverlay: Align config.xml with AOSP

Change-Id: Icf2ed910505ec1872cb7250141b821a005fc1a23
This commit is contained in:
Arian 2022-06-27 16:56:13 +02:00
parent 57d5f1f1d4
commit 4162106c46
3 changed files with 34 additions and 46 deletions

View File

@ -1,6 +1,11 @@
//
// Copyright (C) 2022 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "WifiOverlay",
theme: "WifiOverlay",
sdk_version: "current",
product_specific: true
}

View File

@ -13,7 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Pixel specific wifi overlays -->
<!-- Xiaomi sm6150 specific wifi overlays -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.xiaomi_sm6150"
android:versionCode="1"

View File

@ -1,60 +1,43 @@
<?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.
<!--
Copyright (C) 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<!-- 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 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 translatable="false" name="config_wifi5ghzSupport">true</bool>
<bool name="config_wifi5ghzSupport" translatable="false">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>
<!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
<bool name="config_wifi_softap_acs_supported" translatable="false">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 translatable="false" name="config_wifi_background_scan_support">true</bool>
<!-- Wifi driver supports IEEE80211AC for softap -->
<bool name="config_wifi_softap_ieee80211ac_supported" translatable="false">true</bool>
<!-- Indicates that connected MAC randomization is supported on this device -->
<bool name="config_wifi_connected_mac_randomization_supported" translatable="false">true</bool>
<!-- Indicates that p2p MAC randomization is supported on this device -->
<bool name="config_wifi_p2p_mac_randomization_supported" translatable="false">true</bool>
<!-- Indicates that AP mode MAC randomization is supported on this device -->
<bool name="config_wifi_ap_mac_randomization_supported" translatable="false">true</bool>
<!-- Indicates that wifi link probing is supported on this device -->
<bool name="config_wifi_link_probing_supported" translatable="false">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,4194304</string>
<!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
<bool translatable="false" name="config_wifi_softap_acs_supported">true</bool>
<!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
<bool name="config_wifi_fast_bss_transition_enabled" translatable="false">true</bool>
<!-- Wifi driver supports IEEE80211AC for softap -->
<bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">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>
<!-- Indicates that AP mode MAC randomization is supported on this device -->
<bool name="config_wifi_ap_mac_randomization_supported">true</bool>
<!-- Indicates that wifi link probing is supported on this device -->
<bool name="config_wifi_link_probing_supported">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" translatable="false">true</bool>
</resources>