hostapd/src
Jouni Malinen 5ea7a2f545 DPP: Drop PMKSA entry if AP reject association due to invalid PMKID
This is needed to avoid trying the subsequent connections with the old
PMKID that the AP claims not to hold and continues connection failures.
This was already handled for the SME-in-the-driver case in commit commit
50b77f50e8 ("DPP: Flush PMKSA if an assoc reject without timeout is
received"), but the wpa_supplicant SME case did not have matching
processing.

Add the needed check to avoid recover from cases where the AP has
dropped its PMKSA cache entry. Do this only based on the specific status
code value (53 = invalid PMKID) and only for the PMKSA entry that
triggered this failure to minimize actions taken based on an unprotected
(Re)Association Response frame.

Signed-off-by: Jouni Malinen <j@w1.fi>
2022-11-20 11:08:26 +02:00
..
ap PASN: Use separate variables for BSSID and peer address 2022-11-10 21:12:50 +02:00
common SAE: Print rejection of peer element clearly in debug log 2022-11-10 21:31:14 +02:00
crypto OpenSSL: Fix additional HPKE corner cases 2022-11-07 18:01:33 +02:00
drivers nl80211: Allow up to 64-byte PMK in NL80211_CMD_SET_PMKSA 2022-11-09 13:21:46 +02:00
eap_common EAP-SAKA: Simplify attribute parser for static analyzers 2022-05-08 16:53:38 +03:00
eap_peer EAP-SIM/AKA peer: IMSI privacy attribute 2022-05-25 20:18:40 +03:00
eap_server EAP-PEAP server: Fix TLS 1.3 move to Phase 2 without a new session ticket 2022-05-02 18:07:50 +03:00
eapol_auth EAP-TLS: Testing functionality to skip protected success indication 2022-04-07 00:43:12 +03:00
eapol_supp Discard unencrypted EAPOL-EAP when TK is set and PMF is enabled 2022-05-07 21:37:08 +03:00
fst FST: More robust bounds checking of local data in fst_dump_mb_ies() 2022-05-08 17:18:58 +03:00
l2_packet Replace "dummy" with "stub" in comments/documentation 2021-10-11 20:52:50 +03:00
p2p P2P: Track peer 6 GHz capability more robustly 2022-11-05 12:04:09 +02:00
pae MACsec: Support GCM-AES-256 cipher suite 2022-02-16 22:54:49 +02:00
pasn Check for own address (SPA) match when finding PMKSA entries 2022-11-10 21:13:05 +02:00
radius RADIUS: Add Filter-Id attribute 2022-10-31 11:56:57 +02:00
rsn_supp DPP: Drop PMKSA entry if AP reject association due to invalid PMKID 2022-11-20 11:08:26 +02:00
tls TLS: Fix highest TLS version disabling with internal TLS client 2021-03-14 13:08:04 +02:00
utils Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
wps Replace "dummy" with "stub" in comments/documentation 2021-10-11 20:52:50 +03:00
build.rules build: Rebuild libs all the time 2020-10-12 20:18:02 +03:00
lib.rules build: lib.rules: Add common-clean 2020-10-16 12:51:12 +03:00
Makefile PASN: Move initiator changes into a separate file 2022-11-04 00:52:17 +02:00
objs.mk build: Fix dependency file inclusion 2020-10-12 11:05:16 +03:00