]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: fix incorrect TID updation in DP monitor status path
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Tue, 17 Dec 2024 08:45:08 +0000 (14:15 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 19 Dec 2024 17:41:05 +0000 (09:41 -0800)
commitebee84cc961cd3947015efbf4a5dbea63b11c5d3
tree66765711cb1805ab925d43e39655d5362013d4b0
parentb79462532cd56119fb409f81f50dc74b12724b5e
wifi: ath12k: fix incorrect TID updation in DP monitor status path

Currently, an incorrect TID value gets populated in the monitor status Rx
path due to an incorrect bitmap value given to the ffs() built-in helper
function. Therefore, avoid the decrement and directly provide the TID
bitmap to the ffs() built-in helper function for the correct TID update
in the monitor status Rx path.

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: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241217084511.2981515-6-quic_periyasa@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp_mon.c