preauth.h

Go to the documentation of this file.
00001 
00016 #ifndef PREAUTH_H
00017 #define PREAUTH_H
00018 
00019 #ifdef CONFIG_RSN_PREAUTH
00020 
00021 int rsn_preauth_iface_init(struct hostapd_data *hapd);
00022 void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
00023 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
00024                           int success);
00025 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
00026                       u8 *buf, size_t len);
00027 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
00028 
00029 #else /* CONFIG_RSN_PREAUTH */
00030 
00031 static inline int rsn_preauth_iface_init(struct hostapd_data *hapd)
00032 {
00033         return 0;
00034 }
00035 
00036 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd)
00037 {
00038 }
00039 
00040 static inline void rsn_preauth_finished(struct hostapd_data *hapd,
00041                                         struct sta_info *sta,
00042                                         int success)
00043 {
00044 }
00045 
00046 static inline void rsn_preauth_send(struct hostapd_data *hapd,
00047                                     struct sta_info *sta,
00048                                     u8 *buf, size_t len)
00049 {
00050 }
00051 
00052 static inline void rsn_preauth_free_station(struct hostapd_data *hapd,
00053                                             struct sta_info *sta)
00054 {
00055 }
00056 
00057 #endif /* CONFIG_RSN_PREAUTH */
00058 
00059 #endif /* PREAUTH_H */
00060 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

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