[PATCH 12/92] NAN: Add NIK and NIK lifetime to NAN config

Andrei Otcheretianski andrei.otcheretianski at intel.com
Wed Apr 22 05:23:03 PDT 2026


From: Avraham Stern <avraham.stern at intel.com>

Add the NIK and NIK lifetime to NAN config.

Signed-off-by: Avraham Stern <avraham.stern at intel.com>
---
 src/nan/nan.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/nan/nan.h b/src/nan/nan.h
index b2cafdb3f5..c5300aff41 100644
--- a/src/nan/nan.h
+++ b/src/nan/nan.h
@@ -412,6 +412,10 @@ struct nan_config {
 	u8 dev_capa_ext_reg_info; /* NAN_DEV_CAPA_EXT_INFO_0_* */
 
 	struct nan_pairing_cfg pairing_cfg;
+	u8 nik[NAN_NIK_LEN];
+
+	/* in seconds */
+	u32 nik_lifetime;
 
 	/*
 	 * Supported Pairing Bootstrapping Methods (PBM).
-- 
2.53.0




More information about the Hostap mailing list