cfg80211: Unprotected Beacon frame RX indication
authorJouni Malinen <jouni@codeaurora.org>
Wed, 1 Apr 2020 14:25:47 +0000 (17:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2020 10:33:40 +0000 (12:33 +0200)
commit4d797fce783a8eb11dd23463828db84743795046
tree94ebbe81ef2a0185e8f4de273d648fd9d7ed1e15
parent90e8f58dfc04d1bd48ca155cc55ebf7ba1824864
cfg80211: Unprotected Beacon frame RX indication

Extend cfg80211_rx_unprot_mlme_mgmt() to cover indication of unprotected
Beacon frames in addition to the previously used Deauthentication and
Disassociation frames. The Beacon frame case is quite similar, but has
couple of exceptions: this is used both with fully unprotected and also
incorrectly protected frames and there is a rate limit on the events to
avoid unnecessary flooding netlink events in case something goes wrong.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Link: https://lore.kernel.org/r/20200401142548.6990-1-jouni@codeaurora.org
[add missing kernel-doc]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c
net/wireless/sme.c