aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorP Praneesh <praneesh.p@oss.qualcomm.com>2025-04-11 11:31:52 +0530
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-04-17 15:49:32 -0700
commit10ec3d54df783bc9585b98559a1f556019312462 (patch)
treee9e5f227e1619d5d250410cf9b00e8ecb140cca4 /tools/perf/scripts/python/export-to-postgresql.py
parentwifi: ath12k: Handle error cases during extended skb allocation (diff)
downloadwireguard-linux-10ec3d54df783bc9585b98559a1f556019312462.tar.xz
wireguard-linux-10ec3d54df783bc9585b98559a1f556019312462.zip
wifi: ath12k: Refactor tx descriptor handling in tx completion handler
Current code uses mac_id and msdu parameters in ath12k_dp_tx_free_txbuf() and ath12k_dp_tx_process_htt_tx_complete(). Since these parameters are already encapsulated by struct ath12k_dp_tx_desc, passing them individually results in redundant arguments. Introduce struct ath12k_tx_desc_params to capture the skb, mac_id, and pass it to the corresponding functions. Refactor these functions to use struct ath12k_tx_desc_params instead, reducing the number of arguments and improving function argument handling efficiency. Additionally, use struct ath12k_tx_desc_params in ath12k_dp_tx_htt_tx_complete_buf() and ath12k_dp_tx_complete_msdu(), which will be utilized for fetching extended skb in a future patch. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-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: P Praneesh <praneesh.p@oss.qualcomm.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20250411060154.1388159-3-praneesh.p@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions