12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef PREAUTH_H
- #define PREAUTH_H
- #ifdef CONFIG_RSN_PREAUTH
- int rsn_preauth_iface_init(struct hostapd_data *hapd);
- void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
- void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
- int success);
- void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
- u8 *buf, size_t len);
- void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
- #else
- static inline int rsn_preauth_iface_init(struct hostapd_data *hapd)
- {
- return 0;
- }
- static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd)
- {
- }
- static inline void rsn_preauth_finished(struct hostapd_data *hapd,
- struct sta_info *sta,
- int success)
- {
- }
- static inline void rsn_preauth_send(struct hostapd_data *hapd,
- struct sta_info *sta,
- u8 *buf, size_t len)
- {
- }
- static inline void rsn_preauth_free_station(struct hostapd_data *hapd,
- struct sta_info *sta)
- {
- }
- #endif
- #endif
|