hostap/src
hongwang.li 41fae6e0bb nl80211: Add missing WPA3-SAE auth_data in auth retry case
When wpa_supplicant sends NL80211_CMD_AUTHENTICATE to kernel, it is
possible that the cfg80211 in kernel has expired the BSS entry that
we are trying to auth with. Then cfg80211 will reject the auth cmd.
In this case, wpa_supplicant will trigger a single channel scan to
refresh cfg80211 BSS entry, and retry the auth when scan is finished.

When this case happens, wpa_supplicant makes a copy of auth params,
such as frequency, bssid, ssid, ie and so on. So when we retry auth,
the copy of these params will be used. The problem is, a param named
auth_data is missed when making the copy. The auth_data is used by
NL80211_ATTR_SAE_DATA which is a mandatory field for WPA3-SAE auth.
In WPA3-SAE case the auth retry will always fail because auth_data is
missing. This patch fixes the issue.

Signed-off-by: hongwang.li <hongwang.li@sonos.com>
2021-01-15 12:14:17 +02:00
..
ap Extend the setband support for 6 GHz and band combinations 2020-12-11 19:56:14 +02:00
common Vendor feature capability to notify TWT asynchronous response support 2020-12-21 13:09:30 +02:00
crypto wolfSSL: Client cert loading API fix 2020-12-04 12:42:17 +02:00
drivers nl80211: Add missing WPA3-SAE auth_data in auth retry case 2021-01-15 12:14:17 +02:00
eap_common build: Make more library things common 2020-10-12 20:20:35 +03:00
eap_peer EAP-IKEv2: Try to make transform parser simpler to understand 2020-11-03 21:03:30 +02:00
eap_server build: Make more library things common 2020-10-12 20:20:35 +03:00
eapol_auth build: Make more library things common 2020-10-12 20:20:35 +03:00
eapol_supp build: Make more library things common 2020-10-12 20:20:35 +03:00
fst FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
l2_packet build: Make more library things common 2020-10-12 20:20:35 +03:00
p2p P2P: Delay P2P scan when an external scan is in progress 2020-12-21 23:22:51 +02:00
pae MACsec: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
radius build: Make more library things common 2020-10-12 20:20:35 +03:00
rsn_supp Make GTK length validation for RSN Group 1/2 easier to analyze 2020-11-03 21:10:01 +02:00
tls Fix couple more typos 2020-10-20 00:37:01 +03:00
utils Fix gcc-10 build with -Werror=array-bounds and dl_list_for_each() 2020-12-04 13:59:37 +02:00
wps build: Make more library things common 2020-10-12 20:20:35 +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 build: Add a common-clean target 2020-10-10 12:48:41 +03:00
objs.mk build: Fix dependency file inclusion 2020-10-12 11:05:16 +03:00