Snap for 8414339 from bcc7d9b325 to tm-qpr1-release

Change-Id: If8fc3f8114eb97419c9a7f85a27a9c16657e4386
This commit is contained in:
Android Build Coastguard Worker 2022-04-06 20:32:51 +00:00
commit d22a587c39
30 changed files with 711 additions and 274 deletions

View file

@ -25,7 +25,7 @@ PRODUCT_COPY_FILES += \
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
frameworks/av/services/audiopolicy/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
# AudioEffectHAL Configuration
PRODUCT_COPY_FILES += \

View file

@ -10,6 +10,7 @@
<library name="proxy" path="libeffectproxy.so"/>
<library name="offload_effect" path="liboffloadeffect.so"/>
<library name="haptic_generator" path="libhapticgenerator.so"/>
<library name="spatializer" path="libspatialaudio.so"/>
</libraries>
<effects>
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
@ -51,6 +52,7 @@
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
<effect name="spatializer" library="spatializer" uuid="cc4677de-ff72-11eb-9a03-0242ac130003"/>
</effects>
<postprocess>
</postprocess>

View file

@ -182,6 +182,7 @@
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<usecase id="UC_IMMERSIVE_PLAYBACK" dev1="3"/>
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
<!-- dev1: audio dev2: haptic -->

View file

@ -63,6 +63,10 @@
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@ -195,25 +199,25 @@
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT A2DP Out"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT A2DP Headphones"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT A2DP Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT BLE Headset"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT BLE Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -63,6 +63,10 @@
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@ -170,15 +174,15 @@
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -63,6 +63,10 @@
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@ -185,21 +189,21 @@
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT A2DP Out"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT A2DP Headphones"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT A2DP Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Bluetooth Audio HAL Audio Policy Configuration file -->
<module name="bluetooth" halVersion="2.0">
<mixPorts>
<!-- A2DP Audio Ports -->
<mixPort name="a2dp output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER"/>
<!-- Hearing AIDs Audio Ports -->
<mixPort name="hearing aid output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="24000 16000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!-- Le Audio Audio Ports -->
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="le audio input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- A2DP Audio Ports -->
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000 88200 96000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000 88200 96000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000 88200 96000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<!-- Hearing AIDs Audio Ports -->
<devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
<!-- BLE Audio Ports -->
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Headphones"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Speaker"
sources="a2dp output"/>
<route type="mix" sink="BT Hearing Aid Out"
sources="hearing aid output"/>
<route type="mix" sink="BLE Headset Out"
sources="le audio output"/>
<route type="mix" sink="le audio input"
sources="BLE Headset In"/>
<route type="mix" sink="BLE Speaker Out"
sources="le audio output"/>
</routes>
</module>

View file

@ -429,6 +429,18 @@
<path name="compress-offload-playback" />
</path>
<path name="immersive-playbackP">
<ctl name="TDM_0_RX Mixer EP4" value="1"/>
</path>
<path name="immersive-playbackP bt">
<ctl name="BT_RX Mixer EP4" value="1"/>
</path>
<path name="immersive-playbackP usb-headphone">
<ctl name="USB_RX Mixer EP4" value="1"/>
</path>
<path name="voip-playbackP">
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
</path>

View file

@ -25,7 +25,7 @@ PRODUCT_COPY_FILES += \
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
frameworks/av/services/audiopolicy/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
# AudioEffectHAL Configuration
PRODUCT_COPY_FILES += \

View file

@ -10,6 +10,7 @@
<library name="proxy" path="libeffectproxy.so"/>
<library name="offload_effect" path="liboffloadeffect.so"/>
<library name="haptic_generator" path="libhapticgenerator.so"/>
<library name="spatializer" path="libspatialaudio.so"/>
</libraries>
<effects>
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
@ -51,6 +52,7 @@
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
<effect name="spatializer" library="spatializer" uuid="cc4677de-ff72-11eb-9a03-0242ac130003"/>
</effects>
<postprocess>
</postprocess>

View file

@ -182,6 +182,7 @@
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<usecase id="UC_IMMERSIVE_PLAYBACK" dev1="3"/>
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
<!-- dev1: audio dev2: haptic -->

View file

