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
57575757 * %NL80211_ATTR_SCAN_FREQUENCIES contains more than one
57585758 * frequency, it means that the match occurred in more than one
57595759 * 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.
57605762 * @NUM_NL80211_WOWLAN_TRIG: number of wake on wireless triggers
57615763 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number
57625764 *
@@ -5784,6 +5786,7 @@ enum nl80211_wowlan_triggers { · 21 unmodified lines
57845786 NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS,
57855787 NL80211_WOWLAN_TRIG_NET_DETECT,
57865788 NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS,
5789+ NL80211_WOWLAN_TRIG_UNPROTECTED_DEAUTH_DISASSOC,
57875790
57885791 /* keep last */
57895792 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