dsp: q6afe: Add support to control AANC noise level

Existing software supports only high AANC level with minimum noise.
Requirement is to support different noise levels when AANC is
enabled for better AANC effect.

Change-Id: I343d00473937f68eb86533e88b25083d554b79b1
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2018-05-04 05:06:11 +05:30
parent 74104df871
commit af431ad7c9
3 changed files with 70 additions and 0 deletions

View File

@@ -10027,6 +10027,17 @@ struct afe_param_id_cdc_aanc_version {
uint32_t aanc_hw_version;
} __packed;
#define AFE_PARAM_ID_AANC_NOISE_REDUCTION 0x000102AB
struct afe_param_id_aanc_noise_reduction {
/* Minor version used for tracking the version of the module's
* hw version
*/
uint32_t minor_version;
/* Target noise level */
int32_t ad_beta;
} __packed;
struct afe_param_id_clip_bank_sel {
/* Minor version used for tracking the version of the module's
* hw version