@ -63,6 +63,10 @@
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@ -195,25 +199,25 @@
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT A2DP Out"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT A2DP Headphones"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT A2DP Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT BLE Headset"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT BLE Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -63,6 +63,10 @@
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@ -170,15 +174,15 @@
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -63,6 +63,10 @@
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@ -185,21 +189,21 @@
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT A2DP Out"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT A2DP Headphones"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="BT A2DP Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Bluetooth Audio HAL Audio Policy Configuration file -->
<module name="bluetooth" halVersion="2.0">
<mixPorts>
<!-- A2DP Audio Ports -->
<mixPort name="a2dp output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER"/>
<!-- Hearing AIDs Audio Ports -->
<mixPort name="hearing aid output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="24000 16000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!-- Le Audio Audio Ports -->
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="le audio input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- A2DP Audio Ports -->
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000 88200 96000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000 88200 96000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000 88200 96000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<!-- Hearing AIDs Audio Ports -->
<devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
<!-- BLE Audio Ports -->
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Headphones"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Speaker"
sources="a2dp output"/>
<route type="mix" sink="BT Hearing Aid Out"
sources="hearing aid output"/>
<route type="mix" sink="BLE Headset Out"
sources="le audio output"/>
<route type="mix" sink="le audio input"
sources="BLE Headset In"/>
<route type="mix" sink="BLE Speaker Out"
sources="le audio output"/>
</routes>
</module>

View file

@ -429,6 +429,18 @@
<path name="compress-offload-playback" />
</path>
<path name="immersive-playbackP">
<ctl name="TDM_0_RX Mixer EP4" value="1"/>
</path>
<path name="immersive-playbackP bt">
<ctl name="BT_RX Mixer EP4" value="1"/>
</path>
<path name="immersive-playbackP usb-headphone">
<ctl name="USB_RX Mixer EP4" value="1"/>
</path>
<path name="voip-playbackP">
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
</path>

View file

@ -174,12 +174,12 @@ PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=31
# userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_PLATFORM).wlc.rc
device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
endif
# Increment the SVN for any official public releases
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=24
ro.vendor.build.svn=25
# Set support hide display cutout feature
PRODUCT_PRODUCT_PROPERTIES += \
@ -236,5 +236,19 @@ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_offload.supported=true \
persist.bluetooth.leaudio_offload.disabled=true \
persist.bluetooth.le_audio_test=true
persist.bluetooth.le_audio_test=false
endif
# Device features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
# Dolby integration
-include vendor/dolby/ds/dolby-buildspec.mk
$(call inherit-product-if-exists, vendor/dolby/ds/dolby-product.mk)
# overwrite file coming from device/google/gs101/media_codecs_bo_c2.xml
PRODUCT_COPY_FILES := \
device/google/raviole/media_codecs_dolby_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
$(PRODUCT_COPY_FILES)
PRODUCT_RESTRICT_VENDOR_FILES := false

View file

@ -187,12 +187,12 @@ PRODUCT_SOONG_NAMESPACES += \
# userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_PLATFORM).wlc.rc
device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
endif
# Increment the SVN for any official public releases
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=24
ro.vendor.build.svn=25
# Set support hide display cutout feature
PRODUCT_PRODUCT_PROPERTIES += \
@ -253,5 +253,19 @@ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_offload.supported=true \
persist.bluetooth.leaudio_offload.disabled=true \
persist.bluetooth.le_audio_test=true
persist.bluetooth.le_audio_test=false
endif
# Device features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
# Dolby integration
-include vendor/dolby/ds/dolby-buildspec.mk
$(call inherit-product-if-exists, vendor/dolby/ds/dolby-product.mk)
# overwrite file coming from device/google/gs101/media_codecs_bo_c2.xml
PRODUCT_COPY_FILES := \
device/google/raviole/media_codecs_dolby_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
$(PRODUCT_COPY_FILES)
PRODUCT_RESTRICT_VENDOR_FILES := false

View file

@ -116,3 +116,7 @@ PRODUCT_COPY_FILES += \
# This device is shipped with 31 (Android S)
PRODUCT_SHIPPING_API_LEVEL := 31
# Device features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml

View file

@ -97,3 +97,7 @@ PRODUCT_COPY_FILES += \
# This device is shipped with 31 (Android S)
PRODUCT_SHIPPING_API_LEVEL := 31
# Device features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml

