mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
Channel Frequency Response (CFR) module will be initialized only when the following criteria passes: * Enabled CFR support for the hardware through the hardware param 'cfr_support' * WMI service enabled for the CFR support 'WMI_TLV_SERVICE_CFR_CAPTURE_SUPPORT' Also, provide a configuration option CONFIG_ATH11K_CFR to enable CFR feature support during the compilation time. CFR module initialization includes Direct Buffer(DB) ring initialization where hardware uses the DB ring buffers to copy CFR data to host. Number of buffers and buffer size of the ring is based on the DB ring capabilities advertised by the firmware through WMI service ready. Also ring configurations are sent to firmware through ath11k_dbring_wmi_cfg_setup(). Predefine ath11k_cfr_dma_hdr, ath11k_look_up_table, and ath11k_cfr structs and fields for subsequent patches. Tested-on: IPQ8074 hw2.0 PCI IPQ8074 WLAN.HK.2.5.0.1-00991-QCAHKSWPL_SILICONZ-1 Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04685-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1 Signed-off-by: Venkateswara Naralasetty <quic_vnaralas@quicinc.com> Co-developed-by: Yu Zhang (Yuriy) <yu.zhang@oss.qualcomm.com> Signed-off-by: Yu Zhang (Yuriy) <yu.zhang@oss.qualcomm.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Signed-off-by: Qian Zhang <qian.zhang@oss.qualcomm.com> Link: https://patch.msgid.link/20251230082520.3401007-2-qian.zhang@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
41 lines
927 B
Makefile
41 lines
927 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
obj-$(CONFIG_ATH11K) += ath11k.o
|
|
ath11k-y += core.o \
|
|
hal.o \
|
|
hal_tx.o \
|
|
hal_rx.o \
|
|
wmi.o \
|
|
mac.o \
|
|
reg.o \
|
|
htc.o \
|
|
qmi.o \
|
|
dp.o \
|
|
dp_tx.o \
|
|
dp_rx.o \
|
|
debug.o \
|
|
ce.o \
|
|
peer.o \
|
|
dbring.o \
|
|
hw.o \
|
|
pcic.o \
|
|
fw.o \
|
|
p2p.o
|
|
|
|
ath11k-$(CONFIG_ATH11K_DEBUGFS) += debugfs.o debugfs_htt_stats.o debugfs_sta.o
|
|
ath11k-$(CONFIG_NL80211_TESTMODE) += testmode.o
|
|
ath11k-$(CONFIG_ATH11K_TRACING) += trace.o
|
|
ath11k-$(CONFIG_THERMAL) += thermal.o
|
|
ath11k-$(CONFIG_ATH11K_SPECTRAL) += spectral.o
|
|
ath11k-$(CONFIG_PM) += wow.o
|
|
ath11k-$(CONFIG_DEV_COREDUMP) += coredump.o
|
|
ath11k-$(CONFIG_ATH11K_CFR) += cfr.o
|
|
|
|
obj-$(CONFIG_ATH11K_AHB) += ath11k_ahb.o
|
|
ath11k_ahb-y += ahb.o
|
|
|
|
obj-$(CONFIG_ATH11K_PCI) += ath11k_pci.o
|
|
ath11k_pci-y += mhi.o pci.o
|
|
|
|
# for tracing framework to find trace.h
|
|
CFLAGS_trace.o := -I$(src)
|