mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
From b72e86c07e9881d249fbb7511060692f3fb6b687 Mon Sep 17 00:00:00 2001
|
|
From: Karthikeyan Periyasamy <periyasa@codeaurora.org>
|
|
Date: Fri, 24 Sep 2021 16:52:46 +0300
|
|
Subject: [PATCH 015/120] ath11k: Add spectral scan support for QCN9074
|
|
|
|
Populate the below hw parameters as per the QCN9074 support
|
|
1. FFT bin size as two bytes
|
|
2. Maximum FFT bin count as 1024
|
|
3. Summary report pad size as 16
|
|
4. FFT report header length as 24
|
|
|
|
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01492-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-5-jouni@codeaurora.org
|
|
---
|
|
drivers/net/wireless/ath/ath11k/core.c | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/core.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/core.c
|
|
@@ -206,8 +206,11 @@ static const struct ath11k_hw_params ath
|
|
.tcl_0_only = false,
|
|
|
|
.spectral = {
|
|
- .fft_sz = 0,
|
|
+ .fft_sz = 2,
|
|
.fft_pad_sz = 0,
|
|
+ .summary_pad_sz = 16,
|
|
+ .fft_hdr_len = 24,
|
|
+ .max_fft_bins = 1024,
|
|
},
|
|
|
|
.interface_modes = BIT(NL80211_IFTYPE_STATION) |
|