Standardize on a single definition of auth_alg bitfield values
[hostap-gosc2009.git] / wpa_supplicant / tests / link_test.c
blob3bfbed577d8c045857ae57789d6cc270da4ce188
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 */
7 #include "includes.h"
9 #include "common.h"
12 struct hostapd_data;
13 struct sta_info;
14 struct rsn_pmksa_cache_entry;
15 struct eapol_state_machine;
16 struct hostapd_eap_user;
17 struct hostapd_bss_config;
18 struct hostapd_vlan;
21 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta)
23 return NULL;
27 int 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)
32 return 0;
36 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
37 u32 session_timeout)
42 int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta,
43 int old_vlanid)
45 return 0;
49 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
50 int success)
55 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
56 u8 *buf, size_t len)
61 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta)
66 void pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry,
67 struct eapol_state_machine *eapol)
72 const struct hostapd_eap_user *
73 hostapd_get_eap_user(const struct hostapd_bss_config *conf, const u8 *identity,
74 size_t identity_len, int phase2)
76 return NULL;
80 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id)
82 return NULL;