aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.h
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2011-02-24 14:59:46 (GMT)
committerJouni Malinen <j@w1.fi>2011-02-24 14:59:46 (GMT)
commite29853bbff1eef781099a9108e3b51f26b477ac3 (patch)
tree6a429ddc41628db6441acad2e42801a4b6ccac62 /wpa_supplicant/sme.h
parenteffab86ff2f6b092eff2af3e1e37f46491b66e15 (diff)
downloadhostap-e29853bbff1eef781099a9108e3b51f26b477ac3.zip
hostap-e29853bbff1eef781099a9108e3b51f26b477ac3.tar.gz
hostap-e29853bbff1eef781099a9108e3b51f26b477ac3.tar.bz2
SME: Add timers for authentication and asscoiation
mac80211 authentication or association operation may get stuck for some reasons, so wpa_supplicant better use an internal timer to recover from this. Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'wpa_supplicant/sme.h')
-rw-r--r--wpa_supplicant/sme.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/wpa_supplicant/sme.h b/wpa_supplicant/sme.h
index b5f150d..a59b38d 100644
--- a/wpa_supplicant/sme.h
+++ b/wpa_supplicant/sme.h
@@ -34,9 +34,12 @@ void sme_event_disassoc(struct wpa_supplicant *wpa_s,
union wpa_event_data *data);
void sme_event_unprot_disconnect(struct wpa_supplicant *wpa_s, const u8 *sa,
const u8 *da, u16 reason_code);
-void sme_stop_sa_query(struct wpa_supplicant *wpa_s);
void sme_sa_query_rx(struct wpa_supplicant *wpa_s, const u8 *sa,
const u8 *data, size_t len);
+void sme_state_changed(struct wpa_supplicant *wpa_s);
+void sme_disassoc_while_authenticating(struct wpa_supplicant *wpa_s,
+ const u8 *prev_pending_bssid);
+void sme_deinit(struct wpa_supplicant *wpa_s);
#else /* CONFIG_SME */
@@ -84,6 +87,20 @@ static inline void sme_event_unprot_disconnect(struct wpa_supplicant *wpa_s,
{
}
+static inline void sme_state_changed(struct wpa_supplicant *wpa_s)
+{
+}
+
+static inline void
+sme_disassoc_while_authenticating(struct wpa_supplicant *wpa_s,
+ const u8 *prev_pending_bssid)
+{
+}
+
+static inline void sme_deinit(struct wpa_supplicant *wpa_s)
+{
+}
+
#endif /* CONFIG_SME */
#endif /* SME_H */