2 * hostapd - Authenticator for IEEE 802.11i RSN pre-authentication
3 * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
12 #ifdef CONFIG_RSN_PREAUTH
14 int rsn_preauth_iface_init(struct hostapd_data *hapd);
15 void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
16 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
18 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
20 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
22 #else /* CONFIG_RSN_PREAUTH */
24 static inline int rsn_preauth_iface_init(struct hostapd_data *hapd)
29 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd)
33 static inline void rsn_preauth_finished(struct hostapd_data *hapd,
39 static inline void rsn_preauth_send(struct hostapd_data *hapd,
45 static inline void rsn_preauth_free_station(struct hostapd_data *hapd,
50 #endif /* CONFIG_RSN_PREAUTH */
52 #endif /* PREAUTH_H */