]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: handle radar detection with MLO
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Wed, 18 Dec 2024 03:41:34 +0000 (09:11 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Wed, 8 Jan 2025 00:29:58 +0000 (16:29 -0800)
commit40562e84e262dcc1c7226a0094761f6b5eec8153
tree1787a7df059316b1c38856d711be8660ac201501
parent11b86e2ce94278332af8da9c0b560a15c17efd26
wifi: ath12k: handle radar detection with MLO

ieee80211_radar_detected() expects the driver to pass a channel context
configuration during MLO. This is used to identify exactly which link
detected the radar.

Add support to pass this to mac80211. Since the link arvif is not known in
the WMI event, introduce a helper iterator API,
ath12k_mac_get_any_chanctx_conf_iter(), to get the channel context
configuration.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241218-ath12k_mlo_dfs-v1-3-058e783bcfc7@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/mac.c
drivers/net/wireless/ath/ath12k/mac.h
drivers/net/wireless/ath/ath12k/wmi.c