]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Add Michael MIC failure event
authorJouni Malinen <j@w1.fi>
Fri, 27 Mar 2009 19:59:49 +0000 (21:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:28 +0000 (16:54 -0400)
commitb9b688e5050a2309908981de3f2a45e79cc19b4c
treecb3beb05c841a9564a3fdd44d540570c7b89c9f6
parentf78e9253044cec5e4dfb1a2d1831a879e5856521
nl80211: Add Michael MIC failure event

Define a new nl80211 event, NL80211_CMD_MICHAEL_MIC_FAILURE, to be
used to notify user space about locally detected Michael MIC failures.
This matches with the MLME-MICHAELMICFAILURE.indication() primitive.

Since we do not actually have TSC in the skb anymore when
mac80211_ev_michael_mic_failure() is called, that function is changed
to take in the TSC as an optional parameter instead of as a
requirement to include the TSC after the hdr field (which we did not
really follow). For now, TSC is not included in the events from
mac80211, but it could be added at some point.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/event.c
net/mac80211/ieee80211_i.h
net/mac80211/rx.c
net/mac80211/wpa.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h