ath11k: fix tkip mic error reporting to cfg80211
PATCH 1/1 ath11k: fix tkip mic error reporting to cfg80211
ieee80211_rx_status flag was not updated with MMIC_STRIPPED and DECRYPTED bits during TKIP MIC error detection from RxDMA and hence this is not getting reported to cfg80211_michael_mic_failure() for WPA countermeasures.
Signed-off-by Sathishkumar Muruganandam <[email protected]>
--- drivers/net/wireless/ath/ath11k/dp_rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/dp_rx.c +2 -1
@@ -3021,7 +3021,8 @@ static void ath11k_dp_rx_h_tkip_mic_err(struct ath11k *ar, struct sk_buff *msdu,ath11k_dp_rx_h_ppdu (ar, desc, status); - status->flag |=RX_FLAG_MMIC_ERROR ; + status->flag |= (RX_FLAG_MMIC_STRIPPED |RX_FLAG_MMIC_ERROR | +RX_FLAG_DECRYPTED );ath11k_dp_rx_h_undecap (ar, msdu, desc,HAL_ENCRYPT_TYPE_TKIP_MIC , status, false);
Signature · 7 lines
2.7.4 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 6 lines · Sathishkumar Muruganandam
ieee80211_rx_statusflag was not updated withMMIC_STRIPPEDand DECRYPTED bits during TKIP MIC error detection from RxDMA and hence this is not getting reported tocfg80211_michael_mic_failure()for WPA countermeasures.Signed-off-by Sathishkumar Muruganandam <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-bringup branch of ath.git, thanks.
e44597a02dad ath11k: fix tkip mic error reporting to cfg80211
Signature · 9 lines
https://patchwork.kernel.org/patch/11184905/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k