aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ibss_rsn.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-01-15 12:07:02 (GMT)
committerJouni Malinen <j@w1.fi>2011-01-15 12:07:02 (GMT)
commit50b05780c275d2774d40e58d442dd598ae93b7c0 (patch)
tree7256604aa7d16356afeb6086a40e225c39d884f2 /wpa_supplicant/ibss_rsn.h
parent2e479416d1bfa584eddf7d335cf969ea6fe1f89c (diff)
downloadhostap-50b05780c275d2774d40e58d442dd598ae93b7c0.zip
hostap-50b05780c275d2774d40e58d442dd598ae93b7c0.tar.gz
hostap-50b05780c275d2774d40e58d442dd598ae93b7c0.tar.bz2
IBSS RSN: Delay setting of the initial TX GTK
The driver may get confused if we set the initial TX GTK before having fully configured and connected to an IBSS, so better delay this operation until the connection (join/start IBSS) has been completed.
Diffstat (limited to 'wpa_supplicant/ibss_rsn.h')
-rw-r--r--wpa_supplicant/ibss_rsn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/ibss_rsn.h b/wpa_supplicant/ibss_rsn.h
index 11e63ad..4e81910 100644
--- a/wpa_supplicant/ibss_rsn.h
+++ b/wpa_supplicant/ibss_rsn.h
@@ -36,6 +36,10 @@ struct ibss_rsn {
struct wpa_authenticator *auth_group;
struct ibss_rsn_peer *peers;
u8 psk[PMK_LEN];
+
+ int init_in_progress;
+ int init_gtk_idx;
+ u8 init_gtk[16];
};
@@ -45,5 +49,6 @@ int ibss_rsn_start(struct ibss_rsn *ibss_rsn, const u8 *addr);
int ibss_rsn_rx_eapol(struct ibss_rsn *ibss_rsn, const u8 *src_addr,
const u8 *buf, size_t len);
void ibss_rsn_set_psk(struct ibss_rsn *ibss_rsn, const u8 *psk);
+void ibss_rsn_connected(struct ibss_rsn *ibss_rsn);
#endif /* IBSS_RSN_H */