Jouni Malinen <jouni@xxxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxxx> > Signed-off-by: Jouni Malinen <jouni@xxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> 4 patches applied to ath-next branch of ath.git, thanks. cc2ad7541486 ath11k: Refactor spectral FFT bin size 1cae9c0009d3 ath11k: Introduce spectral hw configurable param 6dfd20c8a6cd ath11k: Fix the spectral minimum FFT bin count b72e86c07e98 ath11k: Add spectral scan support for QCN9074 -- https://patchwork.kernel.org/project/linux-wireless/patch/20210721180809.90960-2-jouni@xxxxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches