diff options
| author | P Praneesh <praneesh.p@oss.qualcomm.com> | 2025-04-02 23:10:32 +0530 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-04-07 08:21:58 -0700 |
| commit | 75ec94db880b1e4b4f9182885d60db0db6e2ee56 (patch) | |
| tree | 2c48d6951f04d10c6da3fcfd28d6c971d69636cf /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | wifi: ath12k: Fix incorrect rates sent to firmware (diff) | |
| download | linux-75ec94db880b1e4b4f9182885d60db0db6e2ee56.tar.gz linux-75ec94db880b1e4b4f9182885d60db0db6e2ee56.zip | |
wifi: ath12k: Fix memory leak during vdev_id mismatch
Currently driver enables vdev_id check as part of the bank configuration
in ath12k_dp_tx_get_vdev_bank_config(). This check ensures that the vdev_id
configured in the bank register aligns with the vdev_id in the packet's
address search table within the firmware. If there is a mismatch, the
firmware forwards the packet with the HTT status
HAL_WBM_REL_HTT_TX_COMP_STATUS_VDEVID_MISMATCH. Since driver does not
handle this vdev_id mismatch HTT status, the corresponding buffers are not
freed properly, causing a memory leak. Fix this issue by adding handling to
free the buffers when a vdev_id mismatch HTT status is encountered.
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-
Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: P Praneesh <praneesh.p@oss.qualcomm.com>
Link: https://patch.msgid.link/20250402174032.2651221-1-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
