]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - hostapd/hostapd.h
Merge driver ops set_wps_beacon_ie and set_wps_probe_resp_ie
[thirdparty/hostap.git] / hostapd / hostapd.h
index 63f45c15c9bf07ce9e9a4cf9d060524dd6efb7da..3d188e0486c0435fbb1cd7fad0ca702df4d3e85d 100644 (file)
@@ -43,9 +43,8 @@ struct hostapd_rate_data {
 
 struct hostapd_driver_ops {
        int (*set_ap_wps_ie)(struct hostapd_data *hapd,
-                            const u8 *beacon_ie, size_t beacon_ie_len,
-                            const u8 *probe_resp_ie,
-                            size_t probe_resp_ie_len);
+                            const struct wpabuf *beacon,
+                            const struct wpabuf *probe);
 };
 
 /**
@@ -112,10 +111,8 @@ struct hostapd_data {
        struct wps_context *wps;
 
 #ifdef CONFIG_WPS
-       u8 *wps_beacon_ie;
-       size_t wps_beacon_ie_len;
-       u8 *wps_probe_resp_ie;
-       size_t wps_probe_resp_ie_len;
+       struct wpabuf *wps_beacon_ie;
+       struct wpabuf *wps_probe_resp_ie;
        unsigned int ap_pin_failures;
        struct upnp_wps_device_sm *wps_upnp;
 #endif /* CONFIG_WPS */