History

wifi: nl80211: allow reporting wakeup for unprot deauth/disassoc

Add a report reason for waking up due to an unprotected deauth/disassoc when MFP is used. If setting wowlan to wake on disconnection, and an unprotected deatuh/disassoc arrived (in MFP), some drivers might want to report wakeup due to unprotected deauth/disassoc, rather than dissassociation. Add support for that.

Shaul Triebitz committed 2 years ago

Commit 93d9f261 parent 49c17da1 file · +3 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/nl80211.h+3−0
@@ -5757,6 +5757,8 @@ struct nl80211_pattern_support { · 5756 unmodified lines
5757 * %NL80211_ATTR_SCAN_FREQUENCIES contains more than one5757 * %NL80211_ATTR_SCAN_FREQUENCIES contains more than one
5758 * frequency, it means that the match occurred in more than one5758 * frequency, it means that the match occurred in more than one
5759 * channel.5759 * channel.
5760 * @NL80211_WOWLAN_TRIG_UNPROTECTED_DEAUTH_DISASSOC: For wakeup reporting only.
5761 * Wake up happened due to unprotected deauth or disassoc frame in MFP.
5760 * @NUM_NL80211_WOWLAN_TRIG: number of wake on wireless triggers5762 * @NUM_NL80211_WOWLAN_TRIG: number of wake on wireless triggers
5761 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number5763 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number
5762 *5764 *
@@ -5784,6 +5786,7 @@ enum nl80211_wowlan_triggers { · 21 unmodified lines
5784 NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS,5786 NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS,
5785 NL80211_WOWLAN_TRIG_NET_DETECT,5787 NL80211_WOWLAN_TRIG_NET_DETECT,
5786 NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS,5788 NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS,
5789 NL80211_WOWLAN_TRIG_UNPROTECTED_DEAUTH_DISASSOC,
5787 5790
5788 /* keep last */5791 /* keep last */
5789 NUM_NL80211_WOWLAN_TRIG,5792 NUM_NL80211_WOWLAN_TRIG,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t