From: Karthikeyan Periyasamy <periyasa@xxxxxxxxxxxxxx> The following spectral parameters are different across platforms: ======================================================================== IPQ8074 | IPQ6018 | QCN9074 ======================================================================== FFT bin size 2 | 4 | 2 FFT pad size 2 | 0 | 0 Maximum FFT bin count 512 | 512 | 1024 Summary report pad size 0 | 0 | 16 FFT report header length 16 | 16 | 24 ======================================================================== To support the spectral scan on QCN9074, segregate these parameter as configurable values under the hw params. Karthikeyan Periyasamy (4): ath11k: Refactor spectral FFT bin size ath11k: Introduce spectral hw configurable param ath11k: Fix the spectral minimum FFT bin count ath11k: Add spectral scan support for QCN9074 drivers/net/wireless/ath/ath11k/core.c | 46 ++++++++++++++++++++++++------ drivers/net/wireless/ath/ath11k/hw.h | 9 +++++- drivers/net/wireless/ath/ath11k/spectral.c | 38 ++++++++++++------------ drivers/net/wireless/ath/spectral_common.h | 1 - 4 files changed, 65 insertions(+), 29 deletions(-) -- 2.7.4