qcacmn: Modify target_if_process_sfft_report_gen3()

Modify the API to include Validation and
processing of Spectral search FFT report.

This will be under OPTIMIZED_SAMP_MESSAGE flag, which
is unset by default for all profiles, till
development is complete.

Change-Id: I250867e2c002f491f51a36416ea9ca5ae0bc5508
CRs-Fixed: 2945132
This commit is contained in:
Jhalak Naik
2021-04-20 18:41:01 +05:30
committed by Madan Koyyalamudi
parent 40bce64102
commit 1de0695e47
2 changed files with 174 additions and 0 deletions

View File

@@ -319,6 +319,9 @@ struct phyerr_info {
* @fft_peak_mag: Peak magnitude
* @fft_avgpwr_db: Average power in dB
* @fft_relpwr_db: Relative power in dB
* @fft_bin_count: Number of FFT bins in the FFT report
* @fft_bin_size: Size of one FFT bin in bytes
* @bin_pwr_data: Contains FFT bins extracted from the report
*/
struct spectral_search_fft_info_gen3 {
uint32_t timestamp;
@@ -333,6 +336,9 @@ struct spectral_search_fft_info_gen3 {
int32_t fft_peak_mag;
uint32_t fft_avgpwr_db;
uint32_t fft_relpwr_db;
uint32_t fft_bin_count;
uint8_t fft_bin_size;
uint8_t *bin_pwr_data;
};
/**