[PATCH 2/2] NAN: Add ndc_in_req configuration parameter to propose NDC in M1
Jouni Malinen
j at w1.fi
Thu Dec 3 10:53:17 PST 2026
On Sun, Nov 08, 2026 at 11:19:43AM -0800, Arowa Suliman wrote:
> While the NAN specification makes the NAN Data Cluster (NDC) attribute
> optional in NDP Request (M1) frames so that the responder can select the
> NDC in M2, some legacy NAN peers expect the initiator to propose an
> initial NDC in M1 even when no NDC has been established yet, and
> otherwise reply in M2 without an NDC attribute, causing data path setup
> to fail.
>
> Add a 'NAN_SET ndc_in_req <0|1>' configuration parameter (stored in
> wpa_s->nan_ndc_in_req, defaulting to false) to allow configuring
> wpas_nan_select_ndc() to always include a proposed NDC attribute in
> outgoing NDP Request (M1) frames for interoperability with such peers.
Thanks, I applied this patch 2 now. The updated version of patch 1 is
still in the queue.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list