ap_mlme.h revision 8d520ff1dc2da35cdca849e982051b86468016d8
1/*
2 * hostapd / IEEE 802.11 MLME
3 * Copyright 2003, Jouni Malinen <j@w1.fi>
4 * Copyright 2003-2004, Instant802 Networks, Inc.
5 * Copyright 2005-2006, Devicescape Software, Inc.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * Alternatively, this software may be distributed under the terms of BSD
12 * license.
13 *
14 * See README and COPYING for more details.
15 */
16
17#ifndef MLME_H
18#define MLME_H
19
20void mlme_authenticate_indication(struct hostapd_data *hapd,
21				  struct sta_info *sta);
22
23void mlme_deauthenticate_indication(struct hostapd_data *hapd,
24				    struct sta_info *sta, u16 reason_code);
25
26void mlme_associate_indication(struct hostapd_data *hapd,
27			       struct sta_info *sta);
28
29void mlme_reassociate_indication(struct hostapd_data *hapd,
30				 struct sta_info *sta);
31
32void mlme_disassociate_indication(struct hostapd_data *hapd,
33				  struct sta_info *sta, u16 reason_code);
34
35void mlme_michaelmicfailure_indication(struct hostapd_data *hapd,
36				       const u8 *addr);
37
38void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta);
39
40#endif /* MLME_H */
41