]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
wowlan: add a wake event
authorJohannes Berg <johannes.berg@intel.com>
Fri, 17 May 2024 09:18:05 +0000 (11:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 May 2024 09:18:05 +0000 (11:18 +0200)
Print the wake event unprotected deauth/disassoc info.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
event.c

diff --git a/event.c b/event.c
index fa2e125214a4beff12a1187cf6179ec92bf47d46..a91fc7c725de6f0694d06e92de7c45c00719936f 100644 (file)
--- a/event.c
+++ b/event.c
@@ -295,6 +295,8 @@ static void parse_wowlan_wake_event(struct nlattr **attrs)
                printf("\t* TCP connection lost\n");
        if (tb[NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS])
                printf("\t* TCP connection ran out of tokens\n");
+       if (tb[NL80211_WOWLAN_TRIG_UNPROTECTED_DEAUTH_DISASSOC])
+               printf("\t* unprotected deauth\n");
 }
 
 extern struct vendor_event *__start_vendor_event[];