]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: modify ath12k_get_arvif_iter() for MLO
authorRameshkumar Sundaram <quic_ramess@quicinc.com>
Tue, 15 Oct 2024 17:14:11 +0000 (20:14 +0300)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Wed, 16 Oct 2024 15:36:20 +0000 (08:36 -0700)
commit94a2712f0b152739d1f506977fc38be0da37610f
tree31874260d83c2936478e4bbd6731885fd6fe7911
parentabaadb934b30ec86065e9c8a23843d7bb8be0064
wifi: ath12k: modify ath12k_get_arvif_iter() for MLO

Currently ath12k_get_arvif_iter() takes input ahvif's deflink to check if it
matches with given radio (ar) but in case MLO there could be multiple links
affiliated with ahvif, hence iterate through the links of the ahvif and find
the right arvif that belongs to the given radio.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-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/20241015171416.518022-7-kvalo@kernel.org
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath12k/mac.c