Snap for 8183730 from ef4743116a
to udc-release
Change-Id: Ibc242c47631c79ad8ec09b939ec562f3d1353a80
This commit is contained in:
@@ -33,8 +33,10 @@
|
||||
<!-- TDM 0 setting -->
|
||||
<ctl name="TDM_0_RX Chan" value="Four"/>
|
||||
<ctl name="TDM_0_RX Format" value="S32_LE"/>
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Chan" value="Four"/>
|
||||
<ctl name="TDM_0_TX Format" value="S32_LE"/>
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
|
||||
<!-- Haptic setting -->
|
||||
<ctl name="HAPTIC_RX Format" value="S32_LE"/>
|
||||
@@ -44,6 +46,10 @@
|
||||
<ctl name="RX Slots" id="0" value="2"/>
|
||||
<ctl name="RX Slots" id="1" value="3"/>
|
||||
|
||||
<!-- Cirrus default 96K -->
|
||||
<ctl name="Default 96K" value="1"/>
|
||||
<ctl name="R Default 96K" value="1"/>
|
||||
|
||||
<!-- Cirrus Booster Amp TDM slot assignment-->
|
||||
<!-- RX slot -->
|
||||
<ctl name="ASPRX1 Slot Position" value="0"/>
|
||||
@@ -67,8 +73,8 @@
|
||||
<ctl name="R DRE DRE Switch" value="1"/>
|
||||
|
||||
<!-- Cirrus Booster Amp Output Gain -->
|
||||
<ctl name="AMP PCM Gain" value="17"/>
|
||||
<ctl name="R AMP PCM Gain" value="17"/>
|
||||
<ctl name="AMP PCM Gain" value="10"/>
|
||||
<ctl name="R AMP PCM Gain" value="10"/>
|
||||
<ctl name="Digital PCM Volume" value="817"/>
|
||||
<ctl name="R Digital PCM Volume" value="817"/>
|
||||
|
||||
@@ -77,8 +83,8 @@
|
||||
<ctl name="R Main AMP Enable Switch" value="0"/>
|
||||
|
||||
<!-- Cirrus Booster mode -->
|
||||
<ctl name="PCM Source" value="DSP"/>
|
||||
<ctl name="R PCM Source" value="DSP"/>
|
||||
<ctl name="PCM Source" value="ASP"/>
|
||||
<ctl name="R PCM Source" value="ASP"/>
|
||||
<ctl name="DSP1 Firmware" value="Protection"/>
|
||||
<ctl name="R DSP1 Firmware" value="Protection"/>
|
||||
<ctl name="DSP RX1 Source" value="ASPRX1"/>
|
||||
|
@@ -17,8 +17,6 @@
|
||||
<ctl name="MIC3" value="0" />
|
||||
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_ON" />
|
||||
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_48K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_48K" />
|
||||
<ctl name="TDM_0_RX Mixer US" value="0" />
|
||||
<ctl name="US Record Enable" value="0" />
|
||||
|
||||
@@ -111,7 +109,7 @@
|
||||
</path>
|
||||
|
||||
<path name="mic2-only">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="3" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
@@ -275,6 +273,13 @@
|
||||
<ctl name="USB_RX Mixer EP3" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-record usb-headset-mic">
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
|
||||
<ctl name="USB Capture FORMAT v2" value="1" />
|
||||
<ctl name="USB Config To AoC v2" value="1"/>
|
||||
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="us-mfg-playback speaker">
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.bluetooth</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<version>1.1</version>
|
||||
<interface>
|
||||
<name>IBluetoothHci</name>
|
||||
<instance>default</instance>
|
||||
|
57
bluetooth/qti_default.mk
Normal file
57
bluetooth/qti_default.mk
Normal file
@@ -0,0 +1,57 @@
|
||||
#
|
||||
# Copyright (C) 2021 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.
|
||||
#
|
||||
|
||||
# Bluetooth HAL and Pixel extension
|
||||
DEVICE_MANIFEST_FILE += \
|
||||
device/google/lynx/bluetooth/manifest_bluetooth.xml
|
||||
|
||||
BOARD_SEPOLICY_DIRS += device/google/lynx-sepolicy/bluetooth
|
||||
|
||||
BOARD_HAVE_BLUETOOTH_QCOM = true
|
||||
BOARD_USES_COMMON_BLUETOOTH_HAL = true
|
||||
QCOM_BLUETOOTH_USING_DIAG = false
|
||||
TARGET_BLUETOOTH_HCI_V1_1 = true
|
||||
TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18"
|
||||
UART_USE_TERMIOS_AFC = true
|
||||
TARGET_USE_QTI_BT_IBS = false
|
||||
TARGET_USE_QTI_BT_OBS = true
|
||||
TARGET_USE_QTI_BT_SAR = true
|
||||
TARGET_USE_QTI_BT_CHANNEL_AVOIDANCE = true
|
||||
ifeq ($(TARGET_BLUETOOTH_HCI_V1_1),true)
|
||||
PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-impl-qti
|
||||
else
|
||||
PRODUCT_PACKAGES += android.hardware.bluetooth@1.0-impl-qti
|
||||
endif
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.bluetooth@1.0-service-qti \
|
||||
hardware.google.bluetooth.sar@1.0-impl \
|
||||
hardware.google.bluetooth.bt_channel_avoidance@1.0-impl
|
||||
|
||||
# Bluetooth SAR test tools
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
bluetooth_sar_test
|
||||
|
||||
# Bluetooth SoC, BDA in device tree, and WiPower
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
vendor.qcom.bluetooth.soc=hastings \
|
||||
ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/config/bt_addr \
|
||||
ro.vendor.bluetooth.emb_wp_mode=false \
|
||||
ro.vendor.bluetooth.wipower=false
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.bluetooth.a2dp_offload.supported=true \
|
||||
persist.bluetooth.a2dp_offload.disabled=true \
|
||||
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
|
@@ -25,10 +25,9 @@ $(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/lynx/de
|
||||
include device/google/gs201/device-shipping-common.mk
|
||||
include device/google/lynx/audio/lynx/audio-tables.mk
|
||||
include hardware/google/pixel/vibrator/cs40l26/device.mk
|
||||
include device/google/gs101/bluetooth/bluetooth.mk
|
||||
|
||||
SOONG_CONFIG_lyric_tuning_product := cloudripper
|
||||
SOONG_CONFIG_google3a_config_target_device := cloudripper
|
||||
$(call soong_config_set,lyric,tuning_product,cloudripper)
|
||||
$(call soong_config_set,google3a_config,target_device,cloudripper)
|
||||
|
||||
# Init files
|
||||
PRODUCT_COPY_FILES += \
|
||||
@@ -81,16 +80,8 @@ DEVICE_MANIFEST_FILE += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/lynx/thermal_info_config_lynx.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
|
||||
|
||||
# Bluetooth HAL
|
||||
DEVICE_MANIFEST_FILE += \
|
||||
device/google/lynx/bluetooth/manifest_bluetooth.xml
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/broadcom/bluetooth
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.bluetooth@1.1-service.bcmbtlinux \
|
||||
bt_vendor.conf
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/lynx/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
|
||||
# Bluetooth HAL and Pixel extension
|
||||
include device/google/lynx/bluetooth/qti_default.mk
|
||||
|
||||
# Keymaster HAL
|
||||
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
|
||||
@@ -122,10 +113,6 @@ PRODUCT_COPY_FILES += \
|
||||
# ro.hardware.keystore=software \
|
||||
# ro.hardware.gatekeeper=software
|
||||
|
||||
# default BDADDR for EVB only
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
|
||||
|
||||
# Fingerprint HAL
|
||||
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
|
||||
include device/google/gs101/fingerprint/udfps_common.mk
|
||||
@@ -141,3 +128,16 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||
|
||||
# Trusty liboemcrypto.so
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts
|
||||
|
||||
# GPS xml
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/lynx/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||
else
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/lynx/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||
endif
|
||||
|
||||
# DCK properties based on target
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.gms.dck.eligible_wcc=2
|
||||
|
@@ -31,7 +31,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
|
||||
|
||||
# Factory binaries of camera
|
||||
PRODUCT_PACKAGES += fatp_c10p10_wide_hat_tool
|
||||
PRODUCT_PACKAGES += fatp_imx787_hat_tool
|
||||
|
||||
# Factory binaries of wifi
|
||||
PRODUCT_PACKAGES += myftm
|
||||
|
86
gps.xml.l10
Normal file
86
gps.xml.l10
Normal file
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||
<hal
|
||||
PortName="/dev/ttyBCM"
|
||||
BaudRate="921600"
|
||||
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
||||
CustGpioDelayMs="250"
|
||||
LogEnabled="true"
|
||||
Log="JAVA"
|
||||
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
|
||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||
|
||||
acSuplServer="supl.google.com"
|
||||
SuplPort="7275"
|
||||
SuplLogEnable="true"
|
||||
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||
tlsEnable="true"
|
||||
|
||||
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||
SuplEnable="true"
|
||||
SuplUseApn="true"
|
||||
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||
SuplUT1Seconds="20"
|
||||
SuplUT2Seconds="20"
|
||||
SuplUT3Seconds="20"
|
||||
TcpConnectionTimeout="20"
|
||||
SuplLppCapable="true"
|
||||
SuplEcidCapable="true"
|
||||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
SuplMgpsCapable = "true"
|
||||
|
||||
RtoEnable="true"
|
||||
RtiEnable="true"
|
||||
HttpSyncLto="true"
|
||||
LtoFileName="lto2.dat"
|
||||
LtoDir="/data/vendor/gps/"
|
||||
LtoSyncThresholdDays="1"
|
||||
|
||||
GnssYearOfHardware="2020"
|
||||
CpGuardTimeSec="1"
|
||||
CpLppGuardTimeSec="1"
|
||||
IgnoreInjectedSystemTime="true"
|
||||
|
||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||
|
||||
AssertEnabled="true"
|
||||
CpLppeCancelDbhOnAgnssProvideLoc="true"
|
||||
CpLppeUseAgnssLocForEmptyDbh="true"
|
||||
/>
|
||||
|
||||
<gll
|
||||
LogPriMask="LOG_INFO"
|
||||
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1"
|
||||
MultiCarrLnaMask="L1_EXT_ON"
|
||||
RfType="GL_RF_4776_BRCM"
|
||||
EnableFilteringForLTEB13="true"
|
||||
|
||||
WarmStandbyTimeout1Seconds="10"
|
||||
WarmStandbyTimeout2Seconds="15"
|
||||
|
||||
EnableGnssPropagateInStandby="true"
|
||||
|
||||
RfPathLossDb_Ap="4"
|
||||
RfPathLossDb_Cp="4"
|
||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||
|
||||
EnableOnChipStopNotification="2"
|
||||
PowerMode="3"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
EnableNicAutoSwitch="true"
|
||||
/>
|
||||
|
||||
</glgps>
|
||||
|
86
gps_user.xml.l10
Normal file
86
gps_user.xml.l10
Normal file
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||
<hal
|
||||
PortName="/dev/ttyBCM"
|
||||
BaudRate="921600"
|
||||
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
||||
CustGpioDelayMs="250"
|
||||
LogEnabled="false"
|
||||
Log="JAVA"
|
||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||
|
||||
acSuplServer="supl.google.com"
|
||||
SuplPort="7275"
|
||||
SuplLogEnable="false"
|
||||
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||
tlsEnable="true"
|
||||
|
||||
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||
SuplEnable="true"
|
||||
SuplUseApn="true"
|
||||
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||
SuplUT1Seconds="20"
|
||||
SuplUT2Seconds="20"
|
||||
SuplUT3Seconds="20"
|
||||
TcpConnectionTimeout="20"
|
||||
SuplLppCapable="true"
|
||||
SuplEcidCapable="true"
|
||||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
SuplMgpsCapable = "true"
|
||||
|
||||
RtoEnable="true"
|
||||
RtiEnable="true"
|
||||
HttpSyncLto="true"
|
||||
LtoFileName="lto2.dat"
|
||||
LtoDir="/data/vendor/gps/"
|
||||
LtoSyncThresholdDays="1"
|
||||
|
||||
GnssYearOfHardware="2020"
|
||||
CpGuardTimeSec="1"
|
||||
CpLppGuardTimeSec="1"
|
||||
IgnoreInjectedSystemTime="true"
|
||||
|
||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||
|
||||
AssertEnabled="false"
|
||||
CpLppeCancelDbhOnAgnssProvideLoc="true"
|
||||
CpLppeUseAgnssLocForEmptyDbh="true"
|
||||
/>
|
||||
|
||||
<gll
|
||||
LogPriMask="LOG_INFO"
|
||||
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1"
|
||||
MultiCarrLnaMask="L1_EXT_ON"
|
||||
RfType="GL_RF_4776_BRCM"
|
||||
EnableFilteringForLTEB13="true"
|
||||
|
||||
WarmStandbyTimeout1Seconds="10"
|
||||
WarmStandbyTimeout2Seconds="15"
|
||||
|
||||
EnableGnssPropagateInStandby="true"
|
||||
|
||||
RfPathLossDb_Ap="4"
|
||||
RfPathLossDb_Cp="4"
|
||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||
|
||||
EnableOnChipStopNotification="false"
|
||||
PowerMode="3"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
EnableNicAutoSwitch="true"
|
||||
/>
|
||||
|
||||
</glgps>
|
||||
|
||||
|
@@ -170,7 +170,7 @@
|
||||
<hal format="hidl">
|
||||
<name>vendor.google.google_battery</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.1</version>
|
||||
<version>1.2</version>
|
||||
<interface>
|
||||
<name>IGoogleBattery</name>
|
||||
<instance>default</instance>
|
||||
|
@@ -15,7 +15,7 @@
|
||||
soong_namespace {
|
||||
imports: [
|
||||
"hardware/google/pixel",
|
||||
"device/google/gs201",
|
||||
"device/google/gs201/powerstats",
|
||||
]
|
||||
}
|
||||
|
||||
|
18
rro_overlays/WifiOverlay/Android.bp
Normal file
18
rro_overlays/WifiOverlay/Android.bp
Normal file
@@ -0,0 +1,18 @@
|
||||
package {
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "//device/google/lynx:device_google_lynx_license""
|
||||
// to get the below license kinds:
|
||||
// SPDX-license-identifier-Apache-2.0
|
||||
default_applicable_licenses: [
|
||||
"//device/google/lynx:device_google_lynx_license",
|
||||
],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "WifiOverlay2023Mid",
|
||||
theme: "WifiOverlay2023Mid",
|
||||
certificate: "platform",
|
||||
sdk_version: "current",
|
||||
product_specific: true
|
||||
}
|
27
rro_overlays/WifiOverlay/AndroidManifest.xml
Normal file
27
rro_overlays/WifiOverlay/AndroidManifest.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2022 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.
|
||||
-->
|
||||
<!-- Pixel specific wifi overlays -->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.wifi.resources.pixel"
|
||||
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="1"/>
|
||||
</manifest>
|
3
rro_overlays/WifiOverlay/OWNERS
Normal file
3
rro_overlays/WifiOverlay/OWNERS
Normal file
@@ -0,0 +1,3 @@
|
||||
# People who can approve changes for submission
|
||||
kumachang@google.com
|
||||
hsuvictor@google.com
|
138
rro_overlays/WifiOverlay/res/values/config.xml
Normal file
138
rro_overlays/WifiOverlay/res/values/config.xml
Normal file
@@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
/*
|
||||
* Copyright (C) 2022 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.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- Boolean indicating whether the wifi chipset has 5GHz frequency band support -->
|
||||
<bool translatable="false" name="config_wifi5ghzSupport">true</bool>
|
||||
|
||||
<!-- boolean indicating whether the WiFi chipset has 6GHz band support -->
|
||||
<bool translatable="false" name ="config_wifi6ghzSupport">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>
|
||||
|
||||
<!-- Boolean indicating whether the wifi chipset has background scan support -->
|
||||
<bool translatable="false" name="config_wifi_background_scan_support">true</bool>
|
||||
|
||||
<!-- Integer thresholds, do not connect to APs with RSSI lower than these values -->
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer>
|
||||
<!-- Integer thresholds for low network score, should be somewhat less than the entry thresholds -->
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer>
|
||||
|
||||
<!-- Boolean indicating whether or not to revert to default country code when cellular
|
||||
radio is unable to find any MCC information to infer wifi country code from -->
|
||||
<bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool>
|
||||
|
||||
<!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
|
||||
<bool translatable="false" name="config_wifi_turn_off_during_emergency_call">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,2097152,8388608,262144,524288,4194304</string>
|
||||
|
||||
<!-- Enable ACS (auto channel selection) for Wifi hotspot (SAP) -->
|
||||
<bool translatable="false" name="config_wifi_softap_acs_supported">true</bool>
|
||||
|
||||
<!-- Enable 802.11ac for Wifi hotspot (SAP) -->
|
||||
<bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
|
||||
|
||||
<!-- True if the firmware supports connected MAC randomization -->
|
||||
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- True if the firmware supports p2p MAC randomization -->
|
||||
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- True if the firmware supports ap MAC randomization -->
|
||||
<bool name="config_wifi_ap_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- True if the firmware supports Wi-Fi link probing -->
|
||||
<bool name="config_wifi_link_probing_supported">true</bool>
|
||||
|
||||
<!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds -->
|
||||
<bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">true</bool>
|
||||
|
||||
<!-- Default access point SSID used for tethering -->
|
||||
<string name="wifi_tether_configure_ssid_default" translatable="false">Pixel</string>
|
||||
|
||||
<!-- Integer indicating maximum hardware supported client number of soft ap -->
|
||||
<integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">32</integer>
|
||||
|
||||
<!-- Array indicating wifi fatal firmware alert error code list from driver -->
|
||||
<array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list">
|
||||
<item>1</item> <!-- WLAN_LOG_REASON_ROAM_FAIL -->
|
||||
<item>256</item> <!-- DATA_STALL_LOG_NONE -->
|
||||
<item>257</item> <!-- DATA_STALL_LOG_FW_VDEV_PAUSE -->
|
||||
<item>258</item> <!-- DATA_STALL_LOG_HWSCHED_CMD_FILTER -->
|
||||
<item>259</item> <!-- DATA_STALL_LOG_HWSCHED_CMD_FLUSH -->
|
||||
<item>260</item> <!-- DATA_STALL_LOG_FW_RX_REFILL_FAILED -->
|
||||
<item>261</item> <!-- DATA_STALL_LOG_FW_RX_FCS_LEN_ERROR -->
|
||||
<item>262</item> <!-- DATA_STALL_LOG_FW_WDOG_ERRORS -->
|
||||
<item>263</item> <!-- DATA_STALL_LOG_BB_WDOG_ERROR -->
|
||||
<item>264</item> <!-- DATA_STALL_LOG_POST_TIM_NO_TXRX_ERROR -->
|
||||
<item>512</item> <!-- DATA_STALL_LOG_HOST_STA_TX_TIMEOUT -->
|
||||
<item>513</item> <!-- DATA_STALL_LOG_HOST_SOFTAP_TX_TIMEOUT -->
|
||||
<item>514</item> <!-- DATA_STALL_LOG_NUD_FAILURE -->
|
||||
</array>
|
||||
|
||||
<!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery -->
|
||||
<integer name="config_wifi_framework_recovery_timeout_delay">3000</integer>
|
||||
|
||||
<!-- Number of self recoveries to be attempted per hour. Any fatal errors beyond this will
|
||||
cause the wifi stack to turn wifi off and wait for user input.
|
||||
Set to 0 to turn off recovery attempts and always turn off wifi on failures -->
|
||||
<integer translatable="false" name="config_wifiMaxNativeFailureSelfRecoveryPerHour">10</integer>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX for softap -->
|
||||
<bool translatable="false" name="config_wifiSoftapIeee80211axSupported">true</bool>
|
||||
|
||||
<!-- Indicates that 11ax mode is supported on this device
|
||||
Note that if this flag is set to true, then 11ax is assumed to be supported.
|
||||
However, if it is left to the default value of false, the 11ax support will
|
||||
be checked via NL80211 interface -->
|
||||
<bool translatable="false" name="config_wifi11axSupportOverride">true</bool>
|
||||
|
||||
<!-- Wifi driver supports 6GHz band for softap -->
|
||||
<bool translatable="false" name="config_wifiSoftap6ghzSupported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
|
||||
<bool translatable="false" name="config_wifi_softap_sae_supported">true</bool>
|
||||
|
||||
<!-- Enable adding minimum confirmation duration when sending network score to connectivity service. -->
|
||||
<bool translatable="false" name="config_wifiMinConfirmationDurationSendNetworkScoreEnabled">true</bool>
|
||||
|
||||
<!-- Disable channel utilization estimation with fixed value.
|
||||
b/160239223: Rx time is excluded in cca busy time and channel utilization is calculated
|
||||
correctly during heavy DL traffic -->
|
||||
<bool translatable="false" name="config_wifiChannelUtilizationOverrideEnabled">false</bool>
|
||||
|
||||
<!-- Indicates that SAE Hash-to-Element is supported on this device -->
|
||||
<bool translatable="false" name="config_wifiSaeH2eSupported">true</bool>
|
||||
|
||||
<!-- Enable the default coex channel avoidance algorithm and disable the functionality of
|
||||
WifiManager#setCoexUnsafeChannels. -->
|
||||
<bool translatable="false" name="config_wifiDefaultCoexAlgorithmEnabled">true</bool>
|
||||
|
||||
<!-- Whether to use the explicit vendor HAL API: IWifiStaIface.setRoamingState for disabling fw roaming. -->
|
||||
<bool translatable="false" name="config_wifiUseHalApiToDisableFwRoaming">true</bool>
|
||||
|
||||
<!-- Indicate the driver doesn't support NL80211 Reg changed event -->
|
||||
<bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">true</bool>
|
||||
</resources>
|
Reference in New Issue
Block a user