[PATCH 0/3] NAN: Forward pairing and NIRA parameters in discovery and pairing notifications
Jouni Malinen
j at w1.fi
Sat Nov 28 07:02:36 PST 2026
On Tue, Oct 13, 2026 at 02:08:14PM +0800, Junyu Lai wrote:
> This patch series forwards NAN pairing capabilities, bootstrapping methods,
> and NIRA (NAN Identity Resolution Attribute) nonce/tag to upper-layer
> notification callbacks during service discovery and PASN pairing requests:
>
> 1. Ensure the discovered peer is added to the NAN module (wpa_s->nan) inside
> wpas_nan_de_discovery_result() prior to querying peer pairing configuration
> (since nan_de_rx_sdf() invokes the discovery_result callback synchronously
> before wpas_nan_de_rx_sdf() calls nan_add_peer()).
> 2. Query peer pairing capabilities, bootstrapping methods, and NIRA nonce/tag
> in wpas_nan_de_discovery_result() (with fallback defaults when wpa_s->nan
> is NULL, e.g., during USD on p2p0) and pass them to
> wpas_notify_nan_discovery_result().
> 3. Forward the peer's NIRA nonce and tag in wpas_nan_pasn_pairing_request_cb()
> to wpas_notify_nan_pairing_request().
>
> Junyu Lai (3):
> NAN: Add peer on discovery before notifying discovery result
> NAN: Add pairing parameters to discovery result notifications
> NAN: Pass peer NIRA nonce and tag in pairing request notifications
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list