]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Use scan link ID 15 for all scan operations
authorAditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Thu, 17 Apr 2025 05:49:14 +0000 (11:19 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 16 May 2025 17:34:15 +0000 (10:34 -0700)
commit88c3aaf46ce8878a8314b791b99b8d621f7badeb
tree1f8016e613e606401c89b0eb78453632758b0597
parent8dc8340c197854bdd7aaa4a1b0f1a75646667596
wifi: ath12k: Use scan link ID 15 for all scan operations

According to the code documentation in ath12k_mac_op_hw_scan(), "if no
links of an ML VIF are already active on the radio corresponding to the
given scan frequency, the scan link (link ID 15) should be used". This rule
should apply to non-ML interfaces as well to maintain uniformity across the
driver. However, currently, link 0 is selected as the scan link during
non-ML operations.

Update the code to use scan link ID 15 in all cases.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1

Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Signed-off-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Link: https://patch.msgid.link/20250417-fix_scan_vdev_handling-v3-2-9ec42513d26b@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/mac.c