Re: [PATCH net-next v2] ath10k: fix RX of frames with broken FCS in monitor mode
From: Kalle Valo
Date: Fri Nov 15 2019 - 06:56:59 EST
Linus LÃssing <linus.luessing@xxxxxxxxx> writes:
> From: Linus LÃssing <ll@xxxxxxxxxxxxxxxxxx>
>
> So far, frames were forwarded regardless of the FCS correctness leading
> to userspace applications listening on the monitor mode interface to
> receive potentially broken frames, even with the "fcsfail" flag unset.
>
> By default, with the "fcsfail" flag of a monitor mode interface
> unset, frames with FCS errors should be dropped. With this patch, the
> fcsfail flag is taken into account correctly.
>
> Cc: Simon Wunderlich <sw@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Linus LÃssing <ll@xxxxxxxxxxxxxxxxxx>
ath10k patches go ath-next branch, not net-next. So to avoid confusion
please don't mark ath10k patches as "net-next", please.
> ---
> This was tested on an Open Mesh A41 device, featuring a QCA4019. And
> with this firmware:
>
> https://www.candelatech.com/downloads/ath10k-4019-10-4b/firmware-5-ct-full-community-12.bin-lede.011
I'll add this testing information to the commit log. (No need to resend
just because of commit log changes)
> But from looking at the code it seems that the vanilla ath10k has the
> same issue, therefore submitting it here.
So this should work with the Qualcomm firmware as well, right?
--
Kalle Valo