aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-04-10 18:42:54 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-10 18:42:54 (GMT)
commit86dfabb809898456bd05e7bececb8d8a6be197d7 (patch)
tree291e31f81d6ae4cfc799b934781e8ccf40d2e32d /src/ap/wpa_auth_i.h
parent48de343cd4430330fc3871c54ade63bd5cedfeb2 (diff)
downloadhostap-86dfabb809898456bd05e7bececb8d8a6be197d7.zip
hostap-86dfabb809898456bd05e7bececb8d8a6be197d7.tar.gz
hostap-86dfabb809898456bd05e7bececb8d8a6be197d7.tar.bz2
FT: Add FTIE, TIE[ReassocDeadline], TIE[KeyLifetime] to EAPOL-Key 3/4
These are mandatory IEs to be included in the FT 4-Way Handshake Message 3.
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index 6d6ed54..a7cbfd0 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -214,6 +214,11 @@ void wpa_smk_m3(struct wpa_authenticator *wpa_auth,
#ifdef CONFIG_IEEE80211R
int wpa_write_mdie(struct wpa_auth_config *conf, u8 *buf, size_t len);
+int wpa_write_ftie(struct wpa_auth_config *conf, const u8 *r0kh_id,
+ size_t r0kh_id_len,
+ const u8 *anonce, const u8 *snonce,
+ u8 *buf, size_t len, const u8 *subelem,
+ size_t subelem_len);
int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, const u8 *pmk,
struct wpa_ptk *ptk, size_t ptk_len);
struct wpa_ft_pmk_cache * wpa_ft_pmk_cache_init(void);