tegu: 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 08c2886f1b
commit 2433b69efb
No known key found for this signature in database
14 changed files with 2 additions and 158605 deletions

View file

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

View file

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2019, 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>
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
<ctl name="TAS25XX ASI Switch" value="0"/>
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="47"/>
<ctl name="TAS25XX PLAYBACK_VOLUME_RIGHT" value="47"/>
<ctl name="TAS25XX CODEC PROFILE" value="default"/>
<path name="ti-speaker">
<ctl name="TAS25XX CODEC PROFILE" value="default"/>
<ctl name="TAS25XX ASI Switch" value="1"/>
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="55"/>
<ctl name="TAS25XX PLAYBACK_VOLUME_RIGHT" value="55"/>
</path>
<path name="deep-buffer playback">
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
</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",
@ -132,18 +96,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: "downlink_bluetooth_headset_config.pb",
src: "apmg3/downlink_bluetooth_headset_config.pb",

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

@ -162,18 +162,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=2 \
ro.gms.dck.se_capability=1
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
hci_inject
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
ewp_tool
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
@ -251,19 +239,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
ifneq (,$(filter userdebug 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
# Enable Bluetooth AutoOn feature
PRODUCT_PRODUCT_PROPERTIES += \

View file

@ -5,15 +5,8 @@
PRODUCT_COPY_FILES += \
device/google/tegu/location/ca.pem:vendor/etc/gnss/ca.pem
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/tegu/location/gps.cfg:vendor/etc/gnss/gps.cfg
PRODUCT_VENDOR_PROPERTIES += \
vendor.gps.aol.enabled=true
else
PRODUCT_COPY_FILES += \
device/google/tegu/location/gps_user.cfg:vendor/etc/gnss/gps.cfg
endif
PRODUCT_COPY_FILES += \
device/google/tegu/location/gps_user.cfg:vendor/etc/gnss/gps.cfg
# include pixel gnss hal service
-include vendor/google_devices/zumapro/proprietary/gps/pixel_gnss_hal.mk

View file

@ -1,296 +0,0 @@
############################################
GlueLayer_ToolConfigSelection=3
debug_console=0
debug_enable=4
mem_dump_to_node=1
force_instant_logging=0
user_ports_tcp_name=Autotest
user_ports_tcp_port=7555
debug_dir=/data/vendor/gps/logs
############################################
GlueLayer_IsGedKeyExist=1
GlueLayer_EnableGnssCfgInterface=1
GlueLayer_IsUseCustomGnssLib=1
uni_log_max_file_count=5
uni_log_max_size_mb=20
uni_log_total_max_size_mb=100
# to enable ism stream for GAAM
ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
gnss_device_type=K041
gnss_device_patch_address=0
gnss_device_patch_file=/vendor/firmware/kepler.bin
# 1pps timemark output: 0: disable 1: enable
ChipCfg_Timemark_Option=1
# Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=1
# send debug req on MCW oddity
#Chip_Configuration_Io_Options=0x85
# Disable dynamic HSI
Chip_Configuration_Dynamic_HSI=0
# Set UBSAN to operate on logging mode on FW
# 0: disable 1: crash mode 2: logging mode
Chip_Configuration_ubsan_opt=2
# borrow this field to force CP crash on GAL bad ISM
#Chip_Configuration_WT1=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
### temporarily disable precise time aiding ###
Chip_Configuration_AidingConfiguration=0x00020046
# 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
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
Chip_Configuration_RefClkControl=0x24
### Override for DCXO Cnom/TuneValue
#Chip_Configuration_DCXOtuneValue=3200
### 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
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
# disable spam dog to avoid loss of position request
spam_dog_ms=0
# disable HW watchdog
Chip_Configuration_WatchdogPeriod = 0
# GPS= 0x0001 GLO= 0x0002 GALILEO=0x0004 BEIDOU=0x0008 SBAS=0x0010 QZSS=0x0020
# MEMS Static Detect=0x4000 MEMS Heading=0x2000
### 2C48 L1 only MCW ###
Chip_Configuration_GNSSConstConstraintDef=0x602F
Chip_Configuration_RfMiscCtrl=0x80008001
# 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 (default), 1 = Enabled
# DFS: 0 = Disabled (default), 1 = Enabled
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
# MTPL: 0 = Disabled, 1 = Enabled (default)
Chip_Configuration_FeatureCfg_MTPL=1
# This is a bitfield that will disable incoming interrupts for mailboxes
# AP = 0x1
# APM = 0x2
# CP = 0x4
# CHUB = 0x8
# The CHUB on the neus continually triggers a bit so this is to prevent
# it from continually waking the gnss.
mailboxDisabled=0x0
### Specify RFIC ID for K40 ###
# 55200001 = S5520 EVT1
gnss_rfic_chip_id=55200001
# 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
# Min number of prior fixes needed for RTC time aiding
rtc_min_num_of_fixes=10
# increase rtc uncertainty from Host to hedge against bad fixes
additional_rtc_uncertainty_ms=10
# debug output time interval for LAL metrics logging (0 means disable)
lal_metrics_interval_ms=0
# set to 1 for FW SGEE download - Requires Android FW to be properly configured
Sif_UseFwXtraInterface=1
# Low power configurations
# ACT C/No loss limit: 0dB to 15dB (0 = ACT is disabled by default) 3dB = 50% Duty Cycle, 6dB = 25% Duty Cycle, 9dB = 12.5% Duty Cycle
Chip_Configuration_FeatureCfg_ACT = 5
ChipCfg_DspMemdumpEnable=1
Agnss_IsGloAidingEnable=1
Agnss_IsGalAidingEnable=1
Agnss_IsBdsAidingEnable=1
Agnss_SuplUseCpNi=1
Agnss_SuplAidIntvlCrossSess=1
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
Chip_Configuration_mems_data_Configuration=5
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
RfPathLossDb_Ap=3800
RfPathLossDb_Cp=3800
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
# 0: Use calibrated Accel data 1: Use uncalibrated Accel data
isUseUncalAccel=1
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
# VZW
GNSS_CARRIER_ID=3
ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
SUPL_UT2_SEC=10
SUPL_UT3_SEC=30
SUPL_SSL_METHOD=TLSv1_2
# 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
# TELUS
GNSS_CARRIER_ID=10
ENABLE_5G_CP_CAPS_MSA=0
ENABLE_5G_CP_CAPS_MSB=0
GNSS_CARRIER_CONFIG_END