• Linus Lüssing's avatar
    ath10k: fix RX of frames with broken FCS in monitor mode · ea0c3e2a
    Linus Lüssing authored
    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.
    
    Tested-on: QCA4019 firmware-5-ct-full-community-12.bin-lede.011
    
    Cc: Simon Wunderlich <sw@simonwunderlich.de>
    Signed-off-by: default avatarLinus Lüssing <ll@simonwunderlich.de>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    ea0c3e2a
core.h 29.6 KB