aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-09-22 17:46:44 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-22 17:46:44 (GMT)
commit0e2e565a44ab7b073491cab00847f7bc62731483 (patch)
tree5ffb72f62b30509357f4e137ab770c0b8962bec3 /wpa_supplicant/driver_i.h
parentbaf7081ccde91913aacd00e1f6ff034b9db5100d (diff)
downloadhostap-0e2e565a44ab7b073491cab00847f7bc62731483.zip
hostap-0e2e565a44ab7b073491cab00847f7bc62731483.tar.gz
hostap-0e2e565a44ab7b073491cab00847f7bc62731483.tar.bz2
WPS 2.0: Provide (Re)Association Response WPS IE to driver
WPS 2.0 mandates the AP to include WPS IE in (Re)Association Response if the matching (Re)Association Request included WPS IE. Provide the needed WPS IE information to the driver_ops API for drivers that process association frames internally. Note: This modifies the driver_ops API by adding a new argument to set_ap_wps_ie().
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index b5c9fc8..af8232a 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -499,12 +499,13 @@ static inline int wpa_drv_signal_monitor(struct wpa_supplicant *wpa_s,
static inline int wpa_drv_set_ap_wps_ie(struct wpa_supplicant *wpa_s,
const struct wpabuf *beacon,
- const struct wpabuf *proberesp)
+ const struct wpabuf *proberesp,
+ const struct wpabuf *assocresp)
{
if (!wpa_s->driver->set_ap_wps_ie)
return -1;
return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon,
- proberesp);
+ proberesp, assocresp);
}
static inline int wpa_drv_shared_freq(struct wpa_supplicant *wpa_s)