aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-10-21 10:54:54 (GMT)
committerJouni Malinen <j@w1.fi>2008-10-21 10:54:54 (GMT)
commit9663596facdd2a1f43f320fb87b992e880b5c8d1 (patch)
treea28f235e7b6f90a59bf4aecb0680cd2a939df9e5 /hostapd/wpa_auth_i.h
parent244e07c54d5675d4b53d315a9b0c34f511fcda4d (diff)
downloadhostap-06-9663596facdd2a1f43f320fb87b992e880b5c8d1.zip
hostap-06-9663596facdd2a1f43f320fb87b992e880b5c8d1.tar.gz
hostap-06-9663596facdd2a1f43f320fb87b992e880b5c8d1.tar.bz2
Fix group key rekeying when reauth happens during pending group key update
We need to cancel the group key update for a STA if a reauthentication request is received while the STA is in pending group key update. When canceling the update, we will also need to make sure that the PTK Group Key state machine ends up in the correct state (IDLE) to allow future updates in case of WPA2.
Diffstat (limited to 'hostapd/wpa_auth_i.h')
-rw-r--r--hostapd/wpa_auth_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/wpa_auth_i.h b/hostapd/wpa_auth_i.h
index fd22238..7770d17 100644
--- a/hostapd/wpa_auth_i.h
+++ b/hostapd/wpa_auth_i.h
@@ -71,6 +71,7 @@ struct wpa_state_machine {
Boolean PInitAKeys; /* WPA only, not in IEEE 802.11i */
Boolean PTKRequest; /* not in IEEE 802.11i state machine */
Boolean has_GTK;
+ Boolean PtkGroupInit; /* init request for PTK Group state machine */
u8 *last_rx_eapol_key; /* starting from IEEE 802.1X header */
size_t last_rx_eapol_key_len;