66
media_codecs_dolby_c2.xml Normal file
View file

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 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.
-->
<MediaCodecs>
<Include href="media_codecs_aosp_c2.xml" />
<Decoders>
<MediaCodec name="c2.google.av1.decoder" type="video/av01">
<Limit name="size" min="96x96" max="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="36-32400" />
<Limit name="blocks-per-second" min="24" max="1944000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="frame-rate" range="1-180" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1280x720" value="180" />
<Limit name="performance-point-1920x1080" value="120" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec>
<MediaCodec name="c2.google.av1.decoder.secure" type="video/av01">
<Limit name="size" min="96x96" max="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="36-32400" />
<Limit name="blocks-per-second" min="24" max="1944000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="frame-rate" range="1-180" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1280x720" value="180" />
<Limit name="performance-point-1920x1080" value="120" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec>
<MediaCodec name="c2.dolby.eac3.decoder">
<Type name="audio/ac3">
<Alias name="OMX.dolby.ac3.decoder"/>
<Limit name="channel-count" max="6"/>
<Limit name="sample-rate" ranges="32000,44100,48000"/>
<Limit name="bitrate" range="32000-640000"/>
</Type>
<Attribute name="software-codec"/>
<Type name="audio/eac3">
<Alias name="OMX.dolby.eac3.decoder"/>
<Limit name="channel-count" max="8"/>
<Limit name="sample-rate" ranges="32000,44100,48000"/>
<Limit name="bitrate" range="32000-6144000"/>
</Type>
</MediaCodec>
</Decoders>
</MediaCodecs>

View file

@ -227,88 +227,6 @@
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
<!-- A vibration waveform for notifications that specify DEFAULT_VIBRATE.
This value is a float array with values grouped as
{ targetAmplitude (within [0,1]), targetFrequency (in hertz), duration (in milliseconds) }
This is only applied on devices with vibration frequency control. If the device doesn't
support frequency control, then the vibration specified in
config_defaultNotificationVibePattern is used instead.
-->
<array name="config_defaultNotificationVibeWaveform">
<item>0.0</item>
<item>60.0</item>
<item>0.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>100.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>100.0</item>
</array>
<!-- A vibration waveform for notifications that do not specify vibration but vibrate anyway,
because the device is in vibrate mode. This value is a float array with values grouped as
{ targetAmplitude (within [0,1]), targetFrequency (in hertz), duration (in milliseconds) }
This is only applied on devices with vibration frequency control. If the device doesn't
support frequency control, then the vibration specified in
config_notificationFallbackVibePattern is used instead.
-->
<array name="config_notificationFallbackVibeWaveform">
<item>0.0</item>
<item>60.0</item>
<item>0.0</item>
<item>0.4</item>
<item>120.0</item>
<item>50.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>50.0</item>
<item>0.0</item>
<item>60.0</item>
<item>100.0</item>
<item>0.4</item>
<item>120.0</item>
<item>50.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>50.0</item>
</array>
<!-- the number of the max cached processes in the system. -->
<integer name="config_customizedMaxCachedProcesses">64</integer>
@ -380,4 +298,7 @@
<item>200</item>
</integer-array>
<!-- Boolean indicating if restoring network selection should be skipped -->
<!-- The restoring is handled by modem if it is true -->
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
</resources>

View file

