]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath12k: Refactor the monitor Rx parser handler argument
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Tue, 24 Dec 2024 14:36:11 +0000 (20:06 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 17 Jan 2025 23:39:22 +0000 (15:39 -0800)
commitb238941e8e97c17380f6a6a2dc51520b1829c167
tree36405d88fb654d3b250faac1104f1b60a29df28a
parent8fe64b0fedcb7348080529c46c71ae23f60c9d3e
wifi: ath12k: Refactor the monitor Rx parser handler argument

Currently, the monitor Rx parser handlers
ath12k_dp_mon_rx_parse_status_tlv() and ath12k_dp_mon_parse_rx_dest()
take the device handle from the caller. However, these handlers
functionality is technically pdev specific. Additionally, the device handle
can be retrieved from the pdev handle. Therefore, for better code
understanding, change the monitor Rx parser handlers argument from the
device handle to the pdev handle.

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