34 Commits

Author SHA1 Message Date
Michael Bestas
785994b861 redfin: Remove userdebug/eng configuration
Change-Id: Ia50c9d143f3b59f02a73c2dc89837afe63bbf6fb
2025-09-14 18:16:14 +03:00
Jason Hsu
8ad4040ef2 audio: Update ACDB table
Changelist:
1. HANB/WB Fine tune for carrier requirement
     FM: FDEQ @max-2 vol
2. HAWB Fine tune
    FM: FDEQ @ nom vol
    VOL: nom vol.
3. Update AGC tuning parameters in use case ID 61~66

Bug: 165875970
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ifaf96ce2b87a21e3f5b64a37dec952c0d548732d
2020-08-21 10:43:07 +08:00
Jason Hsu
fce21e75a9 audio: Update ACDB table
changelist:

Handset NB / Handset WB
> improve subjective listening max-1 / max-2 / nom /  min volume step

Bug: 161327071
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I69f810c2d10fda905260697fadff18fd7ffd4649
2020-08-06 16:57:19 +08:00
Jason Hsu
b9f1dc138f audio: Update audio tables
Change list is as below:
acdb
1. Speaker NB: VOL
2. Speaker WB: VOL
3. Speaker SWB: VOL
audio_policy_volume
1. Speaker volume curve

Bug: 162713453
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ia937389a3fd63d37291cd25c6ce40e17584275ff
2020-08-04 16:49:23 +08:00
Jason Hsu
692b8e6c31 audio: update ACDB table
Change list is as below:
 - Update the SURREC / MicGain / IIR / AGC / MBDRC in CAMCORDER use case ID 61~66

Bug: 162490183
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I3f75d3edb5ee5d1e1bb8b558348e902670c17ae7
2020-07-30 21:04:03 +08:00
Jason Hsu
8dead84b87 audio: update ACDB table
Change list is as below:
1. acdb id [55/56] NB/WB/SWB TX parameters

Bug: 161513832
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I0fcfe5bca3e5f546fd216ea4833d0a3bd021b772
2020-07-17 16:51:10 +08:00
Jason Hsu
e6390c19de audio: update ACDB table
Change list is as below:
1. HAFB  SFR fine tune
2. De-vibration tuning on concurrency (playback + call volume)
3. Verizon Handset adjustment
      HANB RFR (CDMA only)
      HHNB SFR (CDMA only)
4.  Camcorder parameters updates
     - Update the SURREC parameters in camcorder use case 61~63
     - Update the IIR parameters in camcorder use case 61~63
     - Update the MBDRC parameters in camcorder use case 61~66

Bug: 161427466
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I9b762491cf7aa9efee3df6a4ba3cea316003ded3
2020-07-17 02:45:55 +08:00
Jason Hsu
d00d7bbf51 audio: update acdb table
- Disable WNR module in GENERAL_RECORDING APPTYPE for ACDB ID 61~66

Bug: 160764892
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I11d1c655b097de1042561fbcabcb370e758337eb
2020-07-08 19:19:17 +08:00
Jason Hsu
b6381ebe00 audio: update mixer paths table
Mixer Path:
Added the VP Brownout feature config

ACDB:
1. HESWB: SFR adjustment
2. acdb id 7 compress offload: apply de-vib tuning
3. HHWB/SWB: Rx distortion fine tune
4. HASWB: SFR adjustment
5. HEWB SFR adjustment
6. Adjust HASWB BVE boosting gain

Bug: 145244105
Bug: 160379276
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I839bd4c08c2c2482b3391ab5e03a4c7424db5080
2020-07-02 14:08:22 +08:00
Jason Hsu
f07e4d4ad0 audio: update acdb table
Change list is as below:
1. Handsfree SWB
    - RX modify DRC
    - BVE on
2. BTNB / BTNB-NREC / BTWB / BTWB-NREC Uplink
    - WB IIR: modify for SFR
