1/* 2 * Dummy functions to allow link_test to be linked. The need for these 3 * functions should be removed to allow IEEE 802.1X/EAPOL authenticator to 4 * be built outside hostapd. 5 */ 6 7#include "includes.h" 8 9#include "common.h" 10 11 12struct hostapd_data; 13struct sta_info; 14struct rsn_pmksa_cache_entry; 15struct eapol_state_machine; 16struct hostapd_eap_user; 17struct hostapd_bss_config; 18struct hostapd_vlan; 19 20 21struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) 22{ 23 return NULL; 24} 25 26 27int ap_for_each_sta(struct hostapd_data *hapd, 28 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 29 void *ctx), 30 void *ctx) 31{ 32 return 0; 33} 34 35 36void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, 37 u32 session_timeout) 38{ 39} 40 41 42int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta, 43 int old_vlanid) 44{ 45 return 0; 46} 47 48 49void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, 50 int success) 51{ 52} 53 54 55void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, 56 u8 *buf, size_t len) 57{ 58} 59 60 61void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) 62{ 63} 64 65 66void pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, 67 struct eapol_state_machine *eapol) 68{ 69} 70 71 72const struct hostapd_eap_user * 73hostapd_get_eap_user(const struct hostapd_bss_config *conf, const u8 *identity, 74 size_t identity_len, int phase2) 75{ 76 return NULL; 77} 78 79 80const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) 81{ 82 return NULL; 83} 84