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.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -5757,6 +5757,8 @@ struct nl80211_pattern_support { · 5756 unmodified lines | |||
| 5757 | * %NL80211_ATTR_SCAN_FREQUENCIES contains more than one | 5757 | * %NL80211_ATTR_SCAN_FREQUENCIES contains more than one |
| 5758 | * frequency, it means that the match occurred in more than one | 5758 | * 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 triggers | 5762 | * @NUM_NL80211_WOWLAN_TRIG: number of wake on wireless triggers |
| 5761 | * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number | 5763 | * @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, |