[PATCH V3 00/20] Add initial support for synchronized discovery
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Thu Feb 5 07:11:57 PST 2026
This patch series add initial support for NAN synchronized discovery
by reusing the existing USD implemetation in wpa_supplicant.
This is based on the latest wireless-next tree, which introduced
DW notification concept and allows SDF transmissions over NAN device
interface with proper timing.
This patch series is a completion of the previously partially applied
V2 series.
Changes in V3:
- Rebased on top of the latest main branch with the original patches 1-20
applied.
- NAN USD refactoring patch is split into 3 patches.
- Since wireless-next disables NAN radio support by default in
mac80211_hwsim, use dynamic wpa_supplicant interfaces for NAN
testing that are using NAN enabled radios.
Andrei Otcheretianski (14):
NAN: Combine nan_usd.c/h with nan_supplicant.c/h files
NAN: Rename common functions to remove usd suffix
NAN: Add inline stubs and remove unnecessary ifdef guards
wpa_supplicant: Make sure NAN DE is initialized in wpas_nan_ready()
NAN: Enable DW notification
wpa_supplicant: Support synchronized NAN publish/subscribe
NAN: Reuse nan_de_tx_sdf() to transmit solicited publish
NAN: Support matching filters
ctrl_iface: Support configuration of publish/subscribe match filters
NAN: Support Service Response Filters (SRF)
NAN: Support RSSI range limited services
NAN: Don't send sync SDFs with offchannel tx
tests: Start another dynamic wpa_supplicant interface
tests: Add NAN device support to HWSimRadio
Ilan Peer (6):
nl80211: Do not allow off channel for NAN Device action frames
driver: Extend NAN cluster configuration
NAN: Support configuring NAN operation
nl80211: Support updating NAN configuration
nl80211: Extend NAN configuration
tests: Add testing coverage for NAN operation
src/ap/nan_usd_ap.c | 2 +-
src/common/nan_de.c | 510 ++++++++++---
src/common/nan_de.h | 34 +-
src/common/nan_defs.h | 7 +
src/drivers/driver.h | 47 ++
src/drivers/driver_nl80211.c | 148 +++-
src/nan/nan.c | 20 +
src/nan/nan.h | 9 +
tests/hwsim/hwsim.py | 14 +-
tests/hwsim/run-tests.py | 51 +-
tests/hwsim/start.sh | 4 +
tests/hwsim/stop.sh | 4 +-
tests/hwsim/test_nan.py | 815 +++++++++++++++++++++
wpa_supplicant/Android.mk | 14 +-
wpa_supplicant/Makefile | 12 +-
wpa_supplicant/ctrl_iface.c | 93 ++-
wpa_supplicant/dbus/dbus_new_handlers.c | 8 +-
wpa_supplicant/driver_i.h | 8 +
wpa_supplicant/events.c | 13 +-
wpa_supplicant/nan_supplicant.c | 937 +++++++++++++++++++++++-
wpa_supplicant/nan_supplicant.h | 135 ++++
wpa_supplicant/nan_usd.c | 716 ------------------
wpa_supplicant/nan_usd.h | 54 --
wpa_supplicant/notify.c | 4 +-
wpa_supplicant/p2p_supplicant.c | 2 +-
wpa_supplicant/wpa_cli.c | 16 +
wpa_supplicant/wpa_supplicant.c | 11 +-
wpa_supplicant/wpa_supplicant_i.h | 1 +
28 files changed, 2689 insertions(+), 1000 deletions(-)
create mode 100644 tests/hwsim/test_nan.py
delete mode 100644 wpa_supplicant/nan_usd.c
delete mode 100644 wpa_supplicant/nan_usd.h
--
2.52.0
More information about the Hostap
mailing list