aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_nl80211.c
diff options
context:
space:
mode:
authorMarek Kwaczynski <marek.kwaczynski@tieto.com>2014-02-10 12:43:05 (GMT)
committerJouni Malinen <j@w1.fi>2014-02-14 17:30:05 (GMT)
commit8a45811638d3d5c913175c4b8fc17a9bff0178e1 (patch)
tree9222a7b1c484e72445b079ccc84ed1207f9ee4b3 /src/drivers/driver_nl80211.c
parentd9dd86be1dfb49255d3c8243d65f1a6ebc00e32d (diff)
downloadhostap-8a45811638d3d5c913175c4b8fc17a9bff0178e1.zip
hostap-8a45811638d3d5c913175c4b8fc17a9bff0178e1.tar.gz
hostap-8a45811638d3d5c913175c4b8fc17a9bff0178e1.tar.bz2
hostapd: Add Operating Mode Notification support
Handle Operating Mode Notification received in (Re)Association Request frames. Signed-hostap: Marek Kwaczynski <marek.kwaczynski@tieto.com>
Diffstat (limited to 'src/drivers/driver_nl80211.c')
-rw-r--r--src/drivers/driver_nl80211.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index f4bb31c..e96c0c2 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -7351,6 +7351,12 @@ static int wpa_driver_nl80211_sta_add(void *priv,
params->vht_capabilities);
}
+ if (params->vht_opmode_enabled) {
+ wpa_printf(MSG_DEBUG, " * opmode=%u", params->vht_opmode);
+ NLA_PUT_U8(msg, NL80211_ATTR_OPMODE_NOTIF,
+ params->vht_opmode);
+ }
+
wpa_printf(MSG_DEBUG, " * capability=0x%x", params->capability);
NLA_PUT_U16(msg, NL80211_ATTR_STA_CAPABILITY, params->capability);