]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Add notification for dropped Deauth/Disassoc
authorJouni Malinen <j@w1.fi>
Wed, 15 Dec 2010 22:52:40 +0000 (00:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Dec 2010 20:22:30 +0000 (15:22 -0500)
commit07bd08ce009a96a86c41dedb7b0f15c333833341
tree794013429d9613ef253111fb50f993600ab14a55
parentf5db602d64f7bd16822295edb4ee82f7ccd103c3
nl80211: Add notification for dropped Deauth/Disassoc

Add a new notification to indicate that a received, unprotected
Deauthentication or Disassociation frame was dropped due to
management frame protection being in use. This notification is
needed to allow user space (e.g., wpa_supplicant) to implement
SA Query procedure to recover from association state mismatch
between an AP and STA.

This is needed to avoid getting stuck in non-working state when MFP
(IEEE 802.11w) is used and a protected Deauthentication or
Disassociation frame is dropped for any reason. After that, the
station would silently discard any unprotected Deauthentication or
Disassociation frame that could be indicating that the AP does not
have association for the STA (when the Reason Code would be 6 or 7).
IEEE Std 802.11w-2009, 11.13 describes this recovery mechanism.

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/rx.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h