[PATCH v3 2/5] SME: Add support for handling authentication with MLD

Wen Gong quic_wgong at quicinc.com
Tue Mar 28 03:12:50 PDT 2023


On 12/6/2022 5:46 PM, Andrei Otcheretianski wrote:
...
> diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
> index f6ace37606..a44044079e 100644
> --- a/wpa_supplicant/sme.c
> +++ b/wpa_supplicant/sme.c
> @@ -367,6 +367,194 @@ static void sme_auth_handle_rrm(struct wpa_supplicant *wpa_s,
>   }
>   
>   
> +static bool wpas_ml_element(struct wpa_supplicant *wpa_s, struct wpa_bss *bss)
> +{
...
> +		} else {
> +			struct wpa_bss *neigh_bss =
> +				wpa_bss_get_bssid(wpa_s, ap_info->data + 1);
changed to use wpa_bss_get_bssid_latest() should be better here?
> +			u8 link_id = *(data + 1) & 0xF;
> +
> +			if (neigh_bss) {
> +				if (wpa_scan_res_match(wpa_s, 0, neigh_bss,
...



More information about the Hostap mailing list