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>
This commit is contained in:
Jouni Malinen 2020-05-01 17:30:03 +03:00 committed by Jouni Malinen
parent f6c22dcdea
commit 1f5f000086
4 changed files with 26 additions and 1 deletions

View file

@ -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;