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>
This commit is contained in:

committed by
Johannes Berg

parent
90e8f58dfc
commit
4d797fce78
@@ -1151,6 +1151,11 @@
|
||||
* @NL80211_CMD_SET_TID_CONFIG: Data frame TID specific configuration
|
||||
* is passed using %NL80211_ATTR_TID_CONFIG attribute.
|
||||
*
|
||||
* @NL80211_CMD_UNPROT_BEACON: Unprotected or incorrectly protected Beacon
|
||||
* frame. This event is used to indicate that a received Beacon frame was
|
||||
* dropped because it did not include a valid MME MIC while beacon
|
||||
* protection was enabled (BIGTK configured in station mode).
|
||||
*
|
||||
* @NL80211_CMD_MAX: highest used command number
|
||||
* @__NL80211_CMD_AFTER_LAST: internal use
|
||||
*/
|
||||
@@ -1377,6 +1382,8 @@ enum nl80211_commands {
|
||||
|
||||
NL80211_CMD_SET_TID_CONFIG,
|
||||
|
||||
NL80211_CMD_UNPROT_BEACON,
|
||||
|
||||
/* add new commands above here */
|
||||
|
||||
/* used to define NL80211_CMD_MAX below */
|
||||
|
Reference in New Issue
Block a user