]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: avoid redundant code in DP Rx error process
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Wed, 11 Dec 2024 15:34:32 +0000 (17:34 +0200)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 16 Dec 2024 20:46:58 +0000 (12:46 -0800)
commit628bbaa551da94d879d7aa5abc3b9632ed743fbe
tree31cdaf021f09b75f28cbdaf22d4bfa68ed487254
parentb716a10d99a287681fc5cef46a7f9399bec5f055
wifi: ath12k: avoid redundant code in DP Rx error process

Currently, in DP rx error processing, the MAC id is fetched redundantly from
the same descriptor for each MSDU. To avoid this redundancy, move the fetch
handling before the iteration.

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