]> git.ipfire.org Git - thirdparty/hostap.git/commit
NAN: Handle cluster join and next DW events
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 23 Dec 2025 11:46:00 +0000 (13:46 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 29 Jan 2026 10:31:55 +0000 (12:31 +0200)
commit8dd034b2b63765d263ebb7624ca3006b3dc27528
treef4aafbc7a1eadc4b525a282202f4dfc414ce7068
parent16ca54e38740e786924478b15ccfaf881bf33caf
NAN: Handle cluster join and next DW events

To support synchronized NAN Discovery Engine (DE) in wpa_supplicant, the
driver will report two new events:

NAN_CLUSTER_JOIN: This event is sent whenever a new NAN cluster is
started or joined. This event carries the new cluster id, which will be
used to construct SDFs.

NAN_NEXT_DW: A notification about an upcoming Discovery Window (DW).
This event is optional and may be turned on and off. It is used to
trigger multicast SDF transmissions during the upcoming DW.

Define these events and add the functions needed for delivering thenm to
nan_supplicant.c

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/drivers/driver.h
src/drivers/driver_common.c
wpa_supplicant/events.c
wpa_supplicant/nan_supplicant.c
wpa_supplicant/nan_supplicant.h