]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: modify chanctx iterators for MLO
authorRameshkumar Sundaram <quic_ramess@quicinc.com>
Thu, 21 Nov 2024 15:58:04 +0000 (17:58 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 25 Nov 2024 17:02:56 +0000 (19:02 +0200)
commitaaac8850a07f9072ed62f54b0e5fcb14c8e0d044
treed71d26d6a489a0b2f1090e91fe2aff2a6e7c2f25
parenta0300e6bcfd4bc3ea9865856a3abad5f9dd6fd89
wifi: ath12k: modify chanctx iterators for MLO

Currently ath12k's chanctx iterator functions use deflink of given ahvif and
bss_conf of corresponding vif to make sure the iterator returns intended vif.
An ML vif can have multiple affiliated links each having its own channel
context, hence iterate through the links of the given ahvif and use the link
objects (arvif and link_conf) to make sure the chan ctx iterator returns
intended link of the given vif.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Rameshkumar Sundaram <quic_ramess@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20241121155806.1862733-7-kvalo@kernel.org
drivers/net/wireless/ath/ath12k/mac.c