]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: ath12k: Refactor Rx status TLV parsing procedure argument
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Tue, 24 Dec 2024 14:36:13 +0000 (20:06 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 17 Jan 2025 23:39:23 +0000 (15:39 -0800)
commit1254580d4f831808462e719e00d43a46e4254631
tree06aded1109ecfa4d5e72a38fa2de1c382cb62183
parent844c256892e162e85db52ce2e1f3d14053ecd488
wifi: ath12k: Refactor Rx status TLV parsing procedure argument

Currently, ath12k_dp_mon_rx_parse_status_tlv() takes the TLV tag, TLV data
and TLV userid as separate arguments from the caller. In the future, the
TLV length will be needed for parsing the EHT TLV tag. Therefore, instead
of increasing the number of arguments, pass the TLV header and retrieve the
necessary fields from the TLV header itself.

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-4-quic_periyasa@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp_mon.c