[PATCH 02/15] nl80211: Forward HE information for NAN stations
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Thu Oct 8 09:05:11 PDT 2026
From: Benjamin Berg <benjamin.berg at intel.com>
HE is already supported by the kernel but the information was not
being forwarded to the kernel when adding the station.
Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
---
src/drivers/driver_nl80211.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 84540d6c00..d5506ad6ba 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -6479,6 +6479,16 @@ static int wpa_driver_nl80211_sta_add(void *priv,
params->vht_capabilities))
goto fail;
}
+
+ if (params->he_capab) {
+ wpa_hexdump(MSG_DEBUG, " * he_capabilities",
+ (u8 *)params->he_capab,
+ params->he_capab_len);
+ if (nla_put(msg, NL80211_ATTR_HE_CAPABILITY,
+ params->he_capab_len,
+ params->he_capab))
+ goto fail;
+ }
}
#endif /* CONFIG_NAN */
--
2.53.0
More information about the Hostap
mailing list