wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
preauth_auth.h
Go to the documentation of this file.
1 
5 #ifndef PREAUTH_H
6 #define PREAUTH_H
7 
8 #ifdef CONFIG_RSN_PREAUTH
9 
10 int rsn_preauth_iface_init(struct hostapd_data *hapd);
11 void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
12 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
13  int success);
14 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
15  u8 *buf, size_t len);
16 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
17 
18 #else /* CONFIG_RSN_PREAUTH */
19 
20 static inline int rsn_preauth_iface_init(struct hostapd_data *hapd)
21 {
22  return 0;
23 }
24 
25 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd)
26 {
27 }
28 
29 static inline void rsn_preauth_finished(struct hostapd_data *hapd,
30  struct sta_info *sta,
31  int success)
32 {
33 }
34 
35 static inline void rsn_preauth_send(struct hostapd_data *hapd,
36  struct sta_info *sta,
37  u8 *buf, size_t len)
38 {
39 }
40 
41 static inline void rsn_preauth_free_station(struct hostapd_data *hapd,
42  struct sta_info *sta)
43 {
44 }
45 
46 #endif /* CONFIG_RSN_PREAUTH */
47 
48 #endif /* PREAUTH_H */
Definition: sta_info.h:44
hostapd per-BSS data structure
Definition: hostapd.h:103