]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Pick WPS AP based on latest received WPS IE
authorSai Pratyusha Magam <quic_smagam@quicinc.com>
Sun, 21 Aug 2022 15:05:50 +0000 (20:35 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 24 Nov 2022 16:50:44 +0000 (18:50 +0200)
commit05ec485688e63ee06159cfb45e99b480efb43661
tree6bd9c3d45d417d0ff73323da4501cfbbef880f43
parent00bd744ed5483b7f5ca0a6bad1e90a075e5e0170
WPS: Pick WPS AP based on latest received WPS IE

wpa_supplicant used the WPS IE from a Probe Response frame, if one was
received, even if there might have been a more recent Beacon frame with
an updated WPS IE. This could result in using stale information about
active WPS registrar, e.g., when operating on the 6 GHz band.

Prefer WPS IE from a Beacon frame over the default selection of Probe
Response frame (if one has been received) in cases where the Beacon
frame is received more recently than the Probe Response frame and active
WPS Registrar information is being checked. Skip this for the case where
UUID-E is needed since that is not available in the Beacon frame.

Signed-off-by: Sai Pratyusha Magam <quic_smagam@quicinc.com>
wpa_supplicant/wps_supplicant.c