aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/pmksa_cache.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-05-01 14:30:03 (GMT)
committerJouni Malinen <j@w1.fi>2020-05-03 21:37:44 (GMT)
commit1f5f0000865ca5f2935a85ec25cf942984a983d5 (patch)
tree7d6f03d7c2a138fe8d042c886ae7ab087120c240 /src/rsn_supp/pmksa_cache.h
parentf6c22dcdead99f968e11f6eea071f28613d60617 (diff)
downloadhostap-1f5f0000865ca5f2935a85ec25cf942984a983d5.zip
hostap-1f5f0000865ca5f2935a85ec25cf942984a983d5.tar.gz
hostap-1f5f0000865ca5f2935a85ec25cf942984a983d5.tar.bz2
DPP2: Try to negotiate PFS only if AP supports version 2 or newer
Check AP's DPP Protocol Version during network introduction and mark the PMKSA cache as suitable for PFS use with version 2 or newer. This avoids unnecessary attempt of negotiating PFS with version 1 APs. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/rsn_supp/pmksa_cache.h')
-rw-r--r--src/rsn_supp/pmksa_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h
index 6c49fa9..83faa05 100644
--- a/src/rsn_supp/pmksa_cache.h
+++ b/src/rsn_supp/pmksa_cache.h
@@ -28,6 +28,7 @@ struct rsn_pmksa_cache_entry {
*/
u8 fils_cache_id[2];
unsigned int fils_cache_id_set:1;
+ unsigned int dpp_pfs:1;
os_time_t reauth_time;