3. Handset Smoothing tuning Downlink
    - HANB: max-1 / max-2
    - HAWB: max / max-1 / max-2
    - HASWB: max-1 / max-2
4. Camcorder
   - Upgrade the WNR version from 1.0.2 to 1.0.6
   - Update the WNR parameters in camcorder use case ID 61~66
   - Update the SURREC parameters in camcorder use case ID 61~66
   - Update the IIR parameters in camcorder use case ID 61~66
   - Update the Mic Gain parameters in camcorder use case ID 61~63

Bug: 159768812
Bug: 156513851
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I663d41fe87e528aa2ec478744142806aee2086ba
2020-06-29 14:14:23 +08:00
Jason Hsu
54ea660f52 audio: update acdb table
change list:
1. De-vibration tuning in Handset NB/WB/SWB
2. Align TMUS Handset VoIP tuning to Generic

Bug: 159178918
Test: verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I9d3b5714b3dd7b133be854a157e168efc022148d
2020-06-17 12:15:02 +08:00
Jason Hsu
b19567794e audio: update audio table
audio_platform_info.xml:
Modify Record acdb id path
<device name="SND_DEVICE_IN_USB_HEADSET_MIC" acdb_id="44"/> => From 4 to 44
<device name="SND_DEVICE_IN_VOICE_RECOG_USB_HEADSET_MIC" acdb_id="143"/> => New add

ACDB:
1. HAC FB fine tune from Annie
2. HE Recording (acdb id :44) modify
 - Change Recording topology to AUDIO_TX_MONO_COPP_MBDRC_V4
 - Apply parameter, 18dB gain in Audio Mic gain , and pre-gain set to 0x1 in IIR

Bug: 158717246
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I2fd20bdccd344807b4b98ec389088318345ff5b9
2020-06-16 01:37:34 +08:00
Jason Hsu
3b13583bb5 audio: update audio tables
1. acdb's change list is as below
  - Handset NB/WB/SWB/FB EPD-Offset to fine tune EC performance
  - Handheld WB EPD-offset to fine tune EC performance
  - Ringback tone: MBDRC modification
  - Handheld FB: update tuning for DT & EC
  - Handheld NB/WB: optimize BVE parameters

2. mixer's changelist
  *** The mixer modification was based on b/145244105 comment #63.
  - change the EC reference from TDM-RX to TDM-TX (align with B5S5) in Handheld voice call & VoIP. Details is as below.

    <ctl name="ASPTX1 Slot Position" value="1" />
    <ctl name="R ASPTX1 Slot Position" value="0" />

    <path name="echo-reference">
        <ctl name="AUDIO_REF_EC_UL1 MUX" value="QUIN_TDM_TX_0" />
        <ctl name="EC Reference Channels" value="Two"/>

    <path name="echo-reference speaker">
        <ctl name="AUDIO_REF_EC_UL10 MUX" value="QUIN_TDM_TX_0"/>
        <ctl name="EC Reference Channels" value="Two"/>

    <path name="voicemmode1-call speaker">
        <ctl name="VOC_EXT_EC MUX" value="QUIN_TDM_TX" />
        <ctl name="QUIN_TDM_RX_0_Voice Mixer VoiceMMode1" value="1"/>
        <ctl name="VoiceMMode1_Tx Mixer PRI_TDM_TX_0_MMode1" value="1"/>
    </path>

Bug: 158623210
Bug: 156513851
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I3ddd419a1d7da76841dd58889de36769e48c1f74
2020-06-10 09:42:57 +00:00
Jason Hsu
bbd22edaf1 audio: update acdb file
The change list is as below:
1. Enable BVE at HANB/WB/SWB
2. Adjust HASWB Nom FDEQ for RFR
3. Adjust HAC FB
4. Recording (HA_Tri_Mic id46)
    - disable all effect
5.Camcorder
   - Import the WNR module into ACDB.
   - Add the WNR module in the camcorder use case ID 61~66.
6. optimize PTL MPPS  in id 513

