path: root/hostapd/wpa_auth_i.h
diff options
authorJouni Malinen <j@w1.fi>2008-02-19 20:45:28 (GMT)
committerJouni Malinen <j@w1.fi>2008-02-19 20:45:28 (GMT)
commitcdf7337cfcc00e5b33f626914c7368a1c6c19af5 (patch)
tree1587e17df58b9f29ec433e3cb4073ae685a4c211 /hostapd/wpa_auth_i.h
parent9bd80cf08831f20c0004adc21c72f13702a8aee4 (diff)
Use more robust mechanism for determining when group key update is complete
GNoStations variable was not always correct as far as number of STAs that could really complete group key update is concerned. Furthermore, the pending counter was decreased for new WPA STAs if they completed their initial group key handshake during a scheduled group rekey. The new mechanism counts the STAs that are marked with GUpdateStationKeys when iterating through the potential STAs. If a STA is not in PTKINITDONE state, group (re-)key handshake will not be started for it.
Diffstat (limited to 'hostapd/wpa_auth_i.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/hostapd/wpa_auth_i.h b/hostapd/wpa_auth_i.h
index 1a4751b..8178f01 100644
--- a/hostapd/wpa_auth_i.h
+++ b/hostapd/wpa_auth_i.h
@@ -79,7 +79,6 @@ struct wpa_state_machine {
unsigned int in_step_loop:1;
unsigned int pending_deinit:1;
unsigned int started:1;
- unsigned int sta_counted:1;
unsigned int mgmt_frame_prot:1;
#ifdef CONFIG_IEEE80211R
unsigned int ft_completed:1;
@@ -121,7 +120,6 @@ struct wpa_group {
int vlan_id;
Boolean GInit;
- int GNoStations;
int GKeyDoneStations;
Boolean GTKReKey;
int GTK_len;