2 * hostapd - Authenticator for IEEE 802.11i RSN pre-authentication
3 * Copyright (c) 2004-2005, 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.
18 #ifdef CONFIG_RSN_PREAUTH
20 int rsn_preauth_iface_init(struct hostapd_data *hapd);
21 void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
22 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
24 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
26 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
28 #else /* CONFIG_RSN_PREAUTH */
30 static inline int rsn_preauth_iface_init(struct hostapd_data *hapd)
35 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd)
39 static inline void rsn_preauth_finished(struct hostapd_data *hapd,
45 static inline void rsn_preauth_send(struct hostapd_data *hapd,
51 static inline void rsn_preauth_free_station(struct hostapd_data *hapd,
56 #endif /* CONFIG_RSN_PREAUTH */
58 #endif /* PREAUTH_H */