Bug: 158043299
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ia3bb5766e216419090b15549b140c3372a7178ed
2020-06-08 17:19:22 +08:00
JJ Lee
4cd460e1eb audio: update acdb files
Changelist:
  1. Adjust HASWB TX
     - SFR optimize
     - Noise Suppression high band optimize
  2. Modify HAWB
     - The adapt len: 0x000 for response stability

Bug: 157618341
Test: verified by H/W
Change-Id: Ice4d15a5eb032ff1fd50336f25bffe67845d27b5
Signed-off-by: JJ Lee <leejj@google.com>
2020-05-29 21:25:22 +08:00
Jason Hsu
207f444255 audio: update acdb table
Changelist:
- update the IIR parameters for ACDB ID 61~66
- update Mic gain for ACDB 61~63
- update the MBDRC parameters for ACDB ID 61~66

Bug: 157112078
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ib38e5eeb06460df326df88d771e00bd5b59dd34b
2020-05-29 21:22:43 +08:00
Jason Hsu
ea0d0e4cd2 audio: update acdb table
Change list:
1. WAV PTL topology added in id 513
2. No mic HE volume table update
3. HANDSET_TRI_MIC (ID46)
     - change TOPO into AUDIO_TX_MONO_COPP on GENERAL_RECORDING app types
     - Set the mic gain and IIR & MBDRC parameters for three mic recording
4. For HANDSET_MIC_STEREO (ID34)
     - keep preGain_settings[0] & preGain_settings[1] in IIR module as "1" and set others as "0"
5. HA WB/SWB/FB Robustness
6. HAFB (voip) NS optimization

Bug: 156719506
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I18e217de12336dddcb3c9d61ec7a9dfc933544f9
2020-05-29 21:22:38 +08:00
justinweng
13f7ecaf13 audio: apply thermal listener config
- apply PTL in acdb for speaker path
- add thermal listener configuration
- enable thermal listener

Bug: 143265000
Test: manual

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I7426e9febf678b1e50f511fdd89ded6902347175
2020-05-29 21:22:30 +08:00
Jason Hsu
2cecb14c5d audio: update acdb tables
The change list is as below:
1. HHFB TX: improve noise suppression (subjective)
2. HHWB TX: improve noise suppression (ATT15909)
3. HE NB/WB/FB TX: echo improvement (subjective)
4. HE FB RX: reduce 2dB
5. HE SWB TX: echo improvement + improvement noise suppression (subjective)
6. HA-TMUS adjusted back to HA-Generic settings

Test: verified by H/W
Bug: 156219729
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ib98af7ab403d440cef12d517242659724cbc2b84
2020-05-29 21:22:25 +08:00
Jason Hsu
3db17d1eb1 audio: update acdb files
1. Update Mono recording parameter
2. Update the IIR parameters for camcorder use case ID 61-66
3. Update BT tuning setting (NB/WB/SWB)

Bug: 155358910
Test: verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ie7896c8aaf3b6ff2fa810ddd0f8830419dd894ab
2020-05-29 21:22:20 +08:00
Jason Hsu
9579405603 audio: update audio table
Mixer Path:
1.
-Gain change to 0 dB
<path name="handset-mic">
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="PRI_TDM_TX_0 Channels" value="One"/>
        <ctl name="Sto1 ADC MIXL DMIC Switch" value="1" />
        <ctl name="Stereo1 DMIC Mux" value="DMIC1" />
    </path>

2.
-Gain change to 0 dB
-Change 2nd mic from rear mic (mic2) to top mic (mic3)
<!-- Dual MIC devices -->
    <path name="handset-dmic-endfire">
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="1" value="23"/>
        <ctl name="PRI TDM TX Channel Offset" id="0" value="12" />
        <ctl name="PRI TDM TX Channel Offset" id="1" value="8" />
        <ctl name="PRI_TDM_TX_0 Channels" value="Two"/>
        <ctl name="Sto1 ADC MIXL DMIC Switch" value="1" />
        <ctl name="Sto2 ADC MIXR DMIC Switch" value="1" />
    </path>
