[PATCH 0/2] NAN: Peer maximum SSI length from DCEA

Paul Hu paulhu at google.com
Tue Nov 10 20:51:55 PST 2026


Wi-Fi Aware R5 devices advertise the maximum Service Specific Info
length they can receive in a follow-up frame in b22-b37 of the DCEA
Capability Info field. wpa_supplicant already advertises its own value,
but did not parse the value from a peer.

Patch 1 parses the publisher's value during service discovery and
reports it as max_ssi_len in NAN-DISCOVERY-RESULT. Patch 2 adds an
hwsim test case for it.

Paul Hu (2):
  NAN: Parse peer's maximum SSI length from DCEA
  tests: NAN peer maximum SSI length in discovery result

 src/common/nan_de.c     | 22 ++++++++++++++++------
 src/common/nan_de.h     |  1 +
 src/common/nan_defs.h   |  8 ++++++++
 tests/hwsim/test_nan.py | 15 +++++++++++++++
 wpa_supplicant/notify.c | 11 +++++++++--
 5 files changed, 49 insertions(+), 8 deletions(-)

-- 
2.56.0.542.g3ef89b7020-goog




More information about the Hostap mailing list