aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-10-25 21:02:14 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-10 16:40:54 (GMT)
commit03ed0a52393710be6bdae657d1b36efa146520e5 (patch)
treeb72780ce72de665cb3eaa90cb643411d1a615167 /wpa_supplicant/wpa_supplicant_i.h
parent8823178c965531ce500337abf58eb51dcc8d9fee (diff)
downloadhostap-03ed0a52393710be6bdae657d1b36efa146520e5.zip
hostap-03ed0a52393710be6bdae657d1b36efa146520e5.tar.gz
hostap-03ed0a52393710be6bdae657d1b36efa146520e5.tar.bz2
WNM: Ignore WNM-Sleep Mode Response if WNM-Sleep Mode has not been used
The AP is not expected to send out a WNM-Sleep Mode Response frame without the STA trying to use WNM-Sleep Mode. Drop such unexpected responses to reduce unnecessary processing of the frame. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index fc5fc17..5caa63e 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -669,6 +669,7 @@ struct wpa_supplicant {
unsigned int reattach:1; /* reassociation to the same BSS requested */
unsigned int mac_addr_changed:1;
unsigned int added_vif:1;
+ unsigned int wnmsleep_used:1;
struct os_reltime last_mac_addr_change;
int last_mac_addr_style;