summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/spectral_common.h
diff options
context:
space:
mode:
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>2021-09-24 16:52:46 +0300
committerKalle Valo <kvalo@codeaurora.org>2021-09-28 11:52:56 +0300
commitcc2ad7541486f1f755949c1ccd17e14a15bf1f4e (patch)
tree164501b39b1e0b82464c66fa9face3806bf63168 /drivers/net/wireless/ath/spectral_common.h
parentf552d6fd2f27ce9430c74482c46272838e2de688 (diff)
ath11k: Refactor spectral FFT bin size
In IPQ8074, actual FFT bin size is two bytes but hardware reports it with extra pad size of two bytes for each FFT bin. So finally each FFT bin advertise as four bytes size in the collected data. This FFT pad is not advertised in IPQ6018 platform. To accommodate this different behavior across the platforms, introduce the hw param fft_pad_sz and use it in spectral process. Also group all the spectral params under the new structure in hw param structure for scalable in future. Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01492-QCAHKSWPL_SILICONZ-1 Tested-on: IPQ6018 hw1.0 AHB WLAN.HK.2.4.0.1-00330-QCAHKSWPL_SILICONZ-1 Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org> Signed-off-by: Jouni Malinen <jouni@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210721180809.90960-2-jouni@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/spectral_common.h')
0 files changed, 0 insertions, 0 deletions