aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.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 /wpa_supplicant/ap.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 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index 8a996f9..3ba4496 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -498,6 +498,9 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
hapd_iface->owner = wpa_s;
hapd_iface->drv_flags = wpa_s->drv_flags;
hapd_iface->probe_resp_offloads = wpa_s->probe_resp_offloads;
+ hapd_iface->extended_capa = wpa_s->extended_capa;
+ hapd_iface->extended_capa_mask = wpa_s->extended_capa_mask;
+ hapd_iface->extended_capa_len = wpa_s->extended_capa_len;
wpa_s->ap_iface->conf = conf = hostapd_config_defaults();
if (conf == NULL) {