• Wen Gong's avatar
    ath10k: add report MIC error for sdio chip · 47ed1b4e
    Wen Gong authored
    Firmware will report flag with HTT_RX_IND_MPDU_STATUS_TKIP_MIC_ERR
    if MIC error, the flag will be used in mac80211.
    
    ieee80211_rx_h_michael_mic_verify will check the flag and start TKIP
    countermeasures.
    
    Now countermeasure tests pass both with WPA only and WPA2/WPA mixed
    mode.
    
    Tested with QCA6174 SDIO with firmware
    WLAN.RMH.4.4.1-00007-QCARMSWP-1.
    Signed-off-by: default avatarWen Gong <wgong@codeaurora.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    47ed1b4e
htt_rx.c 108 KB