3.
<path name="camcorder-mic-invert">
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="1" value="23"/>
        <ctl name="PRI TDM TX Channel Offset" id="0" value="12" />              ---> From 8 -> 12
        <ctl name="PRI TDM TX Channel Offset" id="1" value="8" />               --->  From 12 -> 8

ACDB:
1. Recalibrate the camcorder parameters(ID61~66) for R3 EVT stage.

2. For HANDSET_MIC_STEREO (ID34)
  - change on GENERAL_RECORDING app types
  - Set the mic gain and IIR & MBDRC parameters for Stereo mic recording

3. HA EVT+ devibration tuning (test 1.5 version)
   - Volume curve change : NB/WB/SWB  (Generic/Sprint)
   - FM EQ devibration tuning : NB/WB/SWB/FB (Generic/Sprint)
   - TX SLR stable tuning: WB (Generic/Sprint/TMUS)

4. For HANDSET_MIC_MONO (ID4)
  - change the topology to AUDIO_TX_MONO_COPP on GENERAL_RECORDING app types
  - change the CHANNEL_TYPE_INFORMATION to PCM_CHANNEL_C

5. Set the mic gain and IIR & MBDRC parameters for Mono mic recording

Bug: 145244105
Bug: 155358910
Test: test by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ib656d39f4c776ade7b43ae4f477c98ffdf581d2a
2020-05-29 21:22:16 +08:00
justinweng
3fa98a60a1 acdb: update acdb files
1. MPPS / BW for HAWB
2. EVT adjustment
3. Use Generic HA settings for Sprint's HA id
4. HE SWB optimize
5. HA NB/WB/SWB/FB TX preEQ
6. HH FB TX pre EQ
7. ATT fine tune - HAWB:RX, HANB: TX/RX

Bug: 154786220
Test: Verified by H/W

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: Ifd852267a1642ce5d7fd1d93f1a976d1a31bf214
2020-05-29 21:22:05 +08:00
Jason Hsu
85edd0ccdd acdb: update acdb files
1. Sprint HANB/WB tuning
2. Sprint HHNB/WB TX parameters
3. Playback 153/514 MPPS modified
4.Short term for Line wrong acdb apply issue:
     merge HHRX parameter(14) to Cirrus_stereo(513)
