caimito: Remove userdebug/eng configuration

Change-Id: I3739e6e099681c667c80723f0f6e3197923ff762
This commit is contained in:
Michael Bestas 2025-06-19 02:02:32 +03:00 committed by Michael Bestas
parent 671c57095c
commit 3ab4ff30c6
No known key found for this signature in database
48 changed files with 6 additions and 824638 deletions

View file

@ -82,24 +82,6 @@ PRODUCT_PACKAGES += \
uplink_wired_headset_aec_off_config.pb \
uplink_wired_headset_aec_on_config.pb
# eng specific
PRODUCT_PACKAGES_ENG += \
BLUETOOTH.mods \
HANDSFREE.mods \
HANDSET.mods \
HEADSET.mods \
template.xml \
tuning_constraints_combination.xml \
test_config.ini \
test_preset.mps
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
PRODUCT_COPY_FILES += \
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
endif
# Offload spatializer config
PRODUCT_PACKAGES += \
vendor.google.whitechapel.audio.hal.effect.spatializer.base \

View file

@ -1,315 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<mixer>
<!-- Initial Values -->
<!-- Preload Stage -->
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
<!-- Clock-trigger Stage -->
<ctl name="SINK_IDS" id="0" value="-1"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="PCM Playback Volume" value="10"/>
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
<!-- Preparation Stage -->
<path name="crus-switch-fw-prepare">
<ctl name="DRE DRE Switch" value="1" />
<ctl name="VBSTMON Output Switch" value="1" />
<ctl name="DSP Booted" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R DRE DRE Switch" value="1" />
<ctl name="R VBSTMON Output Switch" value="1" />
<ctl name="R DSP Booted" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
</path>
<!-- Preload Stage -->
<path name="crus-fw-preload">
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<path name="crus-fw-preload-amp1">
<ctl name="DSP1 Preload Switch" value="1" />
</path>
<path name="crus-fw-preload-amp2">
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- Firmware-switching Stage -->
<path name="crus-switch-fw-Calibration">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Calibration" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Calibration" />
</path>
<path name="crus-switch-fw-Diagnostic">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Diagnostic" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Diagnostic" />
</path>
<path name="crus-switch-fw-Protection">
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Protection" />
</path>
<!-- DSP-initialization Stage -->
<path name="crus-dsp-pre-calibration-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration">
<path name="crus-dsp-pre-calibration-amp1" />
<path name="crus-dsp-pre-calibration-amp2" />
</path>
<path name="crus-dsp-pre-diagnostic-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic">
<path name="crus-dsp-pre-diagnostic-amp1" />
<path name="crus-dsp-pre-diagnostic-amp2" />
</path>
<path name="crus-dsp-pre-protection">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<!-- Clock-trigger Stage -->
<path name="platform-controls">
<ctl name="PCM Playback Volume" value="1000"/>
<ctl name="SINK_IDS" id="0" value="0"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
</path>
<!-- Post loaded firmware -->
<path name="crus-dsp-post-loading-fw">
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
</path>
<!-- Value & Information Fetch Stage -->
<path name="platform-values">
<ctl name="TDM_0_RX Format" />
<ctl name="TDM_0_RX Chan" />
<ctl name="TDM_0_RX Sample Rate" />
<ctl name="PCM Playback Volume" />
<ctl name="TDM_0_RX Mixer EP6" />
</path>
<path name="cs35l41-values">
<ctl name="DRE DRE Switch" />
<ctl name="R DRE DRE Switch" />
<ctl name="VBSTMON Output Switch" />
<ctl name="R VBSTMON Output Switch" />
<ctl name="AMP PCM Gain" />
<ctl name="R AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<ctl name="R Digital PCM Volume" />
<ctl name="PCM Source" />
<ctl name="R PCM Source" />
<ctl name="DSP Booted" />
<ctl name="R DSP Booted" />
<ctl name="Main AMP Enable Switch" />
<ctl name="R Main AMP Enable Switch" />
<ctl name="DSP1 Preload Switch" />
<ctl name="R DSP1 Preload Switch" />
<ctl name="DSP1 Firmware" />
<ctl name="R DSP1 Firmware" />
</path>
<!-- Note that the order of controls does matter because
it should be matched to the structure defined in
sp_cal_common.h -->
<!--
struct calibration_data {
unsigned int cal_r;
unsigned int cal_status;
unsigned int cal_checksum;
unsigned int cal_ambient;
unsigned int amp_pcm_gain;
unsigned int digital_pcm_gain;
};
-->
<path name="cs35l41-dsp-amp1-calibration-values">
<ctl name="DSP1 Calibration cd CAL_R" />
<ctl name="DSP1 Calibration cd CAL_STATUS" />
<ctl name="DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-values">
<ctl name="R DSP1 Calibration cd CAL_R" />
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
<ctl name="R DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="R DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="R DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<!--
struct diagnostic_data {
struct calibration_data calibration_data;
unsigned int z_low_diff;
unsigned int diag_f0;
unsigned int diag_f0_status;
};
-->
<path name="cs35l41-dsp-amp1-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Diagnostic cd CAL_R" />
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="DSP1 Diagnostic cd DIAG_F0" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Diagnostic cd CAL_R" />
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="R DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="R DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="R DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Protection cd CAL_R" />
<ctl name="DSP1 Protection cd CAL_STATUS" />
<ctl name="DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp2-protection-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Protection cd CAL_R" />
<ctl name="R DSP1 Protection cd CAL_STATUS" />
<ctl name="R DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="R DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp1-calibration-completion">
<ctl name="DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-completion">
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-completion">
<ctl name="DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-protection-completion">
<ctl name="R DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-diagnostic-completion">
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-completion">
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-enable-status">
<ctl name="Main AMP Enable Switch" />
</path>
<path name="cs35l41-dsp-amp2-enable-status">
<ctl name="R Main AMP Enable Switch" />
</path>
</mixer>

View file

