Felix Fietkau 66760eac00 ath9k: improve reliability of MIC error detection
For unicast the hardware sometimes reports MIC errors even though the
frame that it received actually contains a valid MIC - on some chips this
can happen frequently enough to trigger TKIP countermeasures.
Fix this issue by not reporting MIC errors for unicast frames with a
valid key, letting mac80211 validate the MIC instead.

Additionally, strip the MIC for all frames that the hardware considers
valid to avoid wasting CPU cycles re-validating it.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-07-15 13:38:32 -04:00
..
2011-06-22 16:09:49 -04:00
2011-05-19 13:54:05 -04:00
2011-05-19 13:54:05 -04:00
2011-05-27 12:53:48 -04:00
2011-05-19 13:54:05 -04:00
2011-05-19 13:54:05 -04:00
2011-05-19 13:54:05 -04:00
2011-05-19 13:54:05 -04:00
2011-05-19 13:54:05 -04:00
2011-05-19 13:54:05 -04:00
2011-05-19 13:54:05 -04:00