5. HE parameter merge (Spirent's tuning) :
    a. Extend new sampling rate 8k/16k/32k in acdb 55 (original only 48k)
    b. Merge parameter from Voice condor to VOIP Condor (55/56)
    c. Merge parameter from 55/"56" to 19/"56"
6. Change BT topology to FM and adjust the parameters based on S5 tuning.
7. Including BT WB tuning parameter
8. HE enable DRC
9. HE/HH enable IIR
10. TMUS HANB/WB RX tuning

Bug: 152921223
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Id9157695e34f232f697597e876085a4159294412
2020-05-29 21:21:54 +08:00
Jason Hsu
2bb9f0368f acdb: update acdb files
1. Handset NB/WB/SWB/FB  for P1.1 panel speaker tuning
2. ID 61~66
   - Remove sampling rate 8kHz, 16kHz, and 32kHz.
   - Change the TOPOLOGY in APPTYPE - COMPRESS_OFFLOAD_24BIT
from GTW_SURAZ to AUDIO_TX_STEREO_COPP
   - Change the TOPOLOGY in APPTYPE - RECORD_24BIT & RECORD_32BIT
from AUDIO_TX_STEREO_COPP to GTW_SURAZ
   - Update the parameters in TOPOLOGY - GTW_SURAZ

Bug: 151387242
Change-Id: Iff958b27f93847e6362fc9f23c7c0eed400872d6
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Test: verified by H/W
2020-05-29 21:21:23 +08:00
yixuanjiang
797bb58dc3 acdb: update acdb files
1. modify the topology for recording path
2. adjust the mic degrade/dead threshold parameters
3. speakerphone mode SWB TX tuning update
4. update BVE tuning for speaker phone mode
5. update mic distance calibration

Bug: 150747438
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I5c2d38c64b86d17c9421ba8b524cc522f791b1c5
2020-05-29 21:21:13 +08:00
HW Lee
4ce6cae214 audio: acdb for FM mic break detection
Bug: 149715971
Test: build pass
Change-Id: I040819e9b18d9ef3f1789a6f7cc13c939f8c15cd
Signed-off-by: HW Lee <hwlee@google.com>
2020-05-29 21:20:49 +08:00
Jason Hsu
d2feabe6cd acdb: update acdb files
Changelist:
1. Handset Tuning: NB/WB/VoIP
2. Handsfreee Tuning: NB/WB

Bug: 147334935
Test: built pass
Change-Id: Id54ace2541262e6628457ebb10607d431469bd9e
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2020-05-29 21:20:01 +08:00
Yung Ti Su
7cbc18eb4d acdb: remove dynamic Waves library
20191223_modify_Waves

Bug: 146596382
Test: push into device with ADSP patch and
      passed Waves effect basic tests.

Change-Id: I775d2c26474c68ce202821839f00d513efb5e851
Signed-off-by: Yung Ti Su <andysu@google.com>
2020-05-29 21:18:58 +08:00
BubbleFang
4f9b9df985 audio: update ACDB tables
1. Camcorder update : ID 61~66  (Modify by Chilin and Darren)
- remove the sampling rate 96k & 192k
- Add a new topology named GTW_SURAZ
- GTW_SURAZ includes IIR-->MicGain-->SURREC-->IIR-->AGC-->MBDRC
- Change the apptype : general recording & compreeed offload 24 bits from Audio TX Stereo to GTW_SURAZ
- change the channel# from 2 to 3
2. Waves version update (v3.1.1050209.2.12.0)
3. Remove VOIP audio stream IIR module : fixed right channel no sound issue

Bug: 146316348
Test: Local test

Change-Id: I67f87a4a9c5f8fca0752cb496c88f648bef9efd4
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 21:18:48 +08:00
BubbleFang
27bca2b619 audio: update ACDB tables
Changelist:
1. Update TTY/HE/HAC parameter
2. Update TTY HCO /HE volume curve

Bug: 145785222
Test: Local test

Change-Id: I01eb49e4e87203969a0cae8f2190756dff2183d0
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 21:18:37 +08:00
Yung Ti Su
85937a1e63 update acdb: 20191128_baseon1127_test_2_4_modify_HA_thisversion
fix RTC cannot set parameter problem

Bug: 143509879

Test: manual

Change-Id: I54644c1e171fa94908cd6e25c9bad632eb4338c0
Signed-off-by: Yung Ti Su <andysu@google.com>
2019-11-28 17:38:42 +08:00
Yung Ti Su
d6933bc9a8 acdb: B5_ACDB_V0_20191031
including Waves effect and Fortemedia effect module

Bug: 143509879

Test: manual

Change-Id: I61392e92d2b79bce6de757e76092b14d927d890c
Signed-off-by: Yung Ti Su <andysu@google.com>
2019-11-19 07:54:46 +00:00
BubbleFang
d8d5a2bb1f draft acdb for temporarily enable speaker
changing the default acdb device id 15 & 124(dec)
AFE topology from v3 to NONE

Bug:  142388386
Test: manual

Signed-off-by: BubbleFang <bubblefang@google.com>

Change-Id: Ie5869a39f0569f479a184a25351f679781973bb9
2019-10-14 16:16:33 +08:00
Jason Hsu
fa7007acad audio: copy audio table from qcom default and remove unuse file No.3
Test: load audio hal
Bug: 140216758
Test: Manual built
Change-Id: I7365fabb3535e627b7f64618647f791e32270abe
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2019-09-16 12:25:46 +08:00