3 * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
20 void sme_authenticate(struct wpa_supplicant *wpa_s,
21 struct wpa_scan_res *bss, struct wpa_ssid *ssid);
22 void sme_event_auth(struct wpa_supplicant *wpa_s, union wpa_event_data *data);
23 int sme_update_ft_ies(struct wpa_supplicant *wpa_s, const u8 *md,
24 const u8 *ies, size_t ies_len);
25 void sme_event_assoc_reject(struct wpa_supplicant *wpa_s,
26 union wpa_event_data *data);
27 void sme_event_auth_timed_out(struct wpa_supplicant *wpa_s,
28 union wpa_event_data *data);
29 void sme_event_assoc_timed_out(struct wpa_supplicant *wpa_s,
30 union wpa_event_data *data);
32 #else /* CONFIG_SME */
34 static inline void sme_authenticate(struct wpa_supplicant *wpa_s,
35 struct wpa_scan_res *bss,
36 struct wpa_ssid *ssid)
40 static inline void sme_event_auth(struct wpa_supplicant *wpa_s,
41 union wpa_event_data *data)
45 static inline int sme_update_ft_ies(struct wpa_supplicant *wpa_s, const u8 *md,
46 const u8 *ies, size_t ies_len)
52 static inline void sme_event_assoc_reject(struct wpa_supplicant *wpa_s,
53 union wpa_event_data *data)
57 static inline void sme_event_auth_timed_out(struct wpa_supplicant *wpa_s,
58 union wpa_event_data *data)
62 static inline void sme_event_assoc_timed_out(struct wpa_supplicant *wpa_s,
63 union wpa_event_data *data)
67 #endif /* CONFIG_SME */