1189251Ssam/* 2189251Ssam * Dummy functions to allow link_test to be linked. The need for these 3189251Ssam * functions should be removed to allow IEEE 802.1X/EAPOL authenticator to 4189251Ssam * be built outside hostapd. 5189251Ssam */ 6189251Ssam 7189251Ssam#include "includes.h" 8189251Ssam 9189251Ssam#include "common.h" 10189251Ssam 11189251Ssam 12189251Ssamstruct hostapd_data; 13189251Ssamstruct sta_info; 14189251Ssamstruct rsn_pmksa_cache_entry; 15189251Ssamstruct eapol_state_machine; 16189251Ssamstruct hostapd_eap_user; 17189251Ssamstruct hostapd_bss_config; 18189251Ssamstruct hostapd_vlan; 19189251Ssam 20189251Ssam 21189251Ssamstruct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) 22189251Ssam{ 23189251Ssam return NULL; 24189251Ssam} 25189251Ssam 26189251Ssam 27189251Ssamint ap_for_each_sta(struct hostapd_data *hapd, 28189251Ssam int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 29189251Ssam void *ctx), 30189251Ssam void *ctx) 31189251Ssam{ 32189251Ssam return 0; 33189251Ssam} 34189251Ssam 35189251Ssam 36189251Ssamvoid ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, 37189251Ssam u32 session_timeout) 38189251Ssam{ 39189251Ssam} 40189251Ssam 41189251Ssam 42189251Ssamint ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta, 43189251Ssam int old_vlanid) 44189251Ssam{ 45189251Ssam return 0; 46189251Ssam} 47189251Ssam 48189251Ssam 49189251Ssamvoid rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, 50189251Ssam int success) 51189251Ssam{ 52189251Ssam} 53189251Ssam 54189251Ssam 55189251Ssamvoid rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, 56189251Ssam u8 *buf, size_t len) 57189251Ssam{ 58189251Ssam} 59189251Ssam 60189251Ssam 61189251Ssamvoid accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) 62189251Ssam{ 63189251Ssam} 64189251Ssam 65189251Ssam 66189251Ssamvoid pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, 67189251Ssam struct eapol_state_machine *eapol) 68189251Ssam{ 69189251Ssam} 70189251Ssam 71189251Ssam 72189251Ssamconst struct hostapd_eap_user * 73189251Ssamhostapd_get_eap_user(const struct hostapd_bss_config *conf, const u8 *identity, 74189251Ssam size_t identity_len, int phase2) 75189251Ssam{ 76189251Ssam return NULL; 77189251Ssam} 78189251Ssam 79189251Ssam 80189251Ssamconst char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) 81189251Ssam{ 82189251Ssam return NULL; 83189251Ssam} 84