[PATCHv2 2/2] ath11k: add spectral/CFR buffer validation support
Kalle Valo
kvalo at kernel.org
Thu Dec 9 00:14:28 PST 2021
Venkateswara Naralasetty <quic_vnaralas at quicinc.com> wrote:
> Currently there is no validation on the spectral/CFR report
> over the db ring buffers from the hardware. Improper/incomplete
> DMA by the target can result in invalid data received by host.
> Due to this we may populate incorrect data to user space.
>
> This buffer validation support fix this issues by filling some
> magic value in the buffer during buffer replenish and check for
> the magic value in the buffer received by the target. If host
> detect magic value in the received buffer it will drop the buffer.
>
> Tested-on: IPQ8074 WLAN.HK.2.4.0.1-01467-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Venkateswara Naralasetty <quic_vnaralas at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
d3d358efc553 ath11k: add spectral/CFR buffer validation support
--
https://patchwork.kernel.org/project/linux-wireless/patch/1637312901-10279-2-git-send-email-quic_vnaralas@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list