diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2011-04-30 15:24:30 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-02 14:49:14 -0400 |
commit | 816c04fe7ef01dd9649f5ccfe796474db8708be5 (patch) | |
tree | 4e3cbf325d55fd7997e7021031610b8833aac44c /drivers/net/wireless/rt2x00/rt2800usb.c | |
parent | 0ca699552c441e2c4201a6f60eac98b8865c1743 (diff) | |
download | blackbird-op-linux-816c04fe7ef01dd9649f5ccfe796474db8708be5.tar.gz blackbird-op-linux-816c04fe7ef01dd9649f5ccfe796474db8708be5.zip |
mac80211: consolidate MIC failure report handling
Currently, mac80211 handles MIC failures differently
depending on whenever they are detected by the stack's
own software crypto or when are handed down from the
driver.
This patch tries to unify both by moving the special
branch out of mac80211 rx hotpath and into into the
software crypto part. This has the advantage that we
can run a few more sanity checks on the data and verify
if the key type was TKIP. This is very handy because
several devices generate false postive MIC failure
reports. Like carl9170, ath9k and wl12xx:
<http://www.spinics.net/lists/linux-wireless/msg68494.html>
"mac80211: report MIC failure for truncated packets in AP mode"
Cc: Luciano Coelho <coelho@ti.com>
Cc: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
0 files changed, 0 insertions, 0 deletions