aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorMathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>2018-08-06 19:46:25 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-16 18:49:13 (GMT)
commit1e93e4239fd959f045b0004b7e0c859fbabf7757 (patch)
treec4ef80b4a99f8495af7b3105d3e6de5a9c8f1d2c /src/ap/wpa_auth_i.h
parent875ab60d7369663af9c465e096f5271d16fc4139 (diff)
downloadhostap-1e93e4239fd959f045b0004b7e0c859fbabf7757.zip
hostap-1e93e4239fd959f045b0004b7e0c859fbabf7757.tar.gz
hostap-1e93e4239fd959f045b0004b7e0c859fbabf7757.tar.bz2
OCV: Track STA OCV capability in AP mode
Check and store OCV capability indication for each STA. Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index b1cea1b..a349304 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -92,6 +92,9 @@ struct wpa_state_machine {
#endif /* CONFIG_IEEE80211R_AP */
unsigned int is_wnmsleep:1;
unsigned int pmkid_set:1;
+#ifdef CONFIG_OCV
+ unsigned int ocv_enabled:1;
+#endif /* CONFIG_OCV */
u8 req_replay_counter[WPA_REPLAY_COUNTER_LEN];
int req_replay_counter_used;