Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PREAUTH_H
00016 #define PREAUTH_H
00017
00018 #ifdef CONFIG_RSN_PREAUTH
00019
00020 int rsn_preauth_iface_init(struct hostapd_data *hapd);
00021 void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
00022 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
00023 int success);
00024 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
00025 u8 *buf, size_t len);
00026 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
00027
00028 #else
00029
00030 static inline int rsn_preauth_iface_init(struct hostapd_data *hapd)
00031 {
00032 return 0;
00033 }
00034
00035 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd)
00036 {
00037 }
00038
00039 static inline void rsn_preauth_finished(struct hostapd_data *hapd,
00040 struct sta_info *sta,
00041 int success)
00042 {
00043 }
00044
00045 static inline void rsn_preauth_send(struct hostapd_data *hapd,
00046 struct sta_info *sta,
00047 u8 *buf, size_t len)
00048 {
00049 }
00050
00051 static inline void rsn_preauth_free_station(struct hostapd_data *hapd,
00052 struct sta_info *sta)
00053 {
00054 }
00055
00056 #endif
00057
00058 #endif