X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Fwps%2Fwps.h;h=8bc75478690634a4b9aef9118690736c84aac248;hb=3379a3a795803335b3f464f34a15f06843369fb1;hp=6667b02b58818c55fc13547ee096a5cfb31db04b;hpb=3c5126a41f9de5ae6d5666328b5046efc824d03a;p=libeap.git diff --git a/src/wps/wps.h b/src/wps/wps.h index 6667b02..8bc7547 100644 --- a/src/wps/wps.h +++ b/src/wps/wps.h @@ -352,6 +352,11 @@ struct wps_registrar_config { * static_wep_only - Whether the BSS supports only static WEP */ int static_wep_only; + + /** + * dualband - Whether this is a concurrent dualband AP + */ + int dualband; }; @@ -721,6 +726,7 @@ int wps_registrar_add_pin(struct wps_registrar *reg, const u8 *addr, const u8 *uuid, const u8 *pin, size_t pin_len, int timeout); int wps_registrar_invalidate_pin(struct wps_registrar *reg, const u8 *uuid); +int wps_registrar_wps_cancel(struct wps_registrar *reg); int wps_registrar_unlock_pin(struct wps_registrar *reg, const u8 *uuid); int wps_registrar_button_pushed(struct wps_registrar *reg); void wps_registrar_probe_req_rx(struct wps_registrar *reg, const u8 *addr, @@ -762,7 +768,8 @@ u16 wps_config_methods_str2bin(const char *str); #ifdef CONFIG_WPS_STRICT int wps_validate_beacon(const struct wpabuf *wps_ie); -int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe); +int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, + const u8 *addr); int wps_validate_probe_req(const struct wpabuf *wps_ie); int wps_validate_assoc_req(const struct wpabuf *wps_ie); int wps_validate_assoc_resp(const struct wpabuf *wps_ie); @@ -790,7 +797,7 @@ static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ } static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, - int probe) + int probe, const u8 *addr) { return 0; }