diff options
author | 2025-04-21 10:34:40 +0800 | |
---|---|---|
committer | 2025-05-16 12:38:55 -0700 | |
commit | ac885978a5ab49809784b3ad20b4cbf7f14c664a (patch) | |
tree | d8d8d18ad78ded3c6d14ba9ce64cf749e6c7935b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | wifi: ath12k: fix macro definition HAL_RX_MSDU_PKT_LENGTH_GET (diff) | |
download | wireguard-linux-ac885978a5ab49809784b3ad20b4cbf7f14c664a.tar.xz wireguard-linux-ac885978a5ab49809784b3ad20b4cbf7f14c664a.zip |
wifi: ath12k: use ath12k_buffer_addr in ath12k_dp_rx_link_desc_return()
Currently, ath12k_dp_rx_link_desc_return() takes struct
hal_reo_dest_ring as its second input. This struct is converted to
struct hal_wbm_release_ring and passed into
ath12k_hal_rx_msdu_link_desc_set(), where it is converted again.
This double conversion is both strange and inefficient.
In ath12k_hal_rx_msdu_link_desc_set(), only buf_addr_info is actually
used. To simplify the code and improve readability, directly passes
buf_addr_info when calling ath12k_dp_rx_link_desc_return().
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Signed-off-by: Kang Yang <kang.yang@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250421023444.1778-10-kang.yang@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions