aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-04-11 17:16:43 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-11 17:16:43 (GMT)
commitb3db190fa21929dd9f041708f9717ca135070fee (patch)
tree8e46906fd65876b11b4e900919e13b44e9c97de9 /wpa_supplicant/driver_i.h
parentf90ceeaabf8a00a84152195f6c1cacbfcaa2ca57 (diff)
downloadhostap-b3db190fa21929dd9f041708f9717ca135070fee.zip
hostap-b3db190fa21929dd9f041708f9717ca135070fee.tar.gz
hostap-b3db190fa21929dd9f041708f9717ca135070fee.tar.bz2
Started to make set_ap_wps_ie() capable of adding multiple IEs
This mechanism can be used to add various IEs to Beacon and Probe Response frames and it should be made clear that it is not reserved only for WPS IE.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index fa2ae4f..a70aa6a 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -481,4 +481,14 @@ static inline int wpa_drv_signal_monitor(struct wpa_supplicant *wpa_s,
return -1;
}
+static inline int wpa_drv_set_ap_wps_ie(struct wpa_supplicant *wpa_s,
+ const struct wpabuf *beacon,
+ const struct wpabuf *proberesp)
+{
+ if (!wpa_s->driver->set_ap_wps_ie)
+ return -1;
+ return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon,
+ proberesp);
+}
+
#endif /* DRIVER_I_H */