aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-03-23 16:13:03 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-23 16:31:06 (GMT)
commit692ec3058b5f2795c3b066a5fedc78b3ba558c32 (patch)
tree2b6ae53004f75a1dceea42302407f803e4a9c3e5 /src/ap/wpa_auth_i.h
parent546735476af8c6dd15deb5b85b72833537e54619 (diff)
downloadhostap-692ec3058b5f2795c3b066a5fedc78b3ba558c32.zip
hostap-692ec3058b5f2795c3b066a5fedc78b3ba558c32.tar.gz
hostap-692ec3058b5f2795c3b066a5fedc78b3ba558c32.tar.bz2
FT: Add support for postponing FT response
If the PMK-R1 needs to be pulled for the R0KH, the previous implementation ended up rejecting the over-the-air authentication and over-the-DS action frame unnecessarily while waiting for the RRB response. Improve this by postponing the Authentication/Action frame response until the pull response is received. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index 2e1bdcf..6960ff3 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -118,6 +118,15 @@ struct wpa_state_machine {
u8 sup_pmk_r1_name[WPA_PMK_NAME_LEN]; /* PMKR1Name from EAPOL-Key
* message 2/4 */
u8 *assoc_resp_ftie;
+
+ void (*ft_pending_cb)(void *ctx, const u8 *dst, const u8 *bssid,
+ u16 auth_transaction, u16 status,
+ const u8 *ies, size_t ies_len);
+ void *ft_pending_cb_ctx;
+ struct wpabuf *ft_pending_req_ies;
+ u8 ft_pending_pull_nonce[FT_R0KH_R1KH_PULL_NONCE_LEN];
+ u8 ft_pending_auth_transaction;
+ u8 ft_pending_current_ap[ETH_ALEN];
#endif /* CONFIG_IEEE80211R */
int pending_1_of_4_timeout;