ath11k: fix FCS_ERR flag in radio tap header
authorP Praneesh <quic_ppranees@quicinc.com>
Mon, 25 Oct 2021 12:14:20 +0000 (17:44 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Nov 2021 09:24:51 +0000 (11:24 +0200)
commit787264893c69ed091a46335dfd0f50dabb457718
tree60268df6eac4488b48812b1d1ef6e397361da25d
parentb4a0f54156ac7720de1750b6ea06657c91c52163
ath11k: fix FCS_ERR flag in radio tap header

In radio tap header, BAD FCS flag is not updated properly because
driver failed to update FCS_ERR flag in monitor mode.

In rx_desc, FCS_ERR information is available in rx_attention
structure and presence of this field indicates corresponding frame
failed FCS check.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01695-QCAHKSWPL_SILICONZ-1

Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1635164060-18423-1-git-send-email-quic_ppranees@quicinc.com
drivers/net/wireless/ath/ath11k/dp_rx.c