mbox series

[0/4] ath11k: Add spectral scan support for QCN9074

Message ID 20210721180809.90960-1-jouni@codeaurora.org (mailing list archive)
Headers show
Series ath11k: Add spectral scan support for QCN9074 | expand

Message

Jouni Malinen July 21, 2021, 6:08 p.m. UTC
From: Karthikeyan Periyasamy <periyasa@codeaurora.org>

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(-)