[PATCH v2 2/3] NAN: Add pairing parameters to discovery result notifications

Otcheretianski, Andrei andrei.otcheretianski at intel.com
Wed Nov 4 08:16:12 PST 2026


> diff --git a/wpa_supplicant/nan_supplicant.c
> b/wpa_supplicant/nan_supplicant.c index 60d0c4ae0..cc4d1a678 100644
> --- a/wpa_supplicant/nan_supplicant.c
> +++ b/wpa_supplicant/nan_supplicant.c
> @@ -4957,6 +4957,12 @@ static void
>  wpas_nan_de_discovery_result(void *ctx, struct nan_discovery_result *res)  {
>  	struct wpa_supplicant *wpa_s = ctx;
> +	const u8 *nonce = NULL;
> +	const u8 *tag = NULL;
> +	u16 bootstrap_methods = 0;
> +	bool pairing_setup = false;
> +	bool npk_caching = false;
> +	bool pairing_verification = false;

All these fields already exist in struct nan_discovery_result

Andrei


More information about the Hostap mailing list