@ -121,7 +121,7 @@
},
{
"Name": "CPUUtilThreshold",
"Path": "/sys/kernel/vendor_sched/util_threshold",
"Path": "/proc/vendor_sched/util_threshold",
"Values": [
"1280",
"1100"
@ -140,7 +140,7 @@
},
{
"Name": "TAUClampBoost",
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
"Path": "/proc/vendor_sched/ta_uclamp_min",
"Values": [
"553",
"108",
@ -153,7 +153,7 @@
},
{
"Name": "SFUClampBoost",
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
"Path": "/proc/vendor_sched/sf_uclamp_min",
"Values": [
"125",
"65",
@ -163,7 +163,7 @@
},
{
"Name": "MLUclampBoost",
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
"Values": [
"154",
"512"
@ -173,7 +173,7 @@
},
{
"Name": "CDPreferIdle",
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
"Path": "/proc/vendor_sched/cam_prefer_idle",
"Values": [
"0",
"1"
@ -236,7 +236,7 @@
},
{
"Name": "TAPreferHighCap",
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
"Values": [
"1",
"0"
@ -245,7 +245,7 @@
},
{
"Name": "TAPreferIdle",
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
"Path": "/proc/vendor_sched/ta_prefer_idle",
"Values": [
"0",
"1"
@ -254,7 +254,7 @@
},
{
"Name": "CDPreferHighCap",
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
"Values": [
"1",
"0"
@ -386,6 +386,33 @@
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "CPU_LITTLE_TSKIN_BYPASS",
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote_bypass",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
},
{
"Name": "CPU_MID_TSKIN_BYPASS",
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote_bypass",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
},
{
"Name": "CPU_BIG_TSKIN_BYPASS",
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote_bypass",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
}
],
"Actions": [
@ -1300,6 +1327,24 @@
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMaxFreq",
@ -1312,6 +1357,90 @@
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "BigControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "MidControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "LittleControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "G3dControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "BigSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "MidSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "LittleSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "G3dSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "ML_ACC",
"Node": "MLUclampBoost",

View file

@ -121,7 +121,7 @@
},
{
"Name": "CPUUtilThreshold",
"Path": "/sys/kernel/vendor_sched/util_threshold",
"Path": "/proc/vendor_sched/util_threshold",
"Values": [
"1280",
"1100"
@ -140,7 +140,7 @@
},
{
"Name": "TAUClampBoost",
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
"Path": "/proc/vendor_sched/ta_uclamp_min",
"Values": [
"553",
"158",
@ -154,7 +154,7 @@
},
{
"Name": "SFUClampBoost",
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
"Path": "/proc/vendor_sched/sf_uclamp_min",
"Values": [
"125",
"65",
@ -164,7 +164,7 @@
},
{
"Name": "MLUclampBoost",
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
"Values": [
"154",
"512"
@ -174,7 +174,7 @@
},
{
"Name": "CDPreferIdle",
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
"Path": "/proc/vendor_sched/cam_prefer_idle",
"Values": [
"0",
"1"
@ -237,7 +237,7 @@
},
{
"Name": "TAPreferHighCap",
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
"Values": [
"1",
"0"
@ -246,7 +246,7 @@
},
{
"Name": "TAPreferIdle",
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
"Path": "/proc/vendor_sched/ta_prefer_idle",
"Values": [
"0",
"1"
@ -255,7 +255,7 @@
},
{
"Name": "CDPreferHighCap",
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
"Values": [
"1",
"0"
@ -387,6 +387,33 @@
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "CPU_LITTLE_TSKIN_BYPASS",
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote_bypass",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
},
{
"Name": "CPU_MID_TSKIN_BYPASS",
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote_bypass",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
},
{
"Name": "CPU_BIG_TSKIN_BYPASS",
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote_bypass",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
}
],
"Actions": [
@ -1317,18 +1344,120 @@
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMaxFreq",
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMinFreq",
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "BigControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "MidControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "LittleControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "G3dControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "BigSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "MidSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "LittleSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "G3dSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "ML_ACC",
"Node": "MLUclampBoost",

View file

@ -121,7 +121,7 @@
},
{
"Name": "CPUUtilThreshold",
"Path": "/sys/kernel/vendor_sched/util_threshold",
"Path": "/proc/vendor_sched/util_threshold",
"Values": [
"1280",
"1100"
@ -140,7 +140,7 @@
},
{
"Name": "TAUClampBoost",
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
"Path": "/proc/vendor_sched/ta_uclamp_min",
"Values": [
"553",
"158",
@ -155,7 +155,7 @@
},
{
"Name": "SFUClampBoost",
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
"Path": "/proc/vendor_sched/sf_uclamp_min",
"Values": [
"125",
"65",
@ -165,7 +165,7 @@
},
{
"Name": "MLUclampBoost",
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
"Values": [
"154",
"512"
@ -175,7 +175,7 @@
},
{
"Name": "CDPreferIdle",
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
"Path": "/proc/vendor_sched/cam_prefer_idle",
"Values": [
"0",
"1"
@ -229,7 +229,7 @@
},
{
"Name": "TAPreferHighCap",
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
"Values": [
"1",
"0"
@ -238,7 +238,7 @@
},
{
"Name": "TAPreferIdle",
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
"Path": "/proc/vendor_sched/ta_prefer_idle",
"Values": [
"0",
"1"
@ -247,7 +247,7 @@
},
{
"Name": "CDPreferHighCap",
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
"Values": [
"1",
"0"

View file

@ -121,7 +121,7 @@
},
{
"Name": "CPUUtilThreshold",
"Path": "/sys/kernel/vendor_sched/util_threshold",
"Path": "/proc/vendor_sched/util_threshold",
"Values": [
"1280",
"1100"
@ -140,7 +140,7 @@
},
{
"Name": "TAUClampBoost",
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
"Path": "/proc/vendor_sched/ta_uclamp_min",
"Values": [
"553",
"158",
@ -155,7 +155,7 @@
},
{
"Name": "SFUClampBoost",
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
"Path": "/proc/vendor_sched/sf_uclamp_min",
"Values": [
"125",
"65",
@ -165,7 +165,7 @@
},
{
"Name": "MLUclampBoost",
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
"Values": [
"154",
"512"
@ -175,7 +175,7 @@
},
{
"Name": "CDPreferIdle",
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
"Path": "/proc/vendor_sched/cam_prefer_idle",
"Values": [
"0",
"1"
@ -229,7 +229,7 @@
},
{
"Name": "TAPreferHighCap",
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
"Values": [
"1",
"0"
@ -238,7 +238,7 @@
},
{
"Name": "TAPreferIdle",
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
"Path": "/proc/vendor_sched/ta_prefer_idle",
"Values": [
"0",
"1"
@ -247,7 +247,7 @@
},
{
"Name": "CDPreferHighCap",
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
"Values": [
"1",
"0"

View file

@ -195,88 +195,6 @@
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
<!-- A vibration waveform for notifications that specify DEFAULT_VIBRATE.
This value is a float array with values grouped as
{ targetAmplitude (within [0,1]), targetFrequency (in hertz), duration (in milliseconds) }
This is only applied on devices with vibration frequency control. If the device doesn't
support frequency control, then the vibration specified in
config_defaultNotificationVibePattern is used instead.
-->
<array name="config_defaultNotificationVibeWaveform">
<item>0.0</item>
<item>60.0</item>
<item>0.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>100.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>100.0</item>
</array>
<!-- A vibration waveform for notifications that do not specify vibration but vibrate anyway,
because the device is in vibrate mode. This value is a float array with values grouped as
{ targetAmplitude (within [0,1]), targetFrequency (in hertz), duration (in milliseconds) }
This is only applied on devices with vibration frequency control. If the device doesn't
support frequency control, then the vibration specified in
config_notificationFallbackVibePattern is used instead.
-->
<array name="config_notificationFallbackVibeWaveform">
<item>0.0</item>
<item>60.0</item>
<item>0.0</item>
<item>0.4</item>
<item>120.0</item>
<item>50.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>50.0</item>
<item>0.0</item>
<item>60.0</item>
<item>100.0</item>
<item>0.4</item>
<item>120.0</item>
<item>50.0</item>
<item>0.4</item>
<item>120.0</item>
<item>100.0</item>
<item>0.0</item>
<item>60.0</item>
<item>50.0</item>
</array>
<!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
@ -356,4 +274,7 @@
<item>200</item>
</integer-array>
<!-- Boolean indicating if restoring network selection should be skipped -->
<!-- The restoring is handled by modem if it is true -->
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
</resources>

View file

@ -182,6 +182,7 @@
{
"Name":"VIRTUAL-QI-GNSS",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -208,6 +209,7 @@
{
"Name":"VIRTUAL-QI-QUIET",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -233,6 +235,7 @@
{
"Name":"VIRTUAL-QI-BATT",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -259,6 +262,7 @@
{
"Name":"VIRTUAL-USB2-DISP",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -285,6 +289,7 @@
{
"Name":"VIRTUAL-QUIET-BATT",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -407,6 +412,7 @@
{
"Name":"VIRTUAL-SKIN-CHARGE",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"quiet_therm",
"Formula":"MAXIMUM",
@ -442,7 +448,6 @@
],
"VrThreshold":"NAN",
"Multiplier":0.001,
"Monitor":true,
"PollingDelay":300000,
"PassiveDelay":7000,
"BindedCdevInfo": [
@ -520,6 +525,7 @@
{
"Name":"USB2-MINUS-USB",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -545,6 +551,7 @@
{
"Name":"USB2-MINUS-QI",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -570,6 +577,7 @@
{
"Name":"VIRTUAL-USB-THROTTLING",
"Type":"USB_PORT",
"Hidden":true,
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm2",
@ -783,7 +791,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"batoilo",
@ -964,7 +972,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"ocp_cpu2",
@ -989,7 +997,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"ocp_tpu",
@ -1014,7 +1022,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"ocp_gpu",
@ -1039,7 +1047,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"soft_ocp_cpu2",
@ -1064,7 +1072,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"soft_ocp_cpu1",
@ -1089,7 +1097,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"soft_ocp_tpu",
@ -1114,7 +1122,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"soft_ocp_gpu",
@ -1139,7 +1147,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"TPU",

View file

@ -182,6 +182,7 @@
{
"Name":"VIRTUAL-NEUTRAL-QI",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -208,6 +209,7 @@
{
"Name":"VIRTUAL-USB2-BATT",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -234,6 +236,7 @@
{
"Name":"VIRTUAL-GNSS-BATT",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -260,6 +263,7 @@
{
"Name":"VIRTUAL-QI-DISP",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -382,6 +386,7 @@
{
"Name":"VIRTUAL-SKIN-CHARGE",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"quiet_therm",
"Formula":"MAXIMUM",
@ -417,7 +422,6 @@
],
"VrThreshold":"NAN",
"Multiplier":0.001,
"Monitor":true,
"PollingDelay":300000,
"PassiveDelay":7000,
"BindedCdevInfo": [
@ -495,6 +499,7 @@
{
"Name":"USB2-MINUS-USB",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -520,6 +525,7 @@
{
"Name":"USB2-MINUS-QI",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":[
@ -545,6 +551,7 @@
{
"Name":"VIRTUAL-USB-THROTTLING",
"Type":"USB_PORT",
"Hidden":true,
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm2",
@ -758,7 +765,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"batoilo",
@ -939,7 +946,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"ocp_cpu2",
@ -964,7 +971,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"ocp_tpu",
@ -989,7 +996,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"ocp_gpu",
@ -1014,7 +1021,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"soft_ocp_cpu2",
@ -1039,7 +1046,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"soft_ocp_cpu1",
@ -1064,7 +1071,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"soft_ocp_tpu",
@ -1089,7 +1096,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"soft_ocp_gpu",
@ -1114,7 +1121,7 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Hidden":true
},
{
"Name":"TPU",

View file

@ -1,6 +1,4 @@
[CCC]format=1
[CCC]kind=0
[CCC]settings=1
[CCC]version=2
[CCC]ant0.ch5.prf64.pdoa_iso_rf2_rf1=0
[CCC]ant0.ch5.prf64.pdoa_iso_rf1_rf2=0
[CCC]ant0.ch9.prf64.pdoa_iso_rf2_rf1=0
@ -22,11 +20,11 @@ ant0.ch5.prf64.ant_delay=16450
ant0.ch5.prf64.tx_power=0x4E4E4E4E
ant0.ch5.prf64.pg_count=0
ant0.ch5.prf64.pg_delay=0x26
ant0.ch9.prf16.ant_delay=16450
ant0.ch9.prf16.ant_delay=16410
ant0.ch9.prf16.tx_power=0x56565656
ant0.ch9.prf16.pg_count=0
ant0.ch9.prf16.pg_delay=0x26
ant0.ch9.prf64.ant_delay=16450
ant0.ch9.prf64.ant_delay=16410
ant0.ch9.prf64.tx_power=0x56565656
ant0.ch9.prf64.pg_count=0
ant0.ch9.prf64.pg_delay=0x26
@ -41,11 +39,11 @@ ant1.ch5.prf64.ant_delay=16450
ant1.ch5.prf64.tx_power=0x4E4E4E4E
ant1.ch5.prf64.pg_count=0
ant1.ch5.prf64.pg_delay=0x26
ant1.ch9.prf16.ant_delay=16450
ant1.ch9.prf16.ant_delay=16410
ant1.ch9.prf16.tx_power=0x56565656
ant1.ch9.prf16.pg_count=0
ant1.ch9.prf16.pg_delay=0x26
ant1.ch9.prf64.ant_delay=16450
ant1.ch9.prf64.ant_delay=16410
ant1.ch9.prf64.tx_power=0x56565656
ant1.ch9.prf64.pg_count=0
ant1.ch9.prf64.pg_delay=0x26
@ -60,11 +58,11 @@ ant2.ch5.prf64.ant_delay=16450
ant2.ch5.prf64.tx_power=0x4E4E4E4E
ant2.ch5.prf64.pg_count=0
ant2.ch5.prf64.pg_delay=0x26
ant2.ch9.prf16.ant_delay=16450
ant2.ch9.prf16.ant_delay=16410
ant2.ch9.prf16.tx_power=0x56565656
ant2.ch9.prf16.pg_count=0
ant2.ch9.prf16.pg_delay=0x26
ant2.ch9.prf64.ant_delay=16450
ant2.ch9.prf64.ant_delay=16410
ant2.ch9.prf64.tx_power=0x56565656
ant2.ch9.prf64.pg_count=0
ant2.ch9.prf64.pg_delay=0x26
@ -79,11 +77,11 @@ ant3.ch5.prf64.ant_delay=16450
ant3.ch5.prf64.tx_power=0x4E4E4E4E
ant3.ch5.prf64.pg_count=0
ant3.ch5.prf64.pg_delay=0x26
ant3.ch9.prf16.ant_delay=16450
ant3.ch9.prf16.ant_delay=16410
ant3.ch9.prf16.tx_power=0x56565656
ant3.ch9.prf16.pg_count=0
ant3.ch9.prf16.pg_delay=0x26
ant3.ch9.prf64.ant_delay=16450
ant3.ch9.prf64.ant_delay=16410
ant3.ch9.prf64.tx_power=0x56565656
ant3.ch9.prf64.pg_count=0
ant3.ch9.prf64.pg_delay=0x26
@ -110,8 +108,34 @@ xtal_trim=31
temperature_reference=85
smart_tx_power=1
auto_sleep_margin=20000
[HAL]antenna_pair_azimuth=4
[HAL]antenna_pair_elevation=0xff
[HAL]tx_antenna=0
[HAL]minimum_system_offset_uwbtime0=300
restricted_channels=0
[HAL]aoa_capability=1
[HAL]ant_sets.ch5.range.rx_ant_set_nonranging = 6
[HAL]ant_sets.ch5.range.rx_ant_set_ranging = 4
[HAL]ant_sets.ch5.range.tx_ant_set_nonranging = 0
[HAL]ant_sets.ch5.range.tx_ant_set_ranging = 0
[HAL]ant_sets.ch5.azimuth.rx_ant_set_nonranging = 6
[HAL]ant_sets.ch5.azimuth.rx_ant_set_ranging = 4
[HAL]ant_sets.ch5.azimuth.tx_ant_set_nonranging = 0
[HAL]ant_sets.ch5.azimuth.tx_ant_set_ranging = 0
[HAL]ant_sets.ch9.range.rx_ant_set_nonranging = 6
[HAL]ant_sets.ch9.range.rx_ant_set_ranging = 4
[HAL]ant_sets.ch9.range.tx_ant_set_nonranging = 0
[HAL]ant_sets.ch9.range.tx_ant_set_ranging = 0
[HAL]ant_sets.ch5.elevation.rx_ant_set_nonranging = 6
[HAL]ant_sets.ch5.elevation.rx_ant_set_ranging = 1
[HAL]ant_sets.ch5.elevation.tx_ant_set_nonranging = 0
[HAL]ant_sets.ch5.elevation.tx_ant_set_ranging = 0
[HAL]ant_sets.ch9.elevation.rx_ant_set_nonranging = 6
[HAL]ant_sets.ch9.elevation.rx_ant_set_ranging = 1
[HAL]ant_sets.ch9.elevation.tx_ant_set_nonranging = 0
[HAL]ant_sets.ch9.elevation.tx_ant_set_ranging = 0
[HAL]ant_sets.ch9.azimuth.rx_ant_set_nonranging = 6
[HAL]ant_sets.ch9.azimuth.rx_ant_set_ranging = 4
[HAL]ant_sets.ch9.azimuth.tx_ant_set_nonranging = 0
[HAL]ant_sets.ch9.azimuth.tx_ant_set_ranging = 0
[HAL]minimum_system_offset_uwbtime0=500
coex_gpio=4
coex_delay_us=1000
coex_margin_us=500
coex_interval_us=2000