qcacmn: Cap the FFT bin values to 255

FFT bin values can span 10 bits for HKv1, HKv2 and Pine.
This change is to cap the values to 8 bits for such case
on these platforms.

Change-Id: I144b00b1ed21a3281f79050bb1ab63bd857e47b1
CRs-Fixed: 2804192
This commit is contained in:
Jhalak Naik
2020-10-23 14:46:08 +05:30
committed by snandini
parent df60a16001
commit 04188da78f
2 changed files with 52 additions and 10 deletions

View File

@@ -91,6 +91,7 @@
#define SPECTRAL_PARAM_FFT_SIZE_MAX_GEN3_QCN9000 (10)
#define SPECTRAL_PARAM_RPT_MODE_MIN (0)
#define SPECTRAL_PARAM_RPT_MODE_MAX (3)
#define MAX_FFTBIN_VALUE (255)
/* DBR ring debug size for Spectral */
#define SPECTRAL_DBR_RING_DEBUG_SIZE 512