ath11k: Introduce spectral hw configurable param
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>
Fri, 24 Sep 2021 13:52:46 +0000 (16:52 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Sep 2021 08:52:57 +0000 (11:52 +0300)
commit1cae9c0009d35cec94ad8e1b06ebcb2d704626bf
tree6e593defe115474815c6c29be56149b2da07bad3
parentcc2ad7541486f1f755949c1ccd17e14a15bf1f4e
ath11k: Introduce spectral hw configurable param

Below parameters have been identified as configurable across the platforms.
So to scale the spectral across the platforms, move these parameter
into hw param.

1. Maximum FFT bins
2. Summary report pad size
3. FFT report header length

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-3-jouni@codeaurora.org
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/hw.h
drivers/net/wireless/ath/ath11k/spectral.c
drivers/net/wireless/ath/spectral_common.h