aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/wpa.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-10-18 10:02:02 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-18 10:02:02 (GMT)
commitbc26ac50dde37e505c66abaa5dfade41bd533a88 (patch)
tree6a0db3cf94b621b890958f48886b0d74e3183aab /src/rsn_supp/wpa.h
parentf2991170937d1c90e1261fae692e0c1cbc70b6a9 (diff)
downloadhostap-bc26ac50dde37e505c66abaa5dfade41bd533a88.zip
hostap-bc26ac50dde37e505c66abaa5dfade41bd533a88.tar.gz
hostap-bc26ac50dde37e505c66abaa5dfade41bd533a88.tar.bz2
SAE: Add support for PMKSA caching on the station side
This makes wpa_supplicant SME create PMKSA cache entries from SAE authentication and try to use PMKSA caching if an entry is found for the AP. If the AP rejects the attempt, fall back to SAE authentication is used. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/rsn_supp/wpa.h')
-rw-r--r--src/rsn_supp/wpa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h
index 63032b0..595fdf2 100644
--- a/src/rsn_supp/wpa.h
+++ b/src/rsn_supp/wpa.h
@@ -105,7 +105,8 @@ struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
void wpa_sm_deinit(struct wpa_sm *sm);
void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
void wpa_sm_notify_disassoc(struct wpa_sm *sm);
-void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len);
+void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len,
+ const u8 *bssid);
void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);