[PATCH 1/2] NAN: Add gtk_support configuration parameter
Arowa Suliman
arowa at chromium.org
Sun Nov 8 12:55:56 PST 2026
On Sun, 2026-11-08 at 20:59 +0100, Johannes Berg wrote:
> How would you detect that you need to do this? Surely you're not going
> to have a UI setting for the user?
It is configured once at NAN initialization by the platform layer (on Android,
in the wpa_supplicant AIDL HAL alongside master_pref, dual_band, max_bw, and
beacon_prot).
Android's Wi-Fi Aware stack only uses unicast data paths (PTK) and does not
configure or use NAN group keys (GTK/IGTK). However, wpas_nan_init()
automatically enables NAN_CS_INFO_CAPA_GTK_SUPP_NO_BIGTK whenever the driver
supports CCMP/GCMP and BIP. When connecting to deployed Android peers that also
set the GTK capability bit in their CSIA but do not negotiate or include a GTK
KDE in M3/M4, the handshake fails.
Adding gtk_support allows a platform that does not use NAN group keys to
disable GTK capability advertisement at NAN startup.
More information about the Hostap
mailing list