[PATCH 0/7] NAN: Add Instant Communication support
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Thu Oct 8 09:54:31 PDT 2026
Instant Communication (IC) is defined in Chapter 13 of the Wi-Fi Aware
Specification v4.0. While it is enabled, a device advertises the
services it currently publishes and subscribes to directly in the NAN
Beacons, using the Service ID List and the Subscriber Service
ID List attributes. A peer that finds a match in a received beacon can
then send the corresponding SDF right away instead of waiting for the
next Discovery Window, which makes discovery considerably faster.
This series adds the user space side of it: the 'instant_comm' NAN_SET
option and the nl80211 plumbing for it, building the two service ID list
attributes, processing them on RX, and a hwsim test.
Two notes:
- The driver code uses NL80211_NAN_CONF_INSTANT_COMM and
NL80211_NAN_CAPA_INSTANT_COMM. Both are already in wireless-next, but
nl80211_copy.h has not been synced yet, so patch 2 does not build
without that sync.
- The last patch depends on the NAN series sent earlier - it uses the
nan_check_same_cluster() helper added there by "tests: NAN: Add a sync
Cluster ID mismatch test".
Ilan Peer (7):
NAN: Add instant communication configuration
nl80211: Add NAN Instant Communication (IC) support
NAN: Advertise services when Instant Communication is used
NAN: Process the NAN beacons when instant communication is used
wpa_supplicant: Forward beacons to the NAN module
ctrl_iface: Indicate Instant Communication support
tests: NAN synchronized discovery with Instant Communication
src/common/nan_de.c | 220 +++++++++++++++++++++++++++
src/common/nan_de.h | 3 +
src/drivers/driver.h | 4 +
src/drivers/driver_nl80211.c | 82 +++++++++-
src/drivers/driver_nl80211.h | 1 +
src/drivers/driver_nl80211_capa.c | 8 +
tests/hwsim/test_nan.py | 245 +++++++++++++++++++++++++++++-
wpa_supplicant/ctrl_iface.c | 12 ++
wpa_supplicant/events.c | 5 +
wpa_supplicant/nan_supplicant.c | 115 +++++++++++++-
wpa_supplicant/nan_supplicant.h | 7 +
11 files changed, 698 insertions(+), 4 deletions(-)
--
2.53.0
More information about the Hostap
mailing list