@ -42,18 +42,6 @@ prebuilt_etc {
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "template.xml",
src: "bluenote/template.xml",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "tuning_constraints_combination.xml",
src: "bluenote/tuning_constraints_combination.xml",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "compens_spk_l.conf",
src: "compensation/compens_spk_l.conf",
@ -72,48 +60,24 @@ prebuilt_etc {
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "BLUETOOTH.mods",
src: "fortemedia/BLUETOOTH.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSFREE.dat",
src: "fortemedia/HANDSFREE.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSFREE.mods",
src: "fortemedia/HANDSFREE.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSET.dat",
src: "fortemedia/HANDSET.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSET.mods",
src: "fortemedia/HANDSET.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HEADSET.dat",
src: "fortemedia/HEADSET.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HEADSET.mods",
src: "fortemedia/HEADSET.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "mcps.dat",
src: "fortemedia/mcps.dat",
@ -240,18 +204,6 @@ prebuilt_etc {
soc_specific: true,
}
prebuilt_etc {
name: "test_config.ini",
src: "waves/tests/test_config.ini",
soc_specific: true,
}
prebuilt_etc {
name: "test_preset.mps",
src: "waves/tests/test_preset.mps",
soc_specific: true,
}
prebuilt_etc {
name: "vendor.google.whitechapel.audio.hal.effect.spatializer.base",
src: "spatializer/base",

View file

@ -1,488 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<modules>
<module id="2" name="Waves">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="3" name="Forte">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="5" name="Auto Gain Control">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="GainApplied" type="float"/>
<param id="17" name="idealRMS" type="float"/>
<param id="18" name="noiseGate" type="float"/>
<param id="19" name="minGain" type="float"/>
<param id="20" name="maxGain" type="float"/>
<param id="21" name="releaseTime" type="uint32"/>
<param id="22" name="attackTime" type="uint32"/>
<param id="23" name="rmsTav" type="uint32"/>
</module>
<module id="6" name="Surround Record">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="7" id="3" name="chMask_" type="uint32"/>
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
<param complex="true" id="20" name="ch0_profileR" size="1024" type="float"/>
<param complex="true" id="21" name="ch1_profileR" size="1024" type="float"/>
<param complex="true" id="22" name="ch2_profileR" size="1024" type="float"/>
<param complex="true" id="23" name="ch0_profileAZ" size="1024" type="float"/>
<param complex="true" id="24" name="ch1_profileAZ" size="1024" type="float"/>
<param complex="true" id="25" name="ch2_profileAZ" size="1024" type="float"/>
<struct id="26">
<param default="1" name="ch_gain" type="float"/>
<param default="1" name="zoom_gain" type="float"/>
</struct>
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
<param default="0.33" id="30" name="alpha_enhancedRate" type="float"/>
<param default="0" id="31" name="swapOutputLR" type="int32"/>
<struct id="32">
<param default="0.0" name="CB_alpha_lowband" type="float"/>
<param default="0.0" name="CB_alpha_midband" type="float"/>
<param default="0.0" name="CB_alpha_highband" type="float"/>
</struct>
<struct id="33">
<param default="0.0" name="CB_epsilon_lowband" type="float"/>
<param default="0.0" name="CB_epsilon_midband" type="float"/>
<param default="0.0" name="CB_epsilon_highband" type="float"/>
</struct>
<struct id="34">
<param default="13" name="CB_fc_low_mid" type="int32"/>
<param default="22" name="CB_fc_mid_high" type="int32"/>
<param default="5" name="CB_smooth_span" type="int32"/>
<param default="1.0" name="CB_forget_factor" type="float"/>
</struct>
<struct id="35">
<param name="IIR_lowpass" size="5" type="float"/>
<param name="IIR_highpass" size="5" type="float"/>
</struct>
</module>
<module id="7" name="Multi Channel IIR 2">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="8" name="Multi Band DRC">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param default="1" max="3" min="1" name="numBand" type="uint32"/>
<param name="IIR_LowPass1" size="5" type="float"/>
<param name="IIR_HighPass1" size="5" type="float"/>
<param name="IIR_LowPass2" size="5" type="float"/>
<param name="IIR_HighPass2" size="5" type="float"/>
</struct>
<struct id="17">
<param max="20" min="0" name="band0_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band0_rms_ms" type="float"/>
<param max="30" min="0" name="band0_gain_dB" type="float"/>
<param max="30" min="-30" name="band0_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band0_numOfKnee" type="uint32"/>
<param name="band0_threadhold_dB" size="3" type="float"/>
<param name="band0_compressRatio" size="4" type="float"/>
<param name="band0_kneeWidth" size="3" type="float"/>
<param name="band0_attackTime_ms" size="4" type="float"/>
<param name="band0_releaseTime_ms" size="4" type="float"/>
<param name="band0_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band1_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band1_rms_ms" type="float"/>
<param max="30" min="0" name="band1_gain_dB" type="float"/>
<param max="30" min="-30" name="band1_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band1_numOfKnee" type="uint32"/>
<param name="band1_threadhold_dB" size="3" type="float"/>
<param name="band1_compressRatio" size="4" type="float"/>
<param name="band1_kneeWidth" size="3" type="float"/>
<param name="band1_attackTime_ms" size="4" type="float"/>
<param name="band1_releaseTime_ms" size="4" type="float"/>
<param name="band1_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band2_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band2_rms_ms" type="float"/>
<param max="30" min="0" name="band2_gain_dB" type="float"/>
<param max="30" min="-30" name="band2_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band2_numOfKnee" type="uint32"/>
<param name="band2_threadhold_dB" size="3" type="float"/>
<param name="band2_compressRatio" size="4" type="float"/>
<param name="band2_kneeWidth" size="3" type="float"/>
<param name="band2_attackTime_ms" size="4" type="float"/>
<param name="band2_releaseTime_ms" size="4" type="float"/>
<param name="band2_hysteresis" size="4" type="float"/>
</struct>
<struct id="18">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="float"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="float"/>
</struct>
<struct id="19">
<param name="frequency0" type="uint32"/>
<param name="frequency1" type="uint32"/>
</struct>
</module>
<module id="11" name="Stationary Noise Suppression">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="1" id="16" name="strength level" type="uint32"/>
<param id="17" name="POWER_TIME_SMOOTH" type="float"/>
<param id="18" name="RMS_TIME_SMOOTH" type="float"/>
<param id="19" name="LOWER_BAND_THRESHOLD" size="257" type="float"/>
<param id="20" name="UPPER_BAND_THRESHOLD" size="3" type="float"/>
<param id="21" name="ATTACK_TIME" type="float"/>
<param id="22" name="RELEASE_TIME" type="float"/>
<param id="23" name="BIN_THRESHOLD" size="5" type="uint32"/>
</module>
<module id="14" name="Linear Gain">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="Simple_gain" type="float"/>
<param default="0" id="17" name="ch0_assignFrom" type="int32"/>
<param default="1" id="18" name="ch1_assignFrom" type="int32"/>
<param default="2" id="19" name="ch2_assignFrom" type="int32"/>
</module>
<module id="17" name="Wind Noise Reduction">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="450" id="16" name="DECISION_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="17" name="DECISION_ATTACK_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="18" name="DECISION_RELEASE_HIGH_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="19" name="DECISION_RELEASE_LOW_SMOOTHING_FACTOR" type="int32"/>
<param default="700" id="20" name="DECISION_RELEASE_THRESHOLD" type="int32"/>
<param default="0" id="21" name="DECISION_RANGE_OFFSET_FACTOR" type="int32"/>
<param default="1000" id="22" name="DECISION_RANGE_SLOPE_FACTOR" type="int32"/>
<param default="450" id="23" name="DECISION_GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="27" id="24" name="DECISION_DB_RANGE" type="int32"/>
<param default="1000" id="25" name="MASTER_REDUCTION_FACTOR" type="int32"/>
<param default="15" id="26" name="KEEP_NUM_OF_PREV_DECISIONS" type="int32"/>
<param default="1000" id="27" name="DEC_PRE_GAIN" type="int32"/>
<param default="16000" id="28" name="SUP_PRE_GAIN" type="int32"/>
<param default="2" id="29" name="COHERENCE_ENABLE" type="int32"/>
<param default="1" id="30" name="COHERENCE_START_BIN" type="int32"/>
<param default="10" id="31" name="COHERENCE_END_BIN" type="int32"/>
<param default="300" id="32" name="COHERENCE_THRESHOLD" type="int32"/>
<param default="990" id="33" name="COHERENCE_FORGETTING_FACTOR" type="int32"/>
<param default="0" id="34" name="DB_SCALING_FACTOR" type="int32"/>
<param default="9" id="35" name="SEP_LAYER" type="int32"/>
<param default="1" id="36" name="SP_GAIN_ENABLE" type="int32"/>
<param default="15" id="37" name="SP_GAIN_MAX_BIN" type="int32"/>
<param default="500" id="38" name="SP_GAIN_MIN" type="int32"/>
<param default="200" id="39" name="SP_GAIN_TH_MIN" type="int32"/>
<param default="450" id="40" name="SP_GAIN_TH_MAX" type="int32"/>
<param default="800" id="41" name="SP_GAIN_SMOOTH" type="int32"/>
<param default="3" id="42" name="SP_GAIN_FREQ_SMOOTH" type="int32"/>
<param default="300" id="43" name="MASTER_MAX_SUP_SMOOTHING_FACTOR" type="int32"/>
<param default="1" id="44" name="GAIN_FREQ_SMOOTH" type="int32"/>
<param default="2" id="45" name="GMIN_CURVE_TYPE" type="int32"/>
<param default="55" id="46" name="GMIN_LINEAR_SPLIT_MID_POINT_BINR" type="int32"/>
<param default="330" id="47" name="GMIN_LINEAR_SPLIT_MID_POINT_VAL" type="int32"/>
<param default="1000" id="48" name="SP_OVERSUB_RATIO" type="int32"/>
<param default="16" id="49" name="WIND_ENERGY_EST_COMPENSATION_GAIN" type="int32"/>
<param default="2000" id="50" name="WIND_ENERGY_CURVE_SLOPE" type="int32"/>
<param default="300" id="51" name="WIND_ENERGY_CURVE_OFFSET" type="int32"/>
<param default="16000" id="52" name="WIND_ENERGY_CURVE_MIN" type="int32"/>
<param default="16000" id="53" name="WIND_ENERGY_CURVE_MAX" type="int32"/>
<param default="900" id="54" name="WIND_ENERGY_SMOOTHING" type="int32"/>
<param default="144" id="55" name="WIND_ENERGY_NORM_DENOM" type="int32"/>
<param default="600" id="56" name="WIND_ENERGY_CURVE_SCALED_TH_MIN" type="int32"/>
<param default="900" id="57" name="WIND_ENERGY_CURVE_SCALED_TH_MAX" type="int32"/>
<param default="1" id="58" name="ENABLE_ML_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="59" name="ENABLE_SP_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="60" name="ENALBE_SP_COMBI_OVERSUBTRACTION" type="int32"/>
<param default="1" id="61" name="ENABLE_PRIORI_SNR" type="int32"/>
<param default="1000" id="62" name="PRIORI_SNR_ML_TUNING" type="int32"/>
<param default="15" id="63" name="DEC_PREV_NUM" type="int32"/>
<param default="1" id="64" name="SSC_ENABLE" type="int32"/>
<param default="930" id="65" name="SSC_SOFT_SMOOTHING_FACTOR" type="int32"/>
<param default="1600" id="66" name="SSC_OVERDRIVE" type="int32"/>
<param default="3" id="67" name="SSC_MIN_FREQ" type="int32"/>
<param default="130" id="68" name="SSC_MAX_FREQ" type="int32"/>
<param default="700" id="69" name="SSC_PSD_SMOOTHING_FACTOR" type="int32"/>
<param default="12" id="70" name="SSC_SOFT_DECISION_MIN_FREQ" type="int32"/>
<param default="450" id="71" name="SSC_SOFT_DECISION_MAX_FREQ" type="int32"/>
<param default="5" id="72" name="SSC_KEEP_SAVED_PROB_SMOOTH_SIZE" type="int32"/>
<param default="1000" id="73" name="GAIN_BOOSTING_COST" type="int32"/>
<param default="450" id="74" name="GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="150" id="75" name="FINAL_GAIN_SMOOTHING_OFFSET_FACTOR" type="int32"/>
<param default="1" id="76" name="MUL_CH_SPEC_DIFF_ENABLE" type="int32"/>
<param default="4" id="77" name="MUL_CH_SPEC_DIFF_CENTER_SPEC_SEL" type="int32"/>
<param default="1000" id="78" name="MUL_CH_SPEC_DIFF_WIENER_OVERDRIVE" type="int32"/>
<param default="2" id="79" name="MUL_CH_SPEC_DIFF_GAIN_COMB" type="int32"/>
<param default="900" id="80" name="MUL_CH_SPEC_DIFF_TIME_SMOOTH" type="int32"/>
</module>
<module id="18" name="Multi Channel IIR 1">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="32" name="Single Band DRC">
<param default="1" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param max="20" min="0" name="delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="rms_ms" type="float"/>
<param max="30" min="0" name="gain_dB" type="float"/>
<param max="30" min="-30" name="Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="numOfKnee" type="uint32"/>
<param name="threadhold_dB" size="3" type="float"/>
<param name="compressRatio" size="4" type="float"/>
<param name="kneeWidth" size="3" type="float"/>
<param name="attackTime_ms" size="4" type="float"/>
<param name="releaseTime_ms" size="4" type="float"/>
<param name="hysteresis" size="4" type="float"/>
<param default="0" max="1" min="0" name="rms_manual_enable" type="uint32"/>
<param default="0" max="2" min="0" name="rms_channel" type="uint32"/>
</struct>
<struct id="17">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="uint32"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
</struct>
</module>
<module id="40" name="Pixel Gain Controller">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param name="crossover_iir_lp1" size="5" type="float"/>
<param name="crossover_iir_hp1" size="5" type="float"/>
<param name="crossover_iir_lp2" size="5" type="float"/>
<param name="crossover_iir_hp2" size="5" type="float"/>
<param default="250" max="1000" min="5" name="environment_rms_window_ms" type="int32"/>
<param default="-40" max="0" name="environment_rms_threshold_db" type="float"/>
<param default="50" min="0" name="environment_low_to_high_ms" type="int32"/>
<param default="1" min="0" name="environment_loudness_ratio_band0" type="float"/>
<param default="1" min="0" name="environment_loudness_ratio_band1" type="float"/>
<param default="1" min="0" name="environment_loudness_ratio_band2" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band0" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band0" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band0" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band0" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band0" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band0" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band0" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band0" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band0" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band0" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band0" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band0" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band0" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band0" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band1" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band1" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band1" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band1" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band1" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band1" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band1" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band1" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band1" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band1" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band1" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band1" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band1" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band1" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band2" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band2" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band2" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band2" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band2" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band2" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band2" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band2" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band2" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band2" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band2" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band2" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band2" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band2" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band0" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band0" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band0" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band0" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band0" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band0" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band0" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band0" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band0" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band0" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band0" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band0" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band0" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band0" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band1" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band1" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band1" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band1" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band1" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band1" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band1" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band1" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band1" type="float"/>
<param default="6.0" min="0" name="drc_ratio_downward_compressor_highaop_band1" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band1" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band1" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band1" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band1" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band2" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band2" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band2" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band2" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band2" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band2" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band2" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band2" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band2" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band2" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band2" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band2" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band2" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band2" type="float"/>
<param default="100" max="100" min="0" name="drc_delay_ms" type="int32"/>
<param default="1" max="1" min="0" name="drc_use_peak_amplitude" type="int32"/>
<param default="0" max="100" min="-100" name="drc_band1_minus_band2_max_gain_db" type="float"/>
<param default="0" max="100" min="-100" name="drc_band3_minus_band2_max_gain_db" type="float"/>
<param default="20" max="20" min="0" name="limiter_delay_ms" type="int32"/>
<param default="-0.5" max="0" name="limiter_thres_db" type="float"/>
<param default="0" name="limiter_gain_db" type="float"/>
<param default="10" min="0" name="limiter_attack_time_ms" type="int32"/>
<param default="50" min="0" name="limiter_release_time_ms" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band0" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band1" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band2" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band0" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band1" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band2" type="int32"/>
<param default="-50" name="drc_long_term_window_lower_db_band0" type="float"/>
<param default="-50" name="drc_long_term_window_lower_db_band1" type="float"/>
<param default="-50" name="drc_long_term_window_lower_db_band2" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band0" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band1" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band2" type="float"/>
<param default="10000" min="0" name="environment_high_to_low_ms" type="int32"/>
</struct>
</module>
<module id="10000" name="Eraser">
<param id="275" name="eraser_pre_gain" type="uint32"/>
<param id="277" name="eraser_post_gain" type="uint32"/>
<param id="279" name="non_eraser_gain" type="uint32"/>
</module>
<module id="10001" name="Cleaner">
<param id="299" name="cleaner_post_gain" type="uint32"/>
</module>
<module id="10002" name="CHRE">
<param id="345" name="chre_aec_timeout" type="uint32"/>
<param id="346" name="chre_pdm_gain" type="int32"/>
<param id="347" name="chre_aec_gain" type="int32"/>
</module>
</modules>
<signalflows>
<signalflow id="1" name="Spatial Audio">
<block id="128">
<moduleRef id="18"/>
<moduleRef id="17"/>
</block>
<block id="134">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="6"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="40"/>
</block>
</signalflow>
<signalflow id="2" name="General Mic Recording">
<block id="137">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="40"/>
</block>
</signalflow>
<signalflow id="1000" name="Smart Feature">
<block id="0">
<moduleRef id="10000"/>
<moduleRef id="10001"/>
<moduleRef id="10002"/>
</block>
</signalflow>
</signalflows>
</template>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,58 +0,0 @@
########################################################################################################
# (Optional) The supported features list for platform vendors to query from.
# Platform vendors should call maxxaudio_qdsp_is_feature_supported with a string to query from the list.
# This config has no effect in the MaxxAudioQdspHalController. It's only meaningful for platform vendors.
# Putting any value other than 1 would be equivalent to not supported.
########################################################################################################
[HAL_SUPPORTED_FEATURES]
CUSTOM_ACTION_256=1
########################################################################################################
# This defined the options of supported sample rates.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_SAMPLE_RATES]
SR_COMMON = 48000
########################################################################################################
# (Optional) The subtypes that applies to different angles(0, 90, 180, 270). Can be empty if not applicable.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_ORIENTATION_SUBTYPES]
OST_SPEAKER = 0:12,90:13,180:12,270:0|13
########################################################################################################
# This defines available preset configurations.
# This should be configured by Waves only unless platform vendor is familiar with MPS structure.
########################################################################################################
[HAL_SUPPORTED_PRESETS]
SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_CALL = OM:10,SM:2,OST:OST_SPEAKER
HEADSET_MUSIC = OM:2,SM:2
########################################################################################################
# This defines available CONTROL configurations. Only define the CONTROL if you need it.
# The numbers could vary from device to device.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_CONTROLS]
SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL
A2DP_INSTANCE = INSTANCE:2,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
USB_HEADPHONE_INSTANCE = INSTANCE:4,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
[COEFS_CONVERTER_SETTING]
AlgFxPath=/vendor/lib/libAlgFx_HiFi3z.so
AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
# do not modify the following if not necessary
#AudioFormatType=0
#AudioFormatChannels=2
#AudioFormatSampleRate=48000
#AudioFormatBitsPerSample=32
#AudioFormatSampleSize=4
#AudioFormatIncrement=8
[CUSTOM_ACTION_256]
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC

View file

@ -82,24 +82,6 @@ PRODUCT_PACKAGES += \
uplink_wired_headset_aec_off_config.pb \
uplink_wired_headset_aec_on_config.pb
# eng specific
PRODUCT_PACKAGES_ENG += \
BLUETOOTH.mods \
HANDSFREE.mods \
HANDSET.mods \
HEADSET.mods \
template.xml \
tuning_constraints_combination.xml \
test_config.ini \
test_preset.mps
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
PRODUCT_COPY_FILES += \
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
endif
# Offload spatializer config
PRODUCT_PACKAGES += \
vendor.google.whitechapel.audio.hal.effect.spatializer.base \

View file

@ -1,315 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<mixer>
<!-- Initial Values -->
<!-- Preload Stage -->
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
<!-- Clock-trigger Stage -->
<ctl name="SINK_IDS" id="0" value="-1"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="PCM Playback Volume" value="10"/>
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
<!-- Preparation Stage -->
<path name="crus-switch-fw-prepare">
<ctl name="DRE DRE Switch" value="1" />
<ctl name="VBSTMON Output Switch" value="1" />
<ctl name="DSP Booted" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R DRE DRE Switch" value="1" />
<ctl name="R VBSTMON Output Switch" value="1" />
<ctl name="R DSP Booted" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
</path>
<!-- Preload Stage -->
<path name="crus-fw-preload">
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<path name="crus-fw-preload-amp1">
<ctl name="DSP1 Preload Switch" value="1" />
</path>
<path name="crus-fw-preload-amp2">
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- Firmware-switching Stage -->
<path name="crus-switch-fw-Calibration">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Calibration" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Calibration" />
</path>
<path name="crus-switch-fw-Diagnostic">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Diagnostic" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Diagnostic" />
</path>
<path name="crus-switch-fw-Protection">
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Protection" />
</path>
<!-- DSP-initialization Stage -->
<path name="crus-dsp-pre-calibration-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration">
<path name="crus-dsp-pre-calibration-amp1" />
<path name="crus-dsp-pre-calibration-amp2" />
</path>
<path name="crus-dsp-pre-diagnostic-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic">
<path name="crus-dsp-pre-diagnostic-amp1" />
<path name="crus-dsp-pre-diagnostic-amp2" />
</path>
<path name="crus-dsp-pre-protection">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<!-- Clock-trigger Stage -->
<path name="platform-controls">
<ctl name="PCM Playback Volume" value="1000"/>
<ctl name="SINK_IDS" id="0" value="0"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
</path>
<!-- Post loaded firmware -->
<path name="crus-dsp-post-loading-fw">
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
</path>
<!-- Value & Information Fetch Stage -->
<path name="platform-values">
<ctl name="TDM_0_RX Format" />
<ctl name="TDM_0_RX Chan" />
<ctl name="TDM_0_RX Sample Rate" />
<ctl name="PCM Playback Volume" />
<ctl name="TDM_0_RX Mixer EP6" />
</path>
<path name="cs35l41-values">
<ctl name="DRE DRE Switch" />
<ctl name="R DRE DRE Switch" />
<ctl name="VBSTMON Output Switch" />
<ctl name="R VBSTMON Output Switch" />
<ctl name="AMP PCM Gain" />
<ctl name="R AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<ctl name="R Digital PCM Volume" />
<ctl name="PCM Source" />
<ctl name="R PCM Source" />
<ctl name="DSP Booted" />
<ctl name="R DSP Booted" />
<ctl name="Main AMP Enable Switch" />
<ctl name="R Main AMP Enable Switch" />
<ctl name="DSP1 Preload Switch" />
<ctl name="R DSP1 Preload Switch" />
<ctl name="DSP1 Firmware" />
<ctl name="R DSP1 Firmware" />
</path>
<!-- Note that the order of controls does matter because
it should be matched to the structure defined in
sp_cal_common.h -->
<!--
struct calibration_data {
unsigned int cal_r;
unsigned int cal_status;
unsigned int cal_checksum;
unsigned int cal_ambient;
unsigned int amp_pcm_gain;
unsigned int digital_pcm_gain;
};
-->
<path name="cs35l41-dsp-amp1-calibration-values">
<ctl name="DSP1 Calibration cd CAL_R" />
<ctl name="DSP1 Calibration cd CAL_STATUS" />
<ctl name="DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-values">
<ctl name="R DSP1 Calibration cd CAL_R" />
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
<ctl name="R DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="R DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="R DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<!--
struct diagnostic_data {
struct calibration_data calibration_data;
unsigned int z_low_diff;
unsigned int diag_f0;
unsigned int diag_f0_status;
};
-->
<path name="cs35l41-dsp-amp1-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Diagnostic cd CAL_R" />
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="DSP1 Diagnostic cd DIAG_F0" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Diagnostic cd CAL_R" />
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="R DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="R DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="R DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Protection cd CAL_R" />
<ctl name="DSP1 Protection cd CAL_STATUS" />
<ctl name="DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp2-protection-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Protection cd CAL_R" />
<ctl name="R DSP1 Protection cd CAL_STATUS" />
<ctl name="R DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="R DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp1-calibration-completion">
<ctl name="DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-completion">
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-completion">
<ctl name="DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-protection-completion">
<ctl name="R DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-diagnostic-completion">
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-completion">
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-enable-status">
<ctl name="Main AMP Enable Switch" />
</path>
<path name="cs35l41-dsp-amp2-enable-status">
<ctl name="R Main AMP Enable Switch" />
</path>
</mixer>

View file

@ -42,18 +42,6 @@ prebuilt_etc {
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "template.xml",
src: "bluenote/template.xml",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "tuning_constraints_combination.xml",
src: "bluenote/tuning_constraints_combination.xml",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "compens_spk_l.conf",
src: "compensation/compens_spk_l.conf",
@ -72,48 +60,24 @@ prebuilt_etc {
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "BLUETOOTH.mods",
src: "fortemedia/BLUETOOTH.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSFREE.dat",
src: "fortemedia/HANDSFREE.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSFREE.mods",
src: "fortemedia/HANDSFREE.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSET.dat",
src: "fortemedia/HANDSET.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSET.mods",
src: "fortemedia/HANDSET.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HEADSET.dat",
src: "fortemedia/HEADSET.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HEADSET.mods",
src: "fortemedia/HEADSET.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "mcps.dat",
src: "fortemedia/mcps.dat",
@ -240,18 +204,6 @@ prebuilt_etc {
soc_specific: true,
}
prebuilt_etc {
name: "test_config.ini",
src: "waves/tests/test_config.ini",
soc_specific: true,
}
prebuilt_etc {
name: "test_preset.mps",
src: "waves/tests/test_preset.mps",
soc_specific: true,
}
prebuilt_etc {
name: "vendor.google.whitechapel.audio.hal.effect.spatializer.base",
src: "spatializer/base",

View file

@ -1,488 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<modules>
<module id="2" name="Waves">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="3" name="Forte">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="5" name="Auto Gain Control">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="GainApplied" type="float"/>
<param id="17" name="idealRMS" type="float"/>
<param id="18" name="noiseGate" type="float"/>
<param id="19" name="minGain" type="float"/>
<param id="20" name="maxGain" type="float"/>
<param id="21" name="releaseTime" type="uint32"/>
<param id="22" name="attackTime" type="uint32"/>
<param id="23" name="rmsTav" type="uint32"/>
</module>
<module id="6" name="Surround Record">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="7" id="3" name="chMask_" type="uint32"/>
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
<param complex="true" id="20" name="ch0_profileR" size="1024" type="float"/>
<param complex="true" id="21" name="ch1_profileR" size="1024" type="float"/>
<param complex="true" id="22" name="ch2_profileR" size="1024" type="float"/>
<param complex="true" id="23" name="ch0_profileAZ" size="1024" type="float"/>
<param complex="true" id="24" name="ch1_profileAZ" size="1024" type="float"/>
<param complex="true" id="25" name="ch2_profileAZ" size="1024" type="float"/>
<struct id="26">
<param default="1" name="ch_gain" type="float"/>
<param default="1" name="zoom_gain" type="float"/>
</struct>
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
<param default="0.33" id="30" name="alpha_enhancedRate" type="float"/>
<param default="0" id="31" name="swapOutputLR" type="int32"/>
<struct id="32">
<param default="0.0" name="CB_alpha_lowband" type="float"/>
<param default="0.0" name="CB_alpha_midband" type="float"/>
<param default="0.0" name="CB_alpha_highband" type="float"/>
</struct>
<struct id="33">
<param default="0.0" name="CB_epsilon_lowband" type="float"/>
<param default="0.0" name="CB_epsilon_midband" type="float"/>
<param default="0.0" name="CB_epsilon_highband" type="float"/>
</struct>
<struct id="34">
<param default="13" name="CB_fc_low_mid" type="int32"/>
<param default="22" name="CB_fc_mid_high" type="int32"/>
<param default="5" name="CB_smooth_span" type="int32"/>
<param default="1.0" name="CB_forget_factor" type="float"/>
</struct>
<struct id="35">
<param name="IIR_lowpass" size="5" type="float"/>
<param name="IIR_highpass" size="5" type="float"/>
</struct>
</module>
<module id="7" name="Multi Channel IIR 2">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="8" name="Multi Band DRC">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param default="1" max="3" min="1" name="numBand" type="uint32"/>
<param name="IIR_LowPass1" size="5" type="float"/>
<param name="IIR_HighPass1" size="5" type="float"/>
<param name="IIR_LowPass2" size="5" type="float"/>
<param name="IIR_HighPass2" size="5" type="float"/>
</struct>
<struct id="17">
<param max="20" min="0" name="band0_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band0_rms_ms" type="float"/>
<param max="30" min="0" name="band0_gain_dB" type="float"/>
<param max="30" min="-30" name="band0_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band0_numOfKnee" type="uint32"/>
<param name="band0_threadhold_dB" size="3" type="float"/>
<param name="band0_compressRatio" size="4" type="float"/>
<param name="band0_kneeWidth" size="3" type="float"/>
<param name="band0_attackTime_ms" size="4" type="float"/>
<param name="band0_releaseTime_ms" size="4" type="float"/>
<param name="band0_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band1_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band1_rms_ms" type="float"/>
<param max="30" min="0" name="band1_gain_dB" type="float"/>
<param max="30" min="-30" name="band1_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band1_numOfKnee" type="uint32"/>
<param name="band1_threadhold_dB" size="3" type="float"/>
<param name="band1_compressRatio" size="4" type="float"/>
<param name="band1_kneeWidth" size="3" type="float"/>
<param name="band1_attackTime_ms" size="4" type="float"/>
<param name="band1_releaseTime_ms" size="4" type="float"/>
<param name="band1_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band2_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band2_rms_ms" type="float"/>
<param max="30" min="0" name="band2_gain_dB" type="float"/>
<param max="30" min="-30" name="band2_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band2_numOfKnee" type="uint32"/>
<param name="band2_threadhold_dB" size="3" type="float"/>
<param name="band2_compressRatio" size="4" type="float"/>
<param name="band2_kneeWidth" size="3" type="float"/>
<param name="band2_attackTime_ms" size="4" type="float"/>
<param name="band2_releaseTime_ms" size="4" type="float"/>
<param name="band2_hysteresis" size="4" type="float"/>
</struct>
<struct id="18">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="float"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="float"/>
</struct>
<struct id="19">
<param name="frequency0" type="uint32"/>
<param name="frequency1" type="uint32"/>
</struct>
</module>
<module id="11" name="Stationary Noise Suppression">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="1" id="16" name="strength level" type="uint32"/>
<param id="17" name="POWER_TIME_SMOOTH" type="float"/>
<param id="18" name="RMS_TIME_SMOOTH" type="float"/>
<param id="19" name="LOWER_BAND_THRESHOLD" size="257" type="float"/>
<param id="20" name="UPPER_BAND_THRESHOLD" size="3" type="float"/>
<param id="21" name="ATTACK_TIME" type="float"/>
<param id="22" name="RELEASE_TIME" type="float"/>
<param id="23" name="BIN_THRESHOLD" size="5" type="uint32"/>
</module>
<module id="14" name="Linear Gain">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="Simple_gain" type="float"/>
<param default="0" id="17" name="ch0_assignFrom" type="int32"/>
<param default="1" id="18" name="ch1_assignFrom" type="int32"/>
<param default="2" id="19" name="ch2_assignFrom" type="int32"/>
</module>
<module id="17" name="Wind Noise Reduction">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="450" id="16" name="DECISION_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="17" name="DECISION_ATTACK_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="18" name="DECISION_RELEASE_HIGH_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="19" name="DECISION_RELEASE_LOW_SMOOTHING_FACTOR" type="int32"/>
<param default="700" id="20" name="DECISION_RELEASE_THRESHOLD" type="int32"/>
<param default="0" id="21" name="DECISION_RANGE_OFFSET_FACTOR" type="int32"/>
<param default="1000" id="22" name="DECISION_RANGE_SLOPE_FACTOR" type="int32"/>
<param default="450" id="23" name="DECISION_GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="27" id="24" name="DECISION_DB_RANGE" type="int32"/>
<param default="1000" id="25" name="MASTER_REDUCTION_FACTOR" type="int32"/>
<param default="15" id="26" name="KEEP_NUM_OF_PREV_DECISIONS" type="int32"/>
<param default="1000" id="27" name="DEC_PRE_GAIN" type="int32"/>
<param default="16000" id="28" name="SUP_PRE_GAIN" type="int32"/>
<param default="2" id="29" name="COHERENCE_ENABLE" type="int32"/>
<param default="1" id="30" name="COHERENCE_START_BIN" type="int32"/>
<param default="10" id="31" name="COHERENCE_END_BIN" type="int32"/>
<param default="300" id="32" name="COHERENCE_THRESHOLD" type="int32"/>
<param default="990" id="33" name="COHERENCE_FORGETTING_FACTOR" type="int32"/>
<param default="0" id="34" name="DB_SCALING_FACTOR" type="int32"/>
<param default="9" id="35" name="SEP_LAYER" type="int32"/>
<param default="1" id="36" name="SP_GAIN_ENABLE" type="int32"/>
<param default="15" id="37" name="SP_GAIN_MAX_BIN" type="int32"/>
<param default="500" id="38" name="SP_GAIN_MIN" type="int32"/>
<param default="200" id="39" name="SP_GAIN_TH_MIN" type="int32"/>
<param default="450" id="40" name="SP_GAIN_TH_MAX" type="int32"/>
<param default="800" id="41" name="SP_GAIN_SMOOTH" type="int32"/>
<param default="3" id="42" name="SP_GAIN_FREQ_SMOOTH" type="int32"/>
<param default="300" id="43" name="MASTER_MAX_SUP_SMOOTHING_FACTOR" type="int32"/>
<param default="1" id="44" name="GAIN_FREQ_SMOOTH" type="int32"/>
<param default="2" id="45" name="GMIN_CURVE_TYPE" type="int32"/>
<param default="55" id="46" name="GMIN_LINEAR_SPLIT_MID_POINT_BINR" type="int32"/>
<param default="330" id="47" name="GMIN_LINEAR_SPLIT_MID_POINT_VAL" type="int32"/>
<param default="1000" id="48" name="SP_OVERSUB_RATIO" type="int32"/>
<param default="16" id="49" name="WIND_ENERGY_EST_COMPENSATION_GAIN" type="int32"/>
<param default="2000" id="50" name="WIND_ENERGY_CURVE_SLOPE" type="int32"/>
<param default="300" id="51" name="WIND_ENERGY_CURVE_OFFSET" type="int32"/>
<param default="16000" id="52" name="WIND_ENERGY_CURVE_MIN" type="int32"/>
<param default="16000" id="53" name="WIND_ENERGY_CURVE_MAX" type="int32"/>
<param default="900" id="54" name="WIND_ENERGY_SMOOTHING" type="int32"/>
<param default="144" id="55" name="WIND_ENERGY_NORM_DENOM" type="int32"/>
<param default="600" id="56" name="WIND_ENERGY_CURVE_SCALED_TH_MIN" type="int32"/>
<param default="900" id="57" name="WIND_ENERGY_CURVE_SCALED_TH_MAX" type="int32"/>
<param default="1" id="58" name="ENABLE_ML_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="59" name="ENABLE_SP_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="60" name="ENALBE_SP_COMBI_OVERSUBTRACTION" type="int32"/>
<param default="1" id="61" name="ENABLE_PRIORI_SNR" type="int32"/>
<param default="1000" id="62" name="PRIORI_SNR_ML_TUNING" type="int32"/>
<param default="15" id="63" name="DEC_PREV_NUM" type="int32"/>
<param default="1" id="64" name="SSC_ENABLE" type="int32"/>
<param default="930" id="65" name="SSC_SOFT_SMOOTHING_FACTOR" type="int32"/>
<param default="1600" id="66" name="SSC_OVERDRIVE" type="int32"/>
<param default="3" id="67" name="SSC_MIN_FREQ" type="int32"/>
<param default="130" id="68" name="SSC_MAX_FREQ" type="int32"/>
<param default="700" id="69" name="SSC_PSD_SMOOTHING_FACTOR" type="int32"/>
<param default="12" id="70" name="SSC_SOFT_DECISION_MIN_FREQ" type="int32"/>
<param default="450" id="71" name="SSC_SOFT_DECISION_MAX_FREQ" type="int32"/>
<param default="5" id="72" name="SSC_KEEP_SAVED_PROB_SMOOTH_SIZE" type="int32"/>
<param default="1000" id="73" name="GAIN_BOOSTING_COST" type="int32"/>
<param default="450" id="74" name="GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="150" id="75" name="FINAL_GAIN_SMOOTHING_OFFSET_FACTOR" type="int32"/>
<param default="1" id="76" name="MUL_CH_SPEC_DIFF_ENABLE" type="int32"/>
<param default="4" id="77" name="MUL_CH_SPEC_DIFF_CENTER_SPEC_SEL" type="int32"/>
<param default="1000" id="78" name="MUL_CH_SPEC_DIFF_WIENER_OVERDRIVE" type="int32"/>
<param default="2" id="79" name="MUL_CH_SPEC_DIFF_GAIN_COMB" type="int32"/>
<param default="900" id="80" name="MUL_CH_SPEC_DIFF_TIME_SMOOTH" type="int32"/>
</module>
<module id="18" name="Multi Channel IIR 1">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="32" name="Single Band DRC">
<param default="1" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param max="20" min="0" name="delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="rms_ms" type="float"/>
<param max="30" min="0" name="gain_dB" type="float"/>
<param max="30" min="-30" name="Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="numOfKnee" type="uint32"/>
<param name="threadhold_dB" size="3" type="float"/>
<param name="compressRatio" size="4" type="float"/>
<param name="kneeWidth" size="3" type="float"/>
<param name="attackTime_ms" size="4" type="float"/>
<param name="releaseTime_ms" size="4" type="float"/>
<param name="hysteresis" size="4" type="float"/>
<param default="0" max="1" min="0" name="rms_manual_enable" type="uint32"/>
<param default="0" max="2" min="0" name="rms_channel" type="uint32"/>
</struct>
<struct id="17">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="uint32"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
</struct>
</module>
<module id="40" name="Pixel Gain Controller">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param name="crossover_iir_lp1" size="5" type="float"/>
<param name="crossover_iir_hp1" size="5" type="float"/>
<param name="crossover_iir_lp2" size="5" type="float"/>
<param name="crossover_iir_hp2" size="5" type="float"/>
<param default="250" max="1000" min="5" name="environment_rms_window_ms" type="int32"/>
<param default="-40" max="0" name="environment_rms_threshold_db" type="float"/>
<param default="50" min="0" name="environment_low_to_high_ms" type="int32"/>
<param default="1" min="0" name="environment_loudness_ratio_band0" type="float"/>
<param default="1" min="0" name="environment_loudness_ratio_band1" type="float"/>
<param default="1" min="0" name="environment_loudness_ratio_band2" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band0" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band0" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band0" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band0" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band0" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band0" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band0" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band0" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band0" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band0" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band0" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band0" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band0" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band0" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band1" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band1" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band1" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band1" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band1" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band1" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band1" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band1" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band1" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band1" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band1" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band1" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band1" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band1" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band2" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band2" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band2" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band2" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band2" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band2" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band2" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band2" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band2" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band2" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band2" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band2" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band2" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band2" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band0" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band0" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band0" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band0" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band0" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band0" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band0" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band0" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band0" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band0" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band0" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band0" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band0" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band0" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band1" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band1" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band1" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band1" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band1" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band1" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band1" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band1" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band1" type="float"/>
<param default="6.0" min="0" name="drc_ratio_downward_compressor_highaop_band1" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band1" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band1" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band1" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band1" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band2" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band2" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band2" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band2" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band2" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band2" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band2" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band2" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band2" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band2" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band2" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band2" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band2" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band2" type="float"/>
<param default="100" max="100" min="0" name="drc_delay_ms" type="int32"/>
<param default="1" max="1" min="0" name="drc_use_peak_amplitude" type="int32"/>
<param default="0" max="100" min="-100" name="drc_band1_minus_band2_max_gain_db" type="float"/>
<param default="0" max="100" min="-100" name="drc_band3_minus_band2_max_gain_db" type="float"/>
<param default="20" max="20" min="0" name="limiter_delay_ms" type="int32"/>
<param default="-0.5" max="0" name="limiter_thres_db" type="float"/>
<param default="0" name="limiter_gain_db" type="float"/>
<param default="10" min="0" name="limiter_attack_time_ms" type="int32"/>
<param default="50" min="0" name="limiter_release_time_ms" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band0" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band1" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band2" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band0" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band1" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band2" type="int32"/>
<param default="-50" name="drc_long_term_window_lower_db_band0" type="float"/>
<param default="-50" name="drc_long_term_window_lower_db_band1" type="float"/>
<param default="-50" name="drc_long_term_window_lower_db_band2" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band0" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band1" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band2" type="float"/>
<param default="10000" min="0" name="environment_high_to_low_ms" type="int32"/>
</struct>
</module>
<module id="10000" name="Eraser">
<param id="275" name="eraser_pre_gain" type="uint32"/>
<param id="277" name="eraser_post_gain" type="uint32"/>
<param id="279" name="non_eraser_gain" type="uint32"/>
</module>
<module id="10001" name="Cleaner">
<param id="299" name="cleaner_post_gain" type="uint32"/>
</module>
<module id="10002" name="CHRE">
<param id="345" name="chre_aec_timeout" type="uint32"/>
<param id="346" name="chre_pdm_gain" type="int32"/>
<param id="347" name="chre_aec_gain" type="int32"/>
</module>
</modules>
<signalflows>
<signalflow id="1" name="Spatial Audio">
<block id="128">
<moduleRef id="18"/>
<moduleRef id="17"/>
</block>
<block id="134">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="6"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="40"/>
</block>
</signalflow>
<signalflow id="2" name="General Mic Recording">
<block id="137">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="40"/>
</block>
</signalflow>
<signalflow id="1000" name="Smart Feature">
<block id="0">
<moduleRef id="10000"/>
<moduleRef id="10001"/>
<moduleRef id="10002"/>
</block>
</signalflow>
</signalflows>
</template>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,58 +0,0 @@
########################################################################################################
# (Optional) The supported features list for platform vendors to query from.
# Platform vendors should call maxxaudio_qdsp_is_feature_supported with a string to query from the list.
# This config has no effect in the MaxxAudioQdspHalController. It's only meaningful for platform vendors.
# Putting any value other than 1 would be equivalent to not supported.
########################################################################################################
[HAL_SUPPORTED_FEATURES]
CUSTOM_ACTION_256=1
########################################################################################################
# This defined the options of supported sample rates.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_SAMPLE_RATES]
SR_COMMON = 48000
########################################################################################################
# (Optional) The subtypes that applies to different angles(0, 90, 180, 270). Can be empty if not applicable.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_ORIENTATION_SUBTYPES]
OST_SPEAKER = 0:12,90:13,180:12,270:0|13
########################################################################################################
# This defines available preset configurations.
# This should be configured by Waves only unless platform vendor is familiar with MPS structure.
########################################################################################################
[HAL_SUPPORTED_PRESETS]
SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_CALL = OM:10,SM:2,OST:OST_SPEAKER
HEADSET_MUSIC = OM:2,SM:2
########################################################################################################
# This defines available CONTROL configurations. Only define the CONTROL if you need it.
# The numbers could vary from device to device.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_CONTROLS]
SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL
A2DP_INSTANCE = INSTANCE:2,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
USB_HEADPHONE_INSTANCE = INSTANCE:4,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
[COEFS_CONVERTER_SETTING]
AlgFxPath=/vendor/lib/libAlgFx_HiFi3z.so
AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
# do not modify the following if not necessary
#AudioFormatType=0
#AudioFormatChannels=2
#AudioFormatSampleRate=48000
#AudioFormatBitsPerSample=32
#AudioFormatSampleSize=4
#AudioFormatIncrement=8
[CUSTOM_ACTION_256]
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC

View file

@ -82,25 +82,6 @@ PRODUCT_PACKAGES += \
uplink_wired_headset_aec_off_config.pb \
uplink_wired_headset_aec_on_config.pb
# eng specific
PRODUCT_PACKAGES_ENG += \
BLUETOOTH.mods \
HANDSFREE.mods \
HANDSET.mods \
HEADSET.mods \
template.xml \
tuning_constraints_combination.xml \
test_config.ini \
test_preset.mps \
speaker_post_processing_volume_spec.xml
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
PRODUCT_COPY_FILES += \
device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
endif
# Offload spatializer config
PRODUCT_PACKAGES += \
vendor.google.whitechapel.audio.hal.effect.spatializer.base \

View file

@ -1,315 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<mixer>
<!-- Initial Values -->
<!-- Preload Stage -->
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
<!-- Clock-trigger Stage -->
<ctl name="SINK_IDS" id="0" value="-1"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="PCM Playback Volume" value="10"/>
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
<!-- Preparation Stage -->
<path name="crus-switch-fw-prepare">
<ctl name="DRE DRE Switch" value="1" />
<ctl name="VBSTMON Output Switch" value="1" />
<ctl name="DSP Booted" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R DRE DRE Switch" value="1" />
<ctl name="R VBSTMON Output Switch" value="1" />
<ctl name="R DSP Booted" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
</path>
<!-- Preload Stage -->
<path name="crus-fw-preload">
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<path name="crus-fw-preload-amp1">
<ctl name="DSP1 Preload Switch" value="1" />
</path>
<path name="crus-fw-preload-amp2">
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- Firmware-switching Stage -->
<path name="crus-switch-fw-Calibration">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Calibration" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Calibration" />
</path>
<path name="crus-switch-fw-Diagnostic">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Diagnostic" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Diagnostic" />
</path>
<path name="crus-switch-fw-Protection">
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Protection" />
</path>
<!-- DSP-initialization Stage -->
<path name="crus-dsp-pre-calibration-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration">
<path name="crus-dsp-pre-calibration-amp1" />
<path name="crus-dsp-pre-calibration-amp2" />
</path>
<path name="crus-dsp-pre-diagnostic-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic">
<path name="crus-dsp-pre-diagnostic-amp1" />
<path name="crus-dsp-pre-diagnostic-amp2" />
</path>
<path name="crus-dsp-pre-protection">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<!-- Clock-trigger Stage -->
<path name="platform-controls">
<ctl name="PCM Playback Volume" value="1000"/>
<ctl name="SINK_IDS" id="0" value="0"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
</path>
<!-- Post loaded firmware -->
<path name="crus-dsp-post-loading-fw">
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
</path>
<!-- Value & Information Fetch Stage -->
<path name="platform-values">
<ctl name="TDM_0_RX Format" />
<ctl name="TDM_0_RX Chan" />
<ctl name="TDM_0_RX Sample Rate" />
<ctl name="PCM Playback Volume" />
<ctl name="TDM_0_RX Mixer EP6" />
</path>
<path name="cs35l41-values">
<ctl name="DRE DRE Switch" />
<ctl name="R DRE DRE Switch" />
<ctl name="VBSTMON Output Switch" />
<ctl name="R VBSTMON Output Switch" />
<ctl name="AMP PCM Gain" />
<ctl name="R AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<ctl name="R Digital PCM Volume" />
<ctl name="PCM Source" />
<ctl name="R PCM Source" />
<ctl name="DSP Booted" />
<ctl name="R DSP Booted" />
<ctl name="Main AMP Enable Switch" />
<ctl name="R Main AMP Enable Switch" />
<ctl name="DSP1 Preload Switch" />
<ctl name="R DSP1 Preload Switch" />
<ctl name="DSP1 Firmware" />
<ctl name="R DSP1 Firmware" />
</path>
<!-- Note that the order of controls does matter because
it should be matched to the structure defined in
sp_cal_common.h -->
<!--
struct calibration_data {
unsigned int cal_r;
unsigned int cal_status;
unsigned int cal_checksum;
unsigned int cal_ambient;
unsigned int amp_pcm_gain;
unsigned int digital_pcm_gain;
};
-->
<path name="cs35l41-dsp-amp1-calibration-values">
<ctl name="DSP1 Calibration cd CAL_R" />
<ctl name="DSP1 Calibration cd CAL_STATUS" />
<ctl name="DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-values">
<ctl name="R DSP1 Calibration cd CAL_R" />
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
<ctl name="R DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="R DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="R DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<!--
struct diagnostic_data {
struct calibration_data calibration_data;
unsigned int z_low_diff;
unsigned int diag_f0;
unsigned int diag_f0_status;
};
-->
<path name="cs35l41-dsp-amp1-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Diagnostic cd CAL_R" />
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="DSP1 Diagnostic cd DIAG_F0" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Diagnostic cd CAL_R" />
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="R DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="R DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="R DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Protection cd CAL_R" />
<ctl name="DSP1 Protection cd CAL_STATUS" />
<ctl name="DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp2-protection-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Protection cd CAL_R" />
<ctl name="R DSP1 Protection cd CAL_STATUS" />
<ctl name="R DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="R DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp1-calibration-completion">
<ctl name="DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-completion">
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-completion">
<ctl name="DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-protection-completion">
<ctl name="R DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-diagnostic-completion">
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-completion">
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-enable-status">
<ctl name="Main AMP Enable Switch" />
</path>
<path name="cs35l41-dsp-amp2-enable-status">
<ctl name="R Main AMP Enable Switch" />
</path>
</mixer>

View file

@ -42,18 +42,6 @@ prebuilt_etc {
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "template.xml",
src: "bluenote/template.xml",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "tuning_constraints_combination.xml",
src: "bluenote/tuning_constraints_combination.xml",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "compens_spk_l.conf",
src: "compensation/compens_spk_l.conf",
@ -72,48 +60,24 @@ prebuilt_etc {
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "BLUETOOTH.mods",
src: "fortemedia/BLUETOOTH.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSFREE.dat",
src: "fortemedia/HANDSFREE.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSFREE.mods",
src: "fortemedia/HANDSFREE.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSET.dat",
src: "fortemedia/HANDSET.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HANDSET.mods",
src: "fortemedia/HANDSET.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HEADSET.dat",
src: "fortemedia/HEADSET.dat",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "HEADSET.mods",
src: "fortemedia/HEADSET.mods",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "mcps.dat",
src: "fortemedia/mcps.dat",
@ -240,24 +204,6 @@ prebuilt_etc {
soc_specific: true,
}
prebuilt_etc {
name: "speaker_post_processing_volume_spec.xml",
src: "pts/speaker_post_processing_volume_spec.xml",
defaults: ["aoc_defaults"],
}
prebuilt_etc {
name: "test_config.ini",
src: "waves/tests/test_config.ini",
soc_specific: true,
}
prebuilt_etc {
name: "test_preset.mps",
src: "waves/tests/test_preset.mps",
soc_specific: true,
}
prebuilt_etc {
name: "vendor.google.whitechapel.audio.hal.effect.spatializer.base",
src: "spatializer/base",

View file

@ -1,488 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<modules>
<module id="2" name="Waves">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="3" name="Forte">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="5" name="Auto Gain Control">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="GainApplied" type="float"/>
<param id="17" name="idealRMS" type="float"/>
<param id="18" name="noiseGate" type="float"/>
<param id="19" name="minGain" type="float"/>
<param id="20" name="maxGain" type="float"/>
<param id="21" name="releaseTime" type="uint32"/>
<param id="22" name="attackTime" type="uint32"/>
<param id="23" name="rmsTav" type="uint32"/>
</module>
<module id="6" name="Surround Record">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="7" id="3" name="chMask_" type="uint32"/>
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
<param complex="true" id="20" name="ch0_profileR" size="1024" type="float"/>
<param complex="true" id="21" name="ch1_profileR" size="1024" type="float"/>
<param complex="true" id="22" name="ch2_profileR" size="1024" type="float"/>
<param complex="true" id="23" name="ch0_profileAZ" size="1024" type="float"/>
<param complex="true" id="24" name="ch1_profileAZ" size="1024" type="float"/>
<param complex="true" id="25" name="ch2_profileAZ" size="1024" type="float"/>
<struct id="26">
<param default="1" name="ch_gain" type="float"/>
<param default="1" name="zoom_gain" type="float"/>
</struct>
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
<param default="0.33" id="30" name="alpha_enhancedRate" type="float"/>
<param default="0" id="31" name="swapOutputLR" type="int32"/>
<struct id="32">
<param default="0.0" name="CB_alpha_lowband" type="float"/>
<param default="0.0" name="CB_alpha_midband" type="float"/>
<param default="0.0" name="CB_alpha_highband" type="float"/>
</struct>
<struct id="33">
<param default="0.0" name="CB_epsilon_lowband" type="float"/>
<param default="0.0" name="CB_epsilon_midband" type="float"/>
<param default="0.0" name="CB_epsilon_highband" type="float"/>
</struct>
<struct id="34">
<param default="13" name="CB_fc_low_mid" type="int32"/>
<param default="22" name="CB_fc_mid_high" type="int32"/>
<param default="5" name="CB_smooth_span" type="int32"/>
<param default="1.0" name="CB_forget_factor" type="float"/>
</struct>
<struct id="35">
<param name="IIR_lowpass" size="5" type="float"/>
<param name="IIR_highpass" size="5" type="float"/>
</struct>
</module>
<module id="7" name="Multi Channel IIR 2">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="8" name="Multi Band DRC">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param default="1" max="3" min="1" name="numBand" type="uint32"/>
<param name="IIR_LowPass1" size="5" type="float"/>
<param name="IIR_HighPass1" size="5" type="float"/>
<param name="IIR_LowPass2" size="5" type="float"/>
<param name="IIR_HighPass2" size="5" type="float"/>
</struct>
<struct id="17">
<param max="20" min="0" name="band0_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band0_rms_ms" type="float"/>
<param max="30" min="0" name="band0_gain_dB" type="float"/>
<param max="30" min="-30" name="band0_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band0_numOfKnee" type="uint32"/>
<param name="band0_threadhold_dB" size="3" type="float"/>
<param name="band0_compressRatio" size="4" type="float"/>
<param name="band0_kneeWidth" size="3" type="float"/>
<param name="band0_attackTime_ms" size="4" type="float"/>
<param name="band0_releaseTime_ms" size="4" type="float"/>
<param name="band0_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band1_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band1_rms_ms" type="float"/>
<param max="30" min="0" name="band1_gain_dB" type="float"/>
<param max="30" min="-30" name="band1_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band1_numOfKnee" type="uint32"/>
<param name="band1_threadhold_dB" size="3" type="float"/>
<param name="band1_compressRatio" size="4" type="float"/>
<param name="band1_kneeWidth" size="3" type="float"/>
<param name="band1_attackTime_ms" size="4" type="float"/>
<param name="band1_releaseTime_ms" size="4" type="float"/>
<param name="band1_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band2_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band2_rms_ms" type="float"/>
<param max="30" min="0" name="band2_gain_dB" type="float"/>
<param max="30" min="-30" name="band2_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band2_numOfKnee" type="uint32"/>
<param name="band2_threadhold_dB" size="3" type="float"/>
<param name="band2_compressRatio" size="4" type="float"/>
<param name="band2_kneeWidth" size="3" type="float"/>
<param name="band2_attackTime_ms" size="4" type="float"/>
<param name="band2_releaseTime_ms" size="4" type="float"/>
<param name="band2_hysteresis" size="4" type="float"/>
</struct>
<struct id="18">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="float"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="float"/>
</struct>
<struct id="19">
<param name="frequency0" type="uint32"/>
<param name="frequency1" type="uint32"/>
</struct>
</module>
<module id="11" name="Stationary Noise Suppression">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="1" id="16" name="strength level" type="uint32"/>
<param id="17" name="POWER_TIME_SMOOTH" type="float"/>
<param id="18" name="RMS_TIME_SMOOTH" type="float"/>
<param id="19" name="LOWER_BAND_THRESHOLD" size="257" type="float"/>
<param id="20" name="UPPER_BAND_THRESHOLD" size="3" type="float"/>
<param id="21" name="ATTACK_TIME" type="float"/>
<param id="22" name="RELEASE_TIME" type="float"/>
<param id="23" name="BIN_THRESHOLD" size="5" type="uint32"/>
</module>
<module id="14" name="Linear Gain">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="Simple_gain" type="float"/>
<param default="0" id="17" name="ch0_assignFrom" type="int32"/>
<param default="1" id="18" name="ch1_assignFrom" type="int32"/>
<param default="2" id="19" name="ch2_assignFrom" type="int32"/>
</module>
<module id="17" name="Wind Noise Reduction">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="450" id="16" name="DECISION_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="17" name="DECISION_ATTACK_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="18" name="DECISION_RELEASE_HIGH_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="19" name="DECISION_RELEASE_LOW_SMOOTHING_FACTOR" type="int32"/>
<param default="700" id="20" name="DECISION_RELEASE_THRESHOLD" type="int32"/>
<param default="0" id="21" name="DECISION_RANGE_OFFSET_FACTOR" type="int32"/>
<param default="1000" id="22" name="DECISION_RANGE_SLOPE_FACTOR" type="int32"/>
<param default="450" id="23" name="DECISION_GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="27" id="24" name="DECISION_DB_RANGE" type="int32"/>
<param default="1000" id="25" name="MASTER_REDUCTION_FACTOR" type="int32"/>
<param default="15" id="26" name="KEEP_NUM_OF_PREV_DECISIONS" type="int32"/>
<param default="1000" id="27" name="DEC_PRE_GAIN" type="int32"/>
<param default="16000" id="28" name="SUP_PRE_GAIN" type="int32"/>
<param default="2" id="29" name="COHERENCE_ENABLE" type="int32"/>
<param default="1" id="30" name="COHERENCE_START_BIN" type="int32"/>
<param default="10" id="31" name="COHERENCE_END_BIN" type="int32"/>
<param default="300" id="32" name="COHERENCE_THRESHOLD" type="int32"/>
<param default="990" id="33" name="COHERENCE_FORGETTING_FACTOR" type="int32"/>
<param default="0" id="34" name="DB_SCALING_FACTOR" type="int32"/>
<param default="9" id="35" name="SEP_LAYER" type="int32"/>
<param default="1" id="36" name="SP_GAIN_ENABLE" type="int32"/>
<param default="15" id="37" name="SP_GAIN_MAX_BIN" type="int32"/>
<param default="500" id="38" name="SP_GAIN_MIN" type="int32"/>
<param default="200" id="39" name="SP_GAIN_TH_MIN" type="int32"/>
<param default="450" id="40" name="SP_GAIN_TH_MAX" type="int32"/>
<param default="800" id="41" name="SP_GAIN_SMOOTH" type="int32"/>
<param default="3" id="42" name="SP_GAIN_FREQ_SMOOTH" type="int32"/>
<param default="300" id="43" name="MASTER_MAX_SUP_SMOOTHING_FACTOR" type="int32"/>
<param default="1" id="44" name="GAIN_FREQ_SMOOTH" type="int32"/>
<param default="2" id="45" name="GMIN_CURVE_TYPE" type="int32"/>
<param default="55" id="46" name="GMIN_LINEAR_SPLIT_MID_POINT_BINR" type="int32"/>
<param default="330" id="47" name="GMIN_LINEAR_SPLIT_MID_POINT_VAL" type="int32"/>
<param default="1000" id="48" name="SP_OVERSUB_RATIO" type="int32"/>
<param default="16" id="49" name="WIND_ENERGY_EST_COMPENSATION_GAIN" type="int32"/>
<param default="2000" id="50" name="WIND_ENERGY_CURVE_SLOPE" type="int32"/>
<param default="300" id="51" name="WIND_ENERGY_CURVE_OFFSET" type="int32"/>
<param default="16000" id="52" name="WIND_ENERGY_CURVE_MIN" type="int32"/>
<param default="16000" id="53" name="WIND_ENERGY_CURVE_MAX" type="int32"/>
<param default="900" id="54" name="WIND_ENERGY_SMOOTHING" type="int32"/>
<param default="144" id="55" name="WIND_ENERGY_NORM_DENOM" type="int32"/>
<param default="600" id="56" name="WIND_ENERGY_CURVE_SCALED_TH_MIN" type="int32"/>
<param default="900" id="57" name="WIND_ENERGY_CURVE_SCALED_TH_MAX" type="int32"/>
<param default="1" id="58" name="ENABLE_ML_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="59" name="ENABLE_SP_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="60" name="ENALBE_SP_COMBI_OVERSUBTRACTION" type="int32"/>
<param default="1" id="61" name="ENABLE_PRIORI_SNR" type="int32"/>
<param default="1000" id="62" name="PRIORI_SNR_ML_TUNING" type="int32"/>
<param default="15" id="63" name="DEC_PREV_NUM" type="int32"/>
<param default="1" id="64" name="SSC_ENABLE" type="int32"/>
<param default="930" id="65" name="SSC_SOFT_SMOOTHING_FACTOR" type="int32"/>
<param default="1600" id="66" name="SSC_OVERDRIVE" type="int32"/>
<param default="3" id="67" name="SSC_MIN_FREQ" type="int32"/>
<param default="130" id="68" name="SSC_MAX_FREQ" type="int32"/>
<param default="700" id="69" name="SSC_PSD_SMOOTHING_FACTOR" type="int32"/>
<param default="12" id="70" name="SSC_SOFT_DECISION_MIN_FREQ" type="int32"/>
<param default="450" id="71" name="SSC_SOFT_DECISION_MAX_FREQ" type="int32"/>
<param default="5" id="72" name="SSC_KEEP_SAVED_PROB_SMOOTH_SIZE" type="int32"/>
<param default="1000" id="73" name="GAIN_BOOSTING_COST" type="int32"/>
<param default="450" id="74" name="GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="150" id="75" name="FINAL_GAIN_SMOOTHING_OFFSET_FACTOR" type="int32"/>
<param default="1" id="76" name="MUL_CH_SPEC_DIFF_ENABLE" type="int32"/>
<param default="4" id="77" name="MUL_CH_SPEC_DIFF_CENTER_SPEC_SEL" type="int32"/>
<param default="1000" id="78" name="MUL_CH_SPEC_DIFF_WIENER_OVERDRIVE" type="int32"/>
<param default="2" id="79" name="MUL_CH_SPEC_DIFF_GAIN_COMB" type="int32"/>
<param default="900" id="80" name="MUL_CH_SPEC_DIFF_TIME_SMOOTH" type="int32"/>
</module>
<module id="18" name="Multi Channel IIR 1">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="32" name="Single Band DRC">
<param default="1" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param max="20" min="0" name="delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="rms_ms" type="float"/>
<param max="30" min="0" name="gain_dB" type="float"/>
<param max="30" min="-30" name="Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="numOfKnee" type="uint32"/>
<param name="threadhold_dB" size="3" type="float"/>
<param name="compressRatio" size="4" type="float"/>
<param name="kneeWidth" size="3" type="float"/>
<param name="attackTime_ms" size="4" type="float"/>
<param name="releaseTime_ms" size="4" type="float"/>
<param name="hysteresis" size="4" type="float"/>
<param default="0" max="1" min="0" name="rms_manual_enable" type="uint32"/>
<param default="0" max="2" min="0" name="rms_channel" type="uint32"/>
</struct>
<struct id="17">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="uint32"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
</struct>
</module>
<module id="40" name="Pixel Gain Controller">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param name="crossover_iir_lp1" size="5" type="float"/>
<param name="crossover_iir_hp1" size="5" type="float"/>
<param name="crossover_iir_lp2" size="5" type="float"/>
<param name="crossover_iir_hp2" size="5" type="float"/>
<param default="250" max="1000" min="5" name="environment_rms_window_ms" type="int32"/>
<param default="-40" max="0" name="environment_rms_threshold_db" type="float"/>
<param default="50" min="0" name="environment_low_to_high_ms" type="int32"/>
<param default="1" min="0" name="environment_loudness_ratio_band0" type="float"/>
<param default="1" min="0" name="environment_loudness_ratio_band1" type="float"/>
<param default="1" min="0" name="environment_loudness_ratio_band2" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band0" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band0" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band0" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band0" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band0" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band0" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band0" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band0" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band0" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band0" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band0" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band0" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band0" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band0" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band1" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band1" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band1" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band1" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band1" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band1" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band1" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band1" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band1" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band1" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band1" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band1" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band1" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band1" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band2" type="int32"/>
<param default="28" name="drc_gain_db_lowaop_band2" type="float"/>
<param default="-20" name="drc_min_gain_db_lowaop_band2" type="float"/>
<param default="-70" name="drc_thres_db_expander_lowaop_band2" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band2" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band2" type="float"/>
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band2" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band2" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band2" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band2" type="float"/>
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band2" type="float"/>
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band2" type="float"/>
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band2" type="float"/>
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band2" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band0" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band0" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band0" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band0" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band0" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band0" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band0" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band0" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band0" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band0" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band0" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band0" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band0" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band0" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band0" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band0" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band0" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band1" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band1" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band1" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band1" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band1" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band1" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band1" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band1" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band1" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band1" type="float"/>
<param default="6.0" min="0" name="drc_ratio_downward_compressor_highaop_band1" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band1" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band1" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band1" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band1" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band1" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band1" type="float"/>
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band2" type="int32"/>
<param default="28" name="drc_gain_db_highaop_band2" type="float"/>
<param default="-20" name="drc_min_gain_db_highaop_band2" type="float"/>
<param default="-70" name="drc_thres_db_expander_highaop_band2" type="float"/>
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band2" type="float"/>
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band2" type="float"/>
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band2" type="float"/>
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band2" type="float"/>
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band2" type="float"/>
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band2" type="float"/>
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band2" type="float"/>
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band2" type="float"/>
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band2" type="float"/>
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band2" type="float"/>
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band2" type="float"/>
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band2" type="float"/>
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band2" type="float"/>
<param default="100" max="100" min="0" name="drc_delay_ms" type="int32"/>
<param default="1" max="1" min="0" name="drc_use_peak_amplitude" type="int32"/>
<param default="0" max="100" min="-100" name="drc_band1_minus_band2_max_gain_db" type="float"/>
<param default="0" max="100" min="-100" name="drc_band3_minus_band2_max_gain_db" type="float"/>
<param default="20" max="20" min="0" name="limiter_delay_ms" type="int32"/>
<param default="-0.5" max="0" name="limiter_thres_db" type="float"/>
<param default="0" name="limiter_gain_db" type="float"/>
<param default="10" min="0" name="limiter_attack_time_ms" type="int32"/>
<param default="50" min="0" name="limiter_release_time_ms" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band0" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band1" type="int32"/>
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band2" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band0" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band1" type="int32"/>
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band2" type="int32"/>
<param default="-50" name="drc_long_term_window_lower_db_band0" type="float"/>
<param default="-50" name="drc_long_term_window_lower_db_band1" type="float"/>
<param default="-50" name="drc_long_term_window_lower_db_band2" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band0" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band1" type="float"/>
<param default="-30" name="drc_long_term_window_upper_db_band2" type="float"/>
<param default="10000" min="0" name="environment_high_to_low_ms" type="int32"/>
</struct>
</module>
<module id="10000" name="Eraser">
<param id="275" name="eraser_pre_gain" type="uint32"/>
<param id="277" name="eraser_post_gain" type="uint32"/>
<param id="279" name="non_eraser_gain" type="uint32"/>
</module>
<module id="10001" name="Cleaner">
<param id="299" name="cleaner_post_gain" type="uint32"/>
</module>
<module id="10002" name="CHRE">
<param id="345" name="chre_aec_timeout" type="uint32"/>
<param id="346" name="chre_pdm_gain" type="int32"/>
<param id="347" name="chre_aec_gain" type="int32"/>
</module>
</modules>
<signalflows>
<signalflow id="1" name="Spatial Audio">
<block id="128">
<moduleRef id="18"/>
<moduleRef id="17"/>
</block>
<block id="134">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="6"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="40"/>
</block>
</signalflow>
<signalflow id="2" name="General Mic Recording">
<block id="137">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="40"/>
</block>
</signalflow>
<signalflow id="1000" name="Smart Feature">
<block id="0">
<moduleRef id="10000"/>
<moduleRef id="10001"/>
<moduleRef id="10002"/>
</block>
</signalflow>
</signalflows>
</template>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,31 +0,0 @@
<?xml version="1.0" ?>
<xml>
<spec feature="normal">
<vol step="1">-55.633537,-57.12799</vol>
<vol step="2">-52.74118,-54.248005</vol>
<vol step="3">-49.229015,-50.760155</vol>
<vol step="4">-46.39415,-47.93267</vol>
<vol step="5">-42.696896,-44.252502</vol>
<vol step="6">-39.243034,-40.831715</vol>
<vol step="7">-36.365067,-37.983456</vol>
<vol step="8">-33.502815,-35.130657</vol>
<vol step="9">-31.668825,-33.308605</vol>
<vol step="10">-29.462334,-31.116865</vol>
<vol step="11">-26.979172,-28.646566</vol>
<vol step="12">-24.473492,-26.155708</vol>
<vol step="13">-22.479034,-24.18116</vol>
<vol step="14">-20.641127,-22.376537</vol>
<vol step="15">-18.619516,-20.410694</vol>
<vol step="16">-17.039654,-18.978006</vol>
<vol step="17">-15.964582,-18.063643</vol>
<vol step="18">-14.847198,-17.068687</vol>
<vol step="19">-13.786341,-16.13179</vol>
<vol step="20">-12.377989,-14.879541</vol>
<vol step="21">-11.468842,-14.155666</vol>
<vol step="22">-10.673872,-13.19977</vol>
<vol step="23">-9.866504,-12.5231495</vol>
<vol step="24">-9.465342,-12.234019</vol>
<vol step="25">-9.418919,-12.183332</vol>
</spec>
</xml>

View file

@ -1,58 +0,0 @@
########################################################################################################
# (Optional) The supported features list for platform vendors to query from.
# Platform vendors should call maxxaudio_qdsp_is_feature_supported with a string to query from the list.
# This config has no effect in the MaxxAudioQdspHalController. It's only meaningful for platform vendors.
# Putting any value other than 1 would be equivalent to not supported.
########################################################################################################
[HAL_SUPPORTED_FEATURES]
CUSTOM_ACTION_256=1
########################################################################################################
# This defined the options of supported sample rates.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_SAMPLE_RATES]
SR_COMMON = 48000
########################################################################################################
# (Optional) The subtypes that applies to different angles(0, 90, 180, 270). Can be empty if not applicable.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_ORIENTATION_SUBTYPES]
OST_SPEAKER = 0:12,90:13,180:12,270:0|13
########################################################################################################
# This defines available preset configurations.
# This should be configured by Waves only unless platform vendor is familiar with MPS structure.
########################################################################################################
[HAL_SUPPORTED_PRESETS]
SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_CALL = OM:10,SM:2,OST:OST_SPEAKER
HEADSET_MUSIC = OM:2,SM:2
########################################################################################################
# This defines available CONTROL configurations. Only define the CONTROL if you need it.
# The numbers could vary from device to device.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_CONTROLS]
SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL
A2DP_INSTANCE = INSTANCE:2,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
USB_HEADPHONE_INSTANCE = INSTANCE:4,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
[COEFS_CONVERTER_SETTING]
AlgFxPath=/vendor/lib/libAlgFx_HiFi3z.so
AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
# do not modify the following if not necessary
#AudioFormatType=0
#AudioFormatChannels=2
#AudioFormatSampleRate=48000
#AudioFormatBitsPerSample=32
#AudioFormatSampleSize=4
#AudioFormatIncrement=8
[CUSTOM_ACTION_256]
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC

View file

@ -39,10 +39,6 @@ include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
include device/google/caimito/sepolicy/caiman-sepolicy.mk
include device/google/caimito/wifi/BoardConfig-wifi.mk
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
-include device/google/common/etm/6_1/BoardUserdebugModules.mk
endif
DEVICE_PATH := device/google/caimito
VENDOR_PATH := vendor/google/caiman
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk

View file

@ -47,9 +47,6 @@ endif
LOCAL_PATH := device/google/caimito
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
USE_UWBFIELDTESTQM := true
endif
include device/google/caimito/caiman/uwb/uwb_calibration.mk
$(call inherit-product-if-exists, vendor/google_devices/caimito/prebuilts/device-vendor-caiman.mk)
@ -202,22 +199,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_ENG += \
hci_inject
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Bluetooth SAR test tool
PRODUCT_PACKAGES_ENG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_ENG += \
ewp_tool
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
@ -227,19 +212,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.hfp.swb.supported=true
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=29 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=true
else
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=16 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=false
endif
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
@ -451,11 +428,6 @@ SUPPORT_VENDOR_SATELLITE_SERVICE := true
# Support NTN(satellite) with dual SIM
NTN_DUAL_SIM := true
# ETM
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
endif
# Enable Bluetooth AutoOn feature
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.server.automatic_turn_on=true

View file

@ -30,10 +30,6 @@ PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_lpm_$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_lpm.json \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/vt_estimation_model_$(TARGET_DEVICE).tflite:$(TARGET_COPY_OUT_VENDOR)/etc/vt_estimation_model.tflite \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/vt_prediction_lstm_model_$(TARGET_DEVICE).tflite:$(TARGET_COPY_OUT_VENDOR)/etc/vt_prediction_lstm_model.tflite
ifneq (,$(filter $(TARGET_BUILD_VARIANT), eng))
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_$(TARGET_DEVICE)_wingboard.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_wingboard.json
endif
endif
# Power HAL config

View file

@ -47,9 +47,6 @@ endif
LOCAL_PATH := device/google/caimito
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
USE_UWBFIELDTESTQM := true
endif
include device/google/caimito/komodo/uwb/uwb_calibration.mk
$(call inherit-product-if-exists, vendor/google_devices/caimito/prebuilts/device-vendor-komodo.mk)
@ -219,22 +216,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_ENG += \
hci_inject
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Bluetooth SAR test tool
PRODUCT_PACKAGES_ENG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_ENG += \
ewp_tool
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
@ -244,19 +229,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.hfp.swb.supported=true
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=29 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=true
else
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=16 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=false
endif
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
@ -459,11 +436,6 @@ PRODUCT_PRODUCT_PROPERTIES += \
# Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# ETM
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
endif
# Connectivity Resources Overlay for Thread host settings
PRODUCT_PACKAGES += \
ConnectivityResourcesOverlayCaimitoOverride

View file

@ -197,22 +197,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_ENG += \
hci_inject
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Bluetooth SAR test tool
PRODUCT_PACKAGES_ENG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_ENG += \
ewp_tool
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
@ -222,19 +210,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.hfp.swb.supported=true
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=29 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=true
else
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=16 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=false
endif
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
@ -428,11 +408,6 @@ PRODUCT_PRODUCT_PROPERTIES += \
# Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# ETM
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
endif
# Connectivity Resources Overlay for Thread host settings
PRODUCT_PACKAGES += \
ConnectivityResourcesOverlayCaimitoOverride

View file

@ -30,13 +30,3 @@ $(call soong_config_set,fp_hal_feature,biometric_suez_support,true)
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.qfp.enable_setprop=0 \
log.tag.QFP=3
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
$(call soong_config_set,fp_hal_feature,fingerprint_debug_support,$(RELEASE_PIXEL_AIDL_FINGERPRINT_DEBUG_HAL))
PRODUCT_SOONG_NAMESPACES += \
vendor/qcom/fingerprint/QFPCalibration
PRODUCT_PACKAGES += \
QFPCalibration
endif

View file

@ -33,10 +33,6 @@ include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
include device/google/caimito/sepolicy/komodo-sepolicy.mk
include device/google/caimito/wifi/BoardConfig-wifi.mk
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
-include device/google/common/etm/6_1/BoardUserdebugModules.mk
endif
DEVICE_PATH := device/google/caimito
VENDOR_PATH := vendor/google/komodo
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk

View file

@ -4,45 +4,9 @@ package {
default_applicable_licenses: ["device_google_caimito_license"],
}
soong_config_module_type {
name: "gnss_prebuilt_etc",
module_type: "prebuilt_etc",
config_namespace: "gpssdk",
variables: [
"buildtype",
],
properties: [
"src",
],
}
soong_config_string_variable {
name: "buildtype",
values: [
"user",
"userdebug",
"eng",
],
}
gnss_prebuilt_etc {
prebuilt_etc {
name: "gps.cfg",
soong_config_variables: {
buildtype: {
user: {
src: "user/gps.cfg",
},
userdebug: {
src: "user/gps.cfg",
},
eng: {
src: "userdebug/gps.cfg",
},
conditions_default: {
src: "user/gps.cfg",
},
},
},
src: "user/gps.cfg",
relative_install_path: "gnss",
vendor: true,
}

View file

@ -1,359 +0,0 @@
############################################
GlueLayer_ToolConfigSelection=3
user_ports_tcp_name=Autotest
user_ports_tcp_port=7555
debug_console=1
debug_dir=/data/vendor/gps/logs
############################################
GlueLayer_IsGedKeyExist=1
GlueLayer_EnableGnssCfgInterface=1
uni_log_max_file_count=5
uni_log_max_size_mb=20
uni_log_total_max_size_mb=100
debug_enable=4
mem_dump_to_node=1
gnss_device_type=K042
gnss_device_patch_address=0
gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0
# enable ism stream for GAAM
ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK
#Chip_Configuration_Io_Options=0x9
# enable DEBUG sync msg
#Chip_Configuration_Io_Options=0xD
# force CP crash on GAL bad ISM (1 is first instance, 2 is when we assert)
#Chip_Configuration_cpdbgsync=1
# Chip_Configuration_TrackerDebugMode = 0x10
GlueLayer_IsPlatformRefTimeEnable=1
# enables CHPP for SPI port
# uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP
# when using CHPP, make sure to enable the CHPP defines in build_settings.mak
chpp_betp_client=1
chpp_log_level=2
gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc
gnss_device_data_port_chpp_present=1
### Update for VTS ###
GlueLayer_YearOfHW=2023
scheduling_enabled=1
# 1pps timemark output: 0: disable 1: enable
ChipCfg_Timemark_Option=1
# VDR End condition (meter, meter, sec, sec)
ChipCfg_VDR_high_end_Distance = 200
ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
# 0x01 = Precise time aiding
# 0x02 = Coarse time aiding *
# 0x04 = Local time aiding *
# 0x08 = CP time aiding
# 0x10 = Frequency counter aiding
# 0x20 = Frequency non-counter aiding
# 0x40 = CP Frequency aiding *
# 0x80 = Extend BE collection *
# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
Chip_Configuration_AidingConfiguration=0x000200C6
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
Chip_Configuration_RefClkControl=0x24
#Chip_Configuration_RefClkControl=0x20
#Chip_Configuration_RefClkUncertainty=20000
### Override for DCXO Cnom/TuneValue
#Chip_Configuration_DCXOtuneValue=5143
### DCXO Optional Parameters. #####
# Can specify Crystal type, and/or over-ride T0-inflection point ####
#
# Optionally specify DXCO Crystal type, and operation mode
# 8 bits. Lower 4 bits Crystal ID# (0-15)
# Upper 4 bits Poly Configuration: (0/1)
# Poly Configuration: 0: Use CP's poly, 1: Force use of default manufactures polynomial
### Crystal Types:
## 0 - Unknown/Default
## 1 - Kyocera CT1612RB
## 2 - NDK NX1612SD CS12311
## 3 - NDK NX1612SD CS13950
## 4 - NDK NX1612SD CS15298
## 5 - KDS 7CG07680A10
## 6- TXC 0W76870003
## E.g. Use Kyocera, and ignore CP's polynomial: DCXO_CrystalType=0x11
## E.g. Use KDS, and Use CP's polynomial: DCXO_CrystalType=0x05
## LOOK! S5400 ERD's uses NDK(2), Phones use Kyocera(1). Default set to phone (1)
Chip_Configuration_DCXO_CrystalType=0x11
## Optionally specify DXCO Inflection point temperature, ####
# This will override any default value or value in Crystal type ####
# Value is degrees C x 100 E.g. 2855 = 28.55 deg C
# Range should be 2000 to 3100
#Chip_Configuration_DCXO_InflectionPoint=2855
# L1 + L5 MCW
Chip_Configuration_GNSSConstConstraintDef = 0x60FF
LocTech_Constraints = 0x60FF
Chip_Configuration_RfMiscCtrl = 0x80008001
### 2C48 L1 only MCW ###
#Chip_Configuration_GNSSConstConstraintDef=0x602F
#Chip_Configuration_RfMiscCtrl=0x80008001
# L1 HYSPDY - CP
#Chip_Configuration_GNSSConstConstraintDef=0x602F
#LocTech_Constraints = 0x602F
#Chip_Configuration_RfMiscCtrl=0x8001
#Chip_Configuration_IspTestConfig=0x22242822
#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling
#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period.
#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
Chip_Configuration_ntn_option=2
# Certain constellation permission overriding LocTech config setting: only to possibly
# disallow constellations allowed in LocTech, not vice versa. Note: GPS and GAL are
# allowed in all markets so no such overriding.
# 0: not to override (default), 1-disabled, 2- disabled if in US
#gloUsedPolicy=2
bdsUsedPolicy=2
sbasUsedPolicy=2
qzssUsedPolicy=2
navicUsedPolicy=2
# DVS: 0 = Disabled, 1 = Enabled (default)
# DFS: 0 = Disabled, 1 = Enabled (default)
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
# Disable MTPL
Chip_Configuration_FeatureCfg_MTPL = 0
# MCW Link failure behavior: 0 = SW Assert (default), 1 = GNSS restart (hot start)
Chip_Configuration_FeatureCfg_SDL_BYASS = 1
# This is a bitfield that will disable incoming interrupts for mailboxes
# AP = 0x1
# APM = 0x2
# CP = 0x4
# CHUB = 0x8
mailboxDisabled=0x0
### Specify RFIC ID for K42 ###
# 55400000 = S5540 EVT0
gnss_rfic_chip_id=55400000
# Uncomment to Disable SUPL
#Aiding_AidingType=0
# Uncomment to Disable SUPL (Ignore Android Framework Requests to Enable SUPL)
#GlueLayer_EnableFwConfiguration=0
#Uncomment to disable SGEE
#Sif_OperationMode=0
# Enables RTC time aiding from Host
# 1 - enable, 0 - disable (default)
UseRtcForAiding=1
# increase rtc uncertainty from Host to hedge against bad fixes
additional_rtc_uncertainty_ms=10
# set to 1 for FW SGEE download - Requires Android FW to be properly configured
Sif_UseFwXtraInterface=1
# ChipCfg_GetGpsWeekFloor variable allows testing of old GPS weeks.
# Used here to adjust the GPS week for carrier testing.
# Simulations in the past may be based on any week number.
# Guidelines:
# If simulation week absolute week number is:
# 1-1023: ChipCfg_SetGpsWeekFloor=1
# 1024-2047: ChipCfg_SetGpsWeekFloor=1024
# 2048-3071: ChipCfg_SetGpsWeekFloor=2048
# Example: ChipCfg_GetGpsWeekFloor=1024
# The above sets the correct operation when the true week is between 1024 and 2048
# ChipCfg_GetGpsWeekFloor=0
Agnss_IsGloAidingEnable=0
Agnss_IsGalAidingEnable=0
Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
PosReq_Supl2Params_SuplNiUdpPort=7275
GlueLayer_LPPCpBitmask=0xFF
GlueLayer_IsCpLteNeighborCellEnable=1
GlueLayer_isReqDBHFromFwRefLoc=1
GlueLayer_isReqUBPFromPressureSensor=1
GlueLayer_IsRilCIDReqEnable=0
GlueLayer_IsMemsEnable=1
GlueLayer_MeasCorrCap=7
# 0x0001: CHIP_CONFIG_MEMS_ACCEL_AVAILABLE
# 0x0002: CHIP_CONFIG_MEMS_MAGN_AVAILABLE
# 0x0004: CHIP_CONFIG_MEMS_GYRO_AVAILABLE
# 0x0010: CHIP_CONFIG_MEMS_ORIENTATION_AVAILABLE
# 0x0020: CHIP_CONFIG_MEMS_STEPCOUNTER_AVAILABLE
Chip_Configuration_mems_data_Configuration=0x25
AccelSamplingPeriodUs=10000
MagnSamplingPeriodUs=10000
GyroSamplingPeriodUs=10000
PressSamplingPeriodUs=50000
OrientationSamplingPeriodUs=10000
StepCounterSamplingPeriodUs=1000000
Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1
CP_LocTech_PrimaryConst=0
CP_LocTech_Constraints=1
CP_LocTech_Requirements=0
UP_LocTech_PrimaryConst=0
UP_LocTech_Constraints=1
UP_LocTech_Requirements=0
SpotLogger_Allowed=0
# GNSS power values in "mW"
SingleBandAcq=474
MultiBandAcq=586
SingleBandFullTrkNm=432
SingleBandFullTrkUd=390
MultiBandFullTrkNm=572
MultiBandFullTrkUd=509
SingleBandDutyCycleTrkNm=390
SingleBandDutyCycleTrkUd=355
MultiBandDutyCycleTrkNm=509
MultiBandDutyCycleTrkUd=453
SingleBandVddGnssNmTrk=145
MultiBandVddGnssNmTrk=187
SingleBandVddGnssUdTrk=103
MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5076,-5076,-5064,-5022,-4982,-4916,-4879,-4800,-4704,-4647,-4628,-4573,-4522,-4493
path_delay_gps_2fx_cm = 12371
path_delay_bds_4fx_cm = 123
path_delay_l5_20fx_cm = 105888
RfPathLossDb_Ap=3210
RfPathLossDb_Cp=3210
RfPathLossDb_L5_Ap=4450
RfPathLossDb_L5_Cp=4450
NmeaBitmask=0x010003fff
# force engine to use entire response time for emergency session; default 0
IsUseEntireRespTime911=1
# force engine to engage high accuracy if entire response time used; default 0
isForceHighAccuracyMode=1
# This is to indicate if AP supports CP partial reset feature
# default = CP partial reset feature enabled
# 0 = CP partial reset feature enabled
# 1 = CP partial reset feature disabled
cp_partial_reset_disable=1
# 0: Use calibrated data 1: Use uncalibrated data
isUseUncalAccel=1
isUseUncalMagn=0
# 0x0001: Enable StaticNavMode
# 0x0002: Enable TunnelDetection
# 0x0040: Self-detection Algorithm works
# 0x0400: Enable MEMS S5
# 0x2000: Enable MEMS PGMF (Pedestrian GNSS + MEMS Fusion)
NavOptions=0x2443
GNSS_CARRIER_CONFIG_BEGIN
# DEFAULT
GNSS_CARRIER_ID=0
ENABLE_CAPS_OTDOA=1
ENABLE_2G_CP_CAPS_MSA=1
ENABLE_2G_CP_CAPS_MSB=1
ENABLE_3G_CP_CAPS_MSA=1
ENABLE_3G_CP_CAPS_MSB=1
ENABLE_4G_CP_CAPS_MSA=1
ENABLE_4G_CP_CAPS_MSB=1
ENABLE_5G_CP_CAPS_MSA=1
ENABLE_5G_CP_CAPS_MSB=1
ENABLE_2G_UP_CAPS_MSA=1
ENABLE_2G_UP_CAPS_MSB=1
ENABLE_3G_UP_CAPS_MSA=1
ENABLE_3G_UP_CAPS_MSB=1
ENABLE_4G_UP_CAPS_MSA=1
ENABLE_4G_UP_CAPS_MSB=1
ENABLE_5G_UP_CAPS_MSA=0
ENABLE_5G_UP_CAPS_MSB=0
SUPL_SSL_METHOD=TLSv1_1
SUPL_HMAC_HASH=SHA256
SUPL_UT2_SEC=20
SUPL_UT3_SEC=20
ENABLE_LPP_CP=1
ENABLE_LPP_UP=0
ENABLE_LPPE_CP=3
ENABLE_LPPE_UP=0
ENABLE_NLP_ALONG_WITH_UBP=0
ENABLE_NLP_IN_LPPE=1
ENABLE_NLP_IN_AGNSS=0
ENABLE_LPP_HA_GAD_SHAPE=0
USE_EMER_PDN_FOR_EMER_SUPL=1
CP_LOCTECH_CONSTRAINTS=1
UP_LOCTECH_CONSTRAINTS=1
# ATT
GNSS_CARRIER_ID=1
CP_LOCTECH_CONSTRAINTS=5
# TMO
GNSS_CARRIER_ID=2
ENABLE_3G_CP_CAPS_MSA=0
ENABLE_4G_CP_CAPS_MSA=0
ENABLE_NLP_IN_LPPE=0
ENABLE_NLP_IN_AGNSS=1
ENABLE_LPP_HA_GAD_SHAPE=1
CP_LOCTECH_CONSTRAINTS=5
# VZW
GNSS_CARRIER_ID=3
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
SUPL_SSL_METHOD=TLSv1_2
SUPL_UT2_SEC=10
SUPL_UT3_SEC=30
# AIRTEL
GNSS_CARRIER_ID=4
# RAKUTEN
GNSS_CARRIER_ID=5
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
ENABLE_2G_UP_CAPS_MSA=0
ENABLE_3G_UP_CAPS_MSA=0
ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
ENABLE_LPPE_CP=0
ENABLE_5G_CP_CAPS_MSA=0
ENABLE_5G_CP_CAPS_MSB=0
USE_EMER_PDN_FOR_EMER_SUPL=0
# DOCOMO
GNSS_CARRIER_ID=8
# LAB
GNSS_CARRIER_ID=9
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_CONFIG_END

View file

@ -4,45 +4,9 @@ package {
default_applicable_licenses: ["device_google_caimito_license"],
}
soong_config_module_type {
name: "gnss_prebuilt_etc",
module_type: "prebuilt_etc",
config_namespace: "gpssdk",
variables: [
"buildtype",
],
properties: [
"src",
],
}
soong_config_string_variable {
name: "buildtype",
values: [
"user",
"userdebug",
"eng",
],
}
gnss_prebuilt_etc {
prebuilt_etc {
name: "gps.cfg",
soong_config_variables: {
buildtype: {
user: {
src: "user/gps.cfg",
},
userdebug: {
src: "user/gps.cfg",
},
eng: {
src: "userdebug/gps.cfg",
},
conditions_default: {
src: "user/gps.cfg",
},
},
},
src: "user/gps.cfg",
relative_install_path: "gnss",
vendor: true,
}

View file

@ -1,359 +0,0 @@
############################################
GlueLayer_ToolConfigSelection=3
user_ports_tcp_name=Autotest
user_ports_tcp_port=7555
debug_console=1
debug_dir=/data/vendor/gps/logs
############################################
GlueLayer_IsGedKeyExist=1
GlueLayer_EnableGnssCfgInterface=1
uni_log_max_file_count=5
uni_log_max_size_mb=20
uni_log_total_max_size_mb=100
debug_enable=4
mem_dump_to_node=1
gnss_device_type=K042
gnss_device_patch_address=0
gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0
# enable ism stream for GAAM
ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK
#Chip_Configuration_Io_Options=0x9
# enable DEBUG sync msg
#Chip_Configuration_Io_Options=0xD
# force CP crash on GAL bad ISM (1 is first instance, 2 is when we assert)
#Chip_Configuration_cpdbgsync=1
# Chip_Configuration_TrackerDebugMode = 0x10
GlueLayer_IsPlatformRefTimeEnable=1
# enables CHPP for SPI port
# uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP
# when using CHPP, make sure to enable the CHPP defines in build_settings.mak
chpp_betp_client=1
chpp_log_level=2
gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc
gnss_device_data_port_chpp_present=1
### Update for VTS ###
GlueLayer_YearOfHW=2023
scheduling_enabled=1
# 1pps timemark output: 0: disable 1: enable
ChipCfg_Timemark_Option=1
# VDR End condition (meter, meter, sec, sec)
ChipCfg_VDR_high_end_Distance = 200
ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
# 0x01 = Precise time aiding
# 0x02 = Coarse time aiding *
# 0x04 = Local time aiding *
# 0x08 = CP time aiding
# 0x10 = Frequency counter aiding
# 0x20 = Frequency non-counter aiding
# 0x40 = CP Frequency aiding *
# 0x80 = Extend BE collection *
# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
Chip_Configuration_AidingConfiguration=0x000200C6
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
Chip_Configuration_RefClkControl=0x24
#Chip_Configuration_RefClkControl=0x20
#Chip_Configuration_RefClkUncertainty=20000
### Override for DCXO Cnom/TuneValue
#Chip_Configuration_DCXOtuneValue=5143
### DCXO Optional Parameters. #####
# Can specify Crystal type, and/or over-ride T0-inflection point ####
#
# Optionally specify DXCO Crystal type, and operation mode
# 8 bits. Lower 4 bits Crystal ID# (0-15)
# Upper 4 bits Poly Configuration: (0/1)
# Poly Configuration: 0: Use CP's poly, 1: Force use of default manufactures polynomial
### Crystal Types:
## 0 - Unknown/Default
## 1 - Kyocera CT1612RB
## 2 - NDK NX1612SD CS12311
## 3 - NDK NX1612SD CS13950
## 4 - NDK NX1612SD CS15298
## 5 - KDS 7CG07680A10
## 6- TXC 0W76870003
## E.g. Use Kyocera, and ignore CP's polynomial: DCXO_CrystalType=0x11
## E.g. Use KDS, and Use CP's polynomial: DCXO_CrystalType=0x05
## LOOK! S5400 ERD's uses NDK(2), Phones use Kyocera(1). Default set to phone (1)
Chip_Configuration_DCXO_CrystalType=0x11
## Optionally specify DXCO Inflection point temperature, ####
# This will override any default value or value in Crystal type ####
# Value is degrees C x 100 E.g. 2855 = 28.55 deg C
# Range should be 2000 to 3100
#Chip_Configuration_DCXO_InflectionPoint=2855
# L1 + L5 MCW
Chip_Configuration_GNSSConstConstraintDef = 0x60FF
LocTech_Constraints = 0x60FF
Chip_Configuration_RfMiscCtrl = 0x80008001
### 2C48 L1 only MCW ###
#Chip_Configuration_GNSSConstConstraintDef=0x602F
#Chip_Configuration_RfMiscCtrl=0x80008001
# L1 HYSPDY - CP
#Chip_Configuration_GNSSConstConstraintDef=0x602F
#LocTech_Constraints = 0x602F
#Chip_Configuration_RfMiscCtrl=0x8001
#Chip_Configuration_IspTestConfig=0x22242822
#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling
#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period.
#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
Chip_Configuration_ntn_option=2
# Certain constellation permission overriding LocTech config setting: only to possibly
# disallow constellations allowed in LocTech, not vice versa. Note: GPS and GAL are
# allowed in all markets so no such overriding.
# 0: not to override (default), 1-disabled, 2- disabled if in US
#gloUsedPolicy=2
bdsUsedPolicy=2
sbasUsedPolicy=2
qzssUsedPolicy=2
navicUsedPolicy=2
# DVS: 0 = Disabled, 1 = Enabled (default)
# DFS: 0 = Disabled, 1 = Enabled (default)
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
# Disable MTPL
Chip_Configuration_FeatureCfg_MTPL = 0
# MCW Link failure behavior: 0 = SW Assert (default), 1 = GNSS restart (hot start)
Chip_Configuration_FeatureCfg_SDL_BYASS = 1
# This is a bitfield that will disable incoming interrupts for mailboxes
# AP = 0x1
# APM = 0x2
# CP = 0x4
# CHUB = 0x8
mailboxDisabled=0x0
### Specify RFIC ID for K42 ###
# 55400000 = S5540 EVT0
gnss_rfic_chip_id=55400000
# Uncomment to Disable SUPL
#Aiding_AidingType=0
# Uncomment to Disable SUPL (Ignore Android Framework Requests to Enable SUPL)
#GlueLayer_EnableFwConfiguration=0
#Uncomment to disable SGEE
#Sif_OperationMode=0
# Enables RTC time aiding from Host
# 1 - enable, 0 - disable (default)
UseRtcForAiding=1
# increase rtc uncertainty from Host to hedge against bad fixes
additional_rtc_uncertainty_ms=10
# set to 1 for FW SGEE download - Requires Android FW to be properly configured
Sif_UseFwXtraInterface=1
# ChipCfg_GetGpsWeekFloor variable allows testing of old GPS weeks.
# Used here to adjust the GPS week for carrier testing.
# Simulations in the past may be based on any week number.
# Guidelines:
# If simulation week absolute week number is:
# 1-1023: ChipCfg_SetGpsWeekFloor=1
# 1024-2047: ChipCfg_SetGpsWeekFloor=1024
# 2048-3071: ChipCfg_SetGpsWeekFloor=2048
# Example: ChipCfg_GetGpsWeekFloor=1024
# The above sets the correct operation when the true week is between 1024 and 2048
# ChipCfg_GetGpsWeekFloor=0
Agnss_IsGloAidingEnable=0
Agnss_IsGalAidingEnable=0
Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
PosReq_Supl2Params_SuplNiUdpPort=7275
GlueLayer_LPPCpBitmask=0xFF
GlueLayer_IsCpLteNeighborCellEnable=1
GlueLayer_isReqDBHFromFwRefLoc=1
GlueLayer_isReqUBPFromPressureSensor=1
GlueLayer_IsRilCIDReqEnable=0
GlueLayer_IsMemsEnable=1
GlueLayer_MeasCorrCap=7
# 0x0001: CHIP_CONFIG_MEMS_ACCEL_AVAILABLE
# 0x0002: CHIP_CONFIG_MEMS_MAGN_AVAILABLE
# 0x0004: CHIP_CONFIG_MEMS_GYRO_AVAILABLE
# 0x0010: CHIP_CONFIG_MEMS_ORIENTATION_AVAILABLE
# 0x0020: CHIP_CONFIG_MEMS_STEPCOUNTER_AVAILABLE
Chip_Configuration_mems_data_Configuration=0x25
AccelSamplingPeriodUs=10000
MagnSamplingPeriodUs=10000
GyroSamplingPeriodUs=10000
PressSamplingPeriodUs=50000
OrientationSamplingPeriodUs=10000
StepCounterSamplingPeriodUs=1000000
Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1
CP_LocTech_PrimaryConst=0
CP_LocTech_Constraints=1
CP_LocTech_Requirements=0
UP_LocTech_PrimaryConst=0
UP_LocTech_Constraints=1
UP_LocTech_Requirements=0
SpotLogger_Allowed=0
# GNSS power values in "mW"
SingleBandAcq=474
MultiBandAcq=586
SingleBandFullTrkNm=432
SingleBandFullTrkUd=390
MultiBandFullTrkNm=572
MultiBandFullTrkUd=509
SingleBandDutyCycleTrkNm=390
SingleBandDutyCycleTrkUd=355
MultiBandDutyCycleTrkNm=509
MultiBandDutyCycleTrkUd=453
SingleBandVddGnssNmTrk=145
MultiBandVddGnssNmTrk=187
SingleBandVddGnssUdTrk=103
MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5185,-5158,-5112,-5111,-5031,-4972,-4900,-4823,-4765,-4714,-4625,-4613,-4553,-4553
path_delay_gps_2fx_cm = 12378
path_delay_bds_4fx_cm = 168
path_delay_l5_20fx_cm = 105902
RfPathLossDb_Ap=3520
RfPathLossDb_Cp=3520
RfPathLossDb_L5_Ap=3700
RfPathLossDb_L5_Cp=3700
NmeaBitmask=0x010003fff
# force engine to use entire response time for emergency session; default 0
IsUseEntireRespTime911=1
# force engine to engage high accuracy if entire response time used; default 0
isForceHighAccuracyMode=1
# This is to indicate if AP supports CP partial reset feature
# default = CP partial reset feature enabled
# 0 = CP partial reset feature enabled
# 1 = CP partial reset feature disabled
cp_partial_reset_disable=1
# 0: Use calibrated data 1: Use uncalibrated data
isUseUncalAccel=1
isUseUncalMagn=0
# 0x0001: Enable StaticNavMode
# 0x0002: Enable TunnelDetection
# 0x0040: Self-detection Algorithm works
# 0x0400: Enable MEMS S5
# 0x2000: Enable MEMS PGMF (Pedestrian GNSS + MEMS Fusion)
NavOptions=0x2443
GNSS_CARRIER_CONFIG_BEGIN
# DEFAULT
GNSS_CARRIER_ID=0
ENABLE_CAPS_OTDOA=1
ENABLE_2G_CP_CAPS_MSA=1
ENABLE_2G_CP_CAPS_MSB=1
ENABLE_3G_CP_CAPS_MSA=1
ENABLE_3G_CP_CAPS_MSB=1
ENABLE_4G_CP_CAPS_MSA=1
ENABLE_4G_CP_CAPS_MSB=1
ENABLE_5G_CP_CAPS_MSA=1
ENABLE_5G_CP_CAPS_MSB=1
ENABLE_2G_UP_CAPS_MSA=1
ENABLE_2G_UP_CAPS_MSB=1
ENABLE_3G_UP_CAPS_MSA=1
ENABLE_3G_UP_CAPS_MSB=1
ENABLE_4G_UP_CAPS_MSA=1
ENABLE_4G_UP_CAPS_MSB=1
ENABLE_5G_UP_CAPS_MSA=0
ENABLE_5G_UP_CAPS_MSB=0
SUPL_SSL_METHOD=TLSv1_1
SUPL_HMAC_HASH=SHA256
SUPL_UT2_SEC=20
SUPL_UT3_SEC=20
ENABLE_LPP_CP=1
ENABLE_LPP_UP=0
ENABLE_LPPE_CP=3
ENABLE_LPPE_UP=0
ENABLE_NLP_ALONG_WITH_UBP=0
ENABLE_NLP_IN_LPPE=1
ENABLE_NLP_IN_AGNSS=0
ENABLE_LPP_HA_GAD_SHAPE=0
USE_EMER_PDN_FOR_EMER_SUPL=1
CP_LOCTECH_CONSTRAINTS=1
UP_LOCTECH_CONSTRAINTS=1
# ATT
GNSS_CARRIER_ID=1
CP_LOCTECH_CONSTRAINTS=5
# TMO
GNSS_CARRIER_ID=2
ENABLE_3G_CP_CAPS_MSA=0
ENABLE_4G_CP_CAPS_MSA=0
ENABLE_NLP_IN_LPPE=0
ENABLE_NLP_IN_AGNSS=1
ENABLE_LPP_HA_GAD_SHAPE=1
CP_LOCTECH_CONSTRAINTS=5
# VZW
GNSS_CARRIER_ID=3
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
SUPL_SSL_METHOD=TLSv1_2
SUPL_UT2_SEC=10
SUPL_UT3_SEC=30
# AIRTEL
GNSS_CARRIER_ID=4
# RAKUTEN
GNSS_CARRIER_ID=5
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
ENABLE_2G_UP_CAPS_MSA=0
ENABLE_3G_UP_CAPS_MSA=0
ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
ENABLE_LPPE_CP=0
ENABLE_5G_CP_CAPS_MSA=0
ENABLE_5G_CP_CAPS_MSB=0
USE_EMER_PDN_FOR_EMER_SUPL=0
# DOCOMO
GNSS_CARRIER_ID=8
# LAB
GNSS_CARRIER_ID=9
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_CONFIG_END

View file

@ -4,45 +4,9 @@ package {
default_applicable_licenses: ["device_google_caimito_license"],
}
soong_config_module_type {
name: "gnss_prebuilt_etc",
module_type: "prebuilt_etc",
config_namespace: "gpssdk",
variables: [
"buildtype",
],
properties: [
"src",
],
}
soong_config_string_variable {
name: "buildtype",
values: [
"user",
"userdebug",
"eng",
],
}
gnss_prebuilt_etc {
prebuilt_etc {
name: "gps.cfg",
soong_config_variables: {
buildtype: {
user: {
src: "user/gps.cfg",
},
userdebug: {
src: "user/gps.cfg",
},
eng: {
src: "userdebug/gps.cfg",
},
conditions_default: {
src: "user/gps.cfg",
},
},
},
src: "user/gps.cfg",
relative_install_path: "gnss",
vendor: true,
}

View file

@ -1,359 +0,0 @@
############################################
GlueLayer_ToolConfigSelection=3
user_ports_tcp_name=Autotest
user_ports_tcp_port=7555
debug_console=1
debug_dir=/data/vendor/gps/logs
############################################
GlueLayer_IsGedKeyExist=1
GlueLayer_EnableGnssCfgInterface=1
uni_log_max_file_count=5
uni_log_max_size_mb=20
uni_log_total_max_size_mb=100
debug_enable=4
mem_dump_to_node=1
gnss_device_type=K042
gnss_device_patch_address=0
gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0
# enable ism stream for GAAM
ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK
#Chip_Configuration_Io_Options=0x9
# enable DEBUG sync msg
#Chip_Configuration_Io_Options=0xD
# force CP crash on GAL bad ISM (1 is first instance, 2 is when we assert)
#Chip_Configuration_cpdbgsync=1
# Chip_Configuration_TrackerDebugMode = 0x10
GlueLayer_IsPlatformRefTimeEnable=1
# enables CHPP for SPI port
# uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP
# when using CHPP, make sure to enable the CHPP defines in build_settings.mak
chpp_betp_client=1
chpp_log_level=2
gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc
gnss_device_data_port_chpp_present=1
### Update for VTS ###
GlueLayer_YearOfHW=2023
scheduling_enabled=1
# 1pps timemark output: 0: disable 1: enable
ChipCfg_Timemark_Option=1
# VDR End condition (meter, meter, sec, sec)
ChipCfg_VDR_high_end_Distance = 200
ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
# 0x01 = Precise time aiding
# 0x02 = Coarse time aiding *
# 0x04 = Local time aiding *
# 0x08 = CP time aiding
# 0x10 = Frequency counter aiding
# 0x20 = Frequency non-counter aiding
# 0x40 = CP Frequency aiding *
# 0x80 = Extend BE collection *
# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
Chip_Configuration_AidingConfiguration=0x000200C6
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
Chip_Configuration_RefClkControl=0x24
#Chip_Configuration_RefClkControl=0x20
#Chip_Configuration_RefClkUncertainty=20000
### Override for DCXO Cnom/TuneValue
#Chip_Configuration_DCXOtuneValue=5143
### DCXO Optional Parameters. #####
# Can specify Crystal type, and/or over-ride T0-inflection point ####
#
# Optionally specify DXCO Crystal type, and operation mode
# 8 bits. Lower 4 bits Crystal ID# (0-15)
# Upper 4 bits Poly Configuration: (0/1)
# Poly Configuration: 0: Use CP's poly, 1: Force use of default manufactures polynomial
### Crystal Types:
## 0 - Unknown/Default
## 1 - Kyocera CT1612RB
## 2 - NDK NX1612SD CS12311
## 3 - NDK NX1612SD CS13950
## 4 - NDK NX1612SD CS15298
## 5 - KDS 7CG07680A10
## 6- TXC 0W76870003
## E.g. Use Kyocera, and ignore CP's polynomial: DCXO_CrystalType=0x11
## E.g. Use KDS, and Use CP's polynomial: DCXO_CrystalType=0x05
## LOOK! S5400 ERD's uses NDK(2), Phones use Kyocera(1). Default set to phone (1)
Chip_Configuration_DCXO_CrystalType=0x11
## Optionally specify DXCO Inflection point temperature, ####
# This will override any default value or value in Crystal type ####
# Value is degrees C x 100 E.g. 2855 = 28.55 deg C
# Range should be 2000 to 3100
#Chip_Configuration_DCXO_InflectionPoint=2855
# L1 + L5 MCW
Chip_Configuration_GNSSConstConstraintDef = 0x60FF
LocTech_Constraints = 0x60FF
Chip_Configuration_RfMiscCtrl = 0x80008001
### 2C48 L1 only MCW ###
#Chip_Configuration_GNSSConstConstraintDef=0x602F
#Chip_Configuration_RfMiscCtrl=0x80008001
# L1 HYSPDY - CP
#Chip_Configuration_GNSSConstConstraintDef=0x602F
#LocTech_Constraints = 0x602F
#Chip_Configuration_RfMiscCtrl=0x8001
#Chip_Configuration_IspTestConfig=0x22242822
#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling
#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period.
#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
Chip_Configuration_ntn_option=2
# Certain constellation permission overriding LocTech config setting: only to possibly
# disallow constellations allowed in LocTech, not vice versa. Note: GPS and GAL are
# allowed in all markets so no such overriding.
# 0: not to override (default), 1-disabled, 2- disabled if in US
#gloUsedPolicy=2
bdsUsedPolicy=2
sbasUsedPolicy=2
qzssUsedPolicy=2
navicUsedPolicy=2
# DVS: 0 = Disabled, 1 = Enabled (default)
# DFS: 0 = Disabled, 1 = Enabled (default)
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
# Disable MTPL
Chip_Configuration_FeatureCfg_MTPL = 0
# MCW Link failure behavior: 0 = SW Assert (default), 1 = GNSS restart (hot start)
Chip_Configuration_FeatureCfg_SDL_BYASS = 1
# This is a bitfield that will disable incoming interrupts for mailboxes
# AP = 0x1
# APM = 0x2
# CP = 0x4
# CHUB = 0x8
mailboxDisabled=0x0
### Specify RFIC ID for K42 ###
# 55400000 = S5540 EVT0
gnss_rfic_chip_id=55400000
# Uncomment to Disable SUPL
#Aiding_AidingType=0
# Uncomment to Disable SUPL (Ignore Android Framework Requests to Enable SUPL)
#GlueLayer_EnableFwConfiguration=0
#Uncomment to disable SGEE
#Sif_OperationMode=0
# Enables RTC time aiding from Host
# 1 - enable, 0 - disable (default)
UseRtcForAiding=1
# increase rtc uncertainty from Host to hedge against bad fixes
additional_rtc_uncertainty_ms=10
# set to 1 for FW SGEE download - Requires Android FW to be properly configured
Sif_UseFwXtraInterface=1
# ChipCfg_GetGpsWeekFloor variable allows testing of old GPS weeks.
# Used here to adjust the GPS week for carrier testing.
# Simulations in the past may be based on any week number.
# Guidelines:
# If simulation week absolute week number is:
# 1-1023: ChipCfg_SetGpsWeekFloor=1
# 1024-2047: ChipCfg_SetGpsWeekFloor=1024
# 2048-3071: ChipCfg_SetGpsWeekFloor=2048
# Example: ChipCfg_GetGpsWeekFloor=1024
# The above sets the correct operation when the true week is between 1024 and 2048
# ChipCfg_GetGpsWeekFloor=0
Agnss_IsGloAidingEnable=0
Agnss_IsGalAidingEnable=0
Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
PosReq_Supl2Params_SuplNiUdpPort=7275
GlueLayer_LPPCpBitmask=0xFF
GlueLayer_IsCpLteNeighborCellEnable=1
GlueLayer_isReqDBHFromFwRefLoc=1
GlueLayer_isReqUBPFromPressureSensor=1
GlueLayer_IsRilCIDReqEnable=0
GlueLayer_IsMemsEnable=1
GlueLayer_MeasCorrCap=7
# 0x0001: CHIP_CONFIG_MEMS_ACCEL_AVAILABLE
# 0x0002: CHIP_CONFIG_MEMS_MAGN_AVAILABLE
# 0x0004: CHIP_CONFIG_MEMS_GYRO_AVAILABLE
# 0x0010: CHIP_CONFIG_MEMS_ORIENTATION_AVAILABLE
# 0x0020: CHIP_CONFIG_MEMS_STEPCOUNTER_AVAILABLE
Chip_Configuration_mems_data_Configuration=0x25
AccelSamplingPeriodUs=10000
MagnSamplingPeriodUs=10000
GyroSamplingPeriodUs=10000
PressSamplingPeriodUs=50000
OrientationSamplingPeriodUs=10000
StepCounterSamplingPeriodUs=1000000
Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1
CP_LocTech_PrimaryConst=0
CP_LocTech_Constraints=1
CP_LocTech_Requirements=0
UP_LocTech_PrimaryConst=0
UP_LocTech_Constraints=1
UP_LocTech_Requirements=0
SpotLogger_Allowed=0
# GNSS power values in "mW"
SingleBandAcq=474
MultiBandAcq=586
SingleBandFullTrkNm=432
SingleBandFullTrkUd=390
MultiBandFullTrkNm=572
MultiBandFullTrkUd=509
SingleBandDutyCycleTrkNm=390
SingleBandDutyCycleTrkUd=355
MultiBandDutyCycleTrkNm=509
MultiBandDutyCycleTrkUd=453
SingleBandVddGnssNmTrk=145
MultiBandVddGnssNmTrk=187
SingleBandVddGnssUdTrk=103
MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5166,-5149,-5097,-5104,-5021,-4992,-4936,-4854,-4776,-4719,-4656,-4619,-4581,-4544
path_delay_gps_2fx_cm = 12368
path_delay_bds_4fx_cm = 164
path_delay_l5_20fx_cm = 105888
RfPathLossDb_Ap=3550
RfPathLossDb_Cp=3550
RfPathLossDb_L5_Ap=3870
RfPathLossDb_L5_Cp=3870
NmeaBitmask=0x010003fff
# force engine to use entire response time for emergency session; default 0
IsUseEntireRespTime911=1
# force engine to engage high accuracy if entire response time used; default 0
isForceHighAccuracyMode=1
# This is to indicate if AP supports CP partial reset feature
# default = CP partial reset feature enabled
# 0 = CP partial reset feature enabled
# 1 = CP partial reset feature disabled
cp_partial_reset_disable=1
# 0: Use calibrated data 1: Use uncalibrated data
isUseUncalAccel=1
isUseUncalMagn=0
# 0x0001: Enable StaticNavMode
# 0x0002: Enable TunnelDetection
# 0x0040: Self-detection Algorithm works
# 0x0400: Enable MEMS S5
# 0x2000: Enable MEMS PGMF (Pedestrian GNSS + MEMS Fusion)
NavOptions=0x2443
GNSS_CARRIER_CONFIG_BEGIN
# DEFAULT
GNSS_CARRIER_ID=0
ENABLE_CAPS_OTDOA=1
ENABLE_2G_CP_CAPS_MSA=1
ENABLE_2G_CP_CAPS_MSB=1
ENABLE_3G_CP_CAPS_MSA=1
ENABLE_3G_CP_CAPS_MSB=1
ENABLE_4G_CP_CAPS_MSA=1
ENABLE_4G_CP_CAPS_MSB=1
ENABLE_5G_CP_CAPS_MSA=1
ENABLE_5G_CP_CAPS_MSB=1
ENABLE_2G_UP_CAPS_MSA=1
ENABLE_2G_UP_CAPS_MSB=1
ENABLE_3G_UP_CAPS_MSA=1
ENABLE_3G_UP_CAPS_MSB=1
ENABLE_4G_UP_CAPS_MSA=1
ENABLE_4G_UP_CAPS_MSB=1
ENABLE_5G_UP_CAPS_MSA=0
ENABLE_5G_UP_CAPS_MSB=0
SUPL_SSL_METHOD=TLSv1_1
SUPL_HMAC_HASH=SHA256
SUPL_UT2_SEC=20
SUPL_UT3_SEC=20
ENABLE_LPP_CP=1
ENABLE_LPP_UP=0
ENABLE_LPPE_CP=3
ENABLE_LPPE_UP=0
ENABLE_NLP_ALONG_WITH_UBP=0
ENABLE_NLP_IN_LPPE=1
ENABLE_NLP_IN_AGNSS=0
ENABLE_LPP_HA_GAD_SHAPE=0
USE_EMER_PDN_FOR_EMER_SUPL=1
CP_LOCTECH_CONSTRAINTS=1
UP_LOCTECH_CONSTRAINTS=1
# ATT
GNSS_CARRIER_ID=1
CP_LOCTECH_CONSTRAINTS=5
# TMO
GNSS_CARRIER_ID=2
ENABLE_3G_CP_CAPS_MSA=0
ENABLE_4G_CP_CAPS_MSA=0
ENABLE_NLP_IN_LPPE=0
ENABLE_NLP_IN_AGNSS=1
ENABLE_LPP_HA_GAD_SHAPE=1
CP_LOCTECH_CONSTRAINTS=5
# VZW
GNSS_CARRIER_ID=3
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
SUPL_SSL_METHOD=TLSv1_2
SUPL_UT2_SEC=10
SUPL_UT3_SEC=30
# AIRTEL
GNSS_CARRIER_ID=4
# RAKUTEN
GNSS_CARRIER_ID=5
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
ENABLE_2G_UP_CAPS_MSA=0
ENABLE_3G_UP_CAPS_MSA=0
ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
ENABLE_LPPE_CP=0
ENABLE_5G_CP_CAPS_MSA=0
ENABLE_5G_CP_CAPS_MSB=0
USE_EMER_PDN_FOR_EMER_SUPL=0
# DOCOMO
GNSS_CARRIER_ID=8
# LAB
GNSS_CARRIER_ID=9
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_CONFIG_END

View file

@ -39,10 +39,6 @@ include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
include device/google/caimito/sepolicy/tokay-sepolicy.mk
include device/google/caimito/wifi/BoardConfig-wifi.mk
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
-include device/google/common/etm/6_1/BoardUserdebugModules.mk
endif
DEVICE_PATH := device/google/caimito
VENDOR_PATH := vendor/google/tokay
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk