qcacmn: Pass report parameters to FFT bin byte swap function
Pass report parameters to FFT bin byte swap function instead of FFT bin length adjustment WAR. Change-Id: I02a280bc4e8e0839c894a70258e1f16a784c08a6 CRs-Fixed: 3051559
This commit is contained in:

committed by
Madan Koyyalamudi

parent
112813c1b7
commit
409ffbfda0
@@ -2831,9 +2831,9 @@ QDF_STATUS target_if_byte_swap_spectral_headers_gen3(
|
||||
|
||||
/**
|
||||
* target_if_byte_swap_spectral_fft_bins_gen3() - Apply byte-swap on FFT bins
|
||||
* @spectral: Pointer to Spectral FFT bin length adjustment WAR
|
||||
* @rparams: Pointer to Spectral report parameters
|
||||
* @bin_pwr_data: Pointer to the start of FFT bins
|
||||
* @pwr_count: Number of FFT bins
|
||||
* @num_fftbins: Number of FFT bins
|
||||
*
|
||||
* This API is only required for Big-endian Host platforms.
|
||||
* It applies pack-mode-aware byte-swap on the FFT bins as below:
|
||||
@@ -2849,8 +2849,8 @@ QDF_STATUS target_if_byte_swap_spectral_headers_gen3(
|
||||
* Return: QDF_STATUS_SUCCESS in case of success, else QDF_STATUS_E_FAILURE
|
||||
*/
|
||||
QDF_STATUS target_if_byte_swap_spectral_fft_bins_gen3(
|
||||
struct spectral_fft_bin_len_adj_swar *swar,
|
||||
void *bin_pwr_data, size_t pwr_count);
|
||||
const struct spectral_report_params *rparams,
|
||||
void *bin_pwr_data, size_t num_fftbins);
|
||||
#endif /* BIG_ENDIAN_HOST */
|
||||
|
||||
#ifdef OPTIMIZED_SAMP_MESSAGE
|
||||
|
Reference in New Issue
Block a user