aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-31 18:51:44 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-31 18:51:44 (GMT)
commit8cd6b7bce8b8f1fe2803bc17ddf0f51bd07330b1 (patch)
treec09efdd325c736ff39bf8faccccff716e0961c27 /hostapd/main.c
parent62d58f7ae34596e47c242164a28eb55fec1b38ec (diff)
downloadhostap-8cd6b7bce8b8f1fe2803bc17ddf0f51bd07330b1.zip
hostap-8cd6b7bce8b8f1fe2803bc17ddf0f51bd07330b1.tar.gz
hostap-8cd6b7bce8b8f1fe2803bc17ddf0f51bd07330b1.tar.bz2
hostapd/wpa_s: Use driver's extended capabilities
Some extended capabilities (I'm currently interested in "Operating Mode Notification" for VHT) are implemented by the kernel driver and exported in nl80211. Use these in hostapd/wpa_supplicant. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'hostapd/main.c')
-rw-r--r--hostapd/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/main.c b/hostapd/main.c
index 4b0da3c..881a053 100644
--- a/hostapd/main.c
+++ b/hostapd/main.c
@@ -274,6 +274,9 @@ static int hostapd_driver_init(struct hostapd_iface *iface)
hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) {
iface->drv_flags = capa.flags;
iface->probe_resp_offloads = capa.probe_resp_offloads;
+ iface->extended_capa = capa.extended_capa;
+ iface->extended_capa_mask = capa.extended_capa_mask;
+ iface->extended_capa_len = capa.extended_capa_len;
}
return 0;