Search Linux Wireless

Re: [PATCH] wifi: ath11k: fix BUFFER_DONE read on monitor ring rx buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Harshitha Prem <quic_hprem@xxxxxxxxxxx> wrote:

> 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 <quic_murugana@xxxxxxxxxxx>
> Signed-off-by: Harshitha Prem <quic_hprem@xxxxxxxxxxx>
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

68e93ac5a31d wifi: ath11k: fix BUFFER_DONE read on monitor ring rx  buffer

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230309164434.32660-1-quic_hprem@xxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux