$search
00001 /* 00002 * Dummy functions to allow link_test to be linked. The need for these 00003 * functions should be removed to allow IEEE 802.1X/EAPOL authenticator to 00004 * be built outside hostapd. 00005 */ 00006 00007 #include "includes.h" 00008 00009 #include "common.h" 00010 00011 00012 struct hostapd_data; 00013 struct sta_info; 00014 struct rsn_pmksa_cache_entry; 00015 struct eapol_state_machine; 00016 struct hostapd_eap_user; 00017 struct hostapd_bss_config; 00018 struct hostapd_vlan; 00019 00020 00021 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) 00022 { 00023 return NULL; 00024 } 00025 00026 00027 int ap_for_each_sta(struct hostapd_data *hapd, 00028 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 00029 void *ctx), 00030 void *ctx) 00031 { 00032 return 0; 00033 } 00034 00035 00036 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, 00037 u32 session_timeout) 00038 { 00039 } 00040 00041 00042 int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta, 00043 int old_vlanid) 00044 { 00045 return 0; 00046 } 00047 00048 00049 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, 00050 int success) 00051 { 00052 } 00053 00054 00055 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, 00056 u8 *buf, size_t len) 00057 { 00058 } 00059 00060 00061 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) 00062 { 00063 } 00064 00065 00066 void pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, 00067 struct eapol_state_machine *eapol) 00068 { 00069 } 00070 00071 00072 const struct hostapd_eap_user * 00073 hostapd_get_eap_user(const struct hostapd_bss_config *conf, const u8 *identity, 00074 size_t identity_len, int phase2) 00075 { 00076 return NULL; 00077 } 00078 00079 00080 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) 00081 { 00082 return NULL; 00083 }