Johannes Berg 90668e3204 wifi: mac80211: take MBSSID/EHT data also from probe resp
The code that sets up the assoc link will currently take the BSS
element data from the beacon only. This is correct for some of
the data, notably the timing and the "have_beacon", but all the
data about MBSSID and EHT really doesn't need to be taken from
there, and if the EHT puncturing is misconfigured on the AP but
we didn't receive a beacon yet, this causes us to connect but
immediately disconnect upon receiving the first beacon, rather
than connecting without EHT in the first place.

Change the code to take MBSSID and EHT data also from the probe
response, for a better picture of what the BSS capabilities are
and to avoid that EHT puncturing problem.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230827135854.3c7e52d49482.Iba6b672f6dc74b45bba26bc497e953e27da43ef9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-09-11 12:32:40 +02:00
..
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:23 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:23 +02:00
2023-09-11 11:27:23 +02:00
2023-09-11 11:27:23 +02:00
2023-09-11 11:27:23 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:23 +02:00
2023-09-11 11:27:22 +02:00