2 * wpa_supplicant / WPS integration
3 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
15 #ifndef WPS_SUPPLICANT_H
16 #define WPS_SUPPLICANT_H
20 int wpas_wps_init(struct wpa_supplicant *wpa_s);
21 void wpas_wps_deinit(struct wpa_supplicant *wpa_s);
22 int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s);
23 u8 wpas_wps_get_req_type(struct wpa_ssid *ssid);
24 int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid);
25 int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
27 int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid,
30 #else /* CONFIG_WPS */
32 static inline int wpas_wps_init(struct wpa_supplicant *wpa_s)
37 static inline void wpas_wps_deinit(struct wpa_supplicant *wpa_s)
41 static inline int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s)
46 u8 wpas_wps_get_req_type(struct wpa_ssid *ssid)
51 #endif /* CONFIG_WPS */
53 #endif /* WPS_SUPPLICANT_H */