[PATCH 4/4] driver_nl80211: pass station VHT capabilities to kernel
Johannes Berg
johannes
Fri Dec 28 06:32:32 PST 2012
From: Johannes Berg <johannes.berg at intel.com>
Signed-hostap: Johannes Berg <johannes.berg at intel.com>
---
src/drivers/driver_nl80211.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 2639747..42fc253 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -5811,6 +5811,12 @@ static int wpa_driver_nl80211_sta_add(void *priv,
params->ht_capabilities);
}
+ if (params->vht_capabilities) {
+ NLA_PUT(msg, NL80211_ATTR_VHT_CAPABILITY,
+ sizeof(*params->vht_capabilities),
+ params->vht_capabilities);
+ }
+
os_memset(&upd, 0, sizeof(upd));
upd.mask = sta_flags_nl80211(params->flags);
upd.set = upd.mask;
--
1.8.0
More information about the Hostap
mailing list