wps_hostapd.h

Go to the documentation of this file.
00001 
00016 #ifndef WPS_HOSTAPD_H
00017 #define WPS_HOSTAPD_H
00018 
00019 #ifdef CONFIG_WPS
00020 
00021 int hostapd_init_wps(struct hostapd_data *hapd,
00022                      struct hostapd_bss_config *conf);
00023 void hostapd_deinit_wps(struct hostapd_data *hapd);
00024 int hostapd_wps_add_pin(struct hostapd_data *hapd, const char *uuid,
00025                         const char *pin, int timeout);
00026 int hostapd_wps_button_pushed(struct hostapd_data *hapd);
00027 int hostapd_wps_start_oob(struct hostapd_data *hapd, char *device_type,
00028                           char *path, char *method, char *name);
00029 int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr,
00030                             char *buf, size_t buflen);
00031 
00032 #else /* CONFIG_WPS */
00033 
00034 static inline int hostapd_init_wps(struct hostapd_data *hapd,
00035                                    struct hostapd_bss_config *conf)
00036 {
00037         return 0;
00038 }
00039 
00040 static inline void hostapd_deinit_wps(struct hostapd_data *hapd)
00041 {
00042 }
00043 
00044 static inline int hostapd_wps_get_mib_sta(struct hostapd_data *hapd,
00045                                           const u8 *addr,
00046                                           char *buf, size_t buflen)
00047 {
00048         return 0;
00049 }
00050 
00051 #endif /* CONFIG_WPS */
00052 
00053 #endif /* WPS_HOSTAPD_H */
00054 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:16:49 2009 for hostapd by  doxygen 1.6.1