[PATCH 1/2] NAN: Add gtk_support configuration parameter
Johannes Berg
johannes at sipsolutions.net
Sun Nov 8 11:59:32 PST 2026
On Sun, 2026-11-08 at 11:19 -0800, Arowa Suliman wrote:
> By default, wpa_supplicant advertises GTK/IGTK support in the NAN Cipher
> Suite Information attribute capabilities whenever the driver supports
> CCMP/GCMP-256 and BIP.
>
> However, some legacy NAN peers fail the 4-way handshake when GTK/IGTK
> support is advertised in the Cipher Suite Information capabilities
> without a configured group cipher suite, as they omit GTK/IGTK KDEs in
> M3/M4 while wpa_supplicant expects them to be present when both peers
> advertise GTK support.
>
> Add a 'NAN_SET gtk_support <0|1>' configuration parameter and
> nan_set_gtk_support() helper so GTK/IGTK capability advertisement can be
> disabled prior to starting NAN for interoperability with such peers.
>
How would you detect that you need to do this? Surely you're not going
to have a UI setting for the user?
johannes
More information about the Hostap
mailing list