[RFC 11/13] wpa_supplicant: Forward follow up SDFs to NAN module

Andrei Otcheretianski andrei.otcheretianski at intel.com
Tue Dec 23 03:57:23 PST 2025


So in case a follow up SDF contains NPBA with type request
or type response, they could be processed in the NAN bootstrap
logic.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
 wpa_supplicant/nan_supplicant.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wpa_supplicant/nan_supplicant.c b/wpa_supplicant/nan_supplicant.c
index e32169b43c..6dd847bb92 100644
--- a/wpa_supplicant/nan_supplicant.c
+++ b/wpa_supplicant/nan_supplicant.c
@@ -2703,6 +2703,10 @@ static void wpas_nan_de_receive(void *ctx, int id, int peer_instance_id,
 {
 	struct wpa_supplicant *wpa_s = ctx;
 
+	if (nan_process_followup(wpa_s->nan, peer_addr, buf, len,
+				 peer_instance_id, id))
+		return;
+
 	wpas_notify_nan_receive(wpa_s, id, peer_instance_id, peer_addr,
 				ssi, ssi_len);
 }
-- 
2.49.0




More information about the Hostap mailing list