diff options
| author | Harshitha Prem <[email protected]> | 2023-03-15 12:24:43 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2023-03-22 11:47:04 +0200 |
| commit | 68e93ac5a31d4975b25f819b2dfe914c72abc3bb (patch) | |
| tree | 923d47100cbb9fa90a93f3746b7ef29f7d0a257d /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 5a78ac33e3cb8822da64dd1af196e83664b332b0 (diff) | |
wifi: ath11k: fix BUFFER_DONE read on monitor ring rx buffer
Perform dma_sync_single_for_cpu() on monitor ring rx buffer before
reading BUFFER_DONE tag and do dma_unmap_single() only after device
had set BUFFER_DONE tag to the buffer.
Also when BUFFER_DONE tag is not set, allow the buffer to get read
next time without freeing skb.
This helps to fix AP+Monitor VAP with flood traffic scenario to see
monitor ring rx buffer overrun missing BUFFER_DONE tag to be set.
Also remove redundant rx dma buf free performed on DP
rx_mon_status_refill_ring.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
Signed-off-by: Sathishkumar Muruganandam <[email protected]>
Signed-off-by: Harshitha Prem <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions