xref: /freebsd/contrib/wpa/src/ap/ap_mlme.h (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
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 software may be distributed under the terms of the BSD license.
8  * See README for more details.
9  */
10 
11 #ifndef MLME_H
12 #define MLME_H
13 
14 void mlme_authenticate_indication(struct hostapd_data *hapd,
15 				  struct sta_info *sta);
16 
17 void mlme_deauthenticate_indication(struct hostapd_data *hapd,
18 				    struct sta_info *sta, u16 reason_code);
19 
20 void mlme_associate_indication(struct hostapd_data *hapd,
21 			       struct sta_info *sta);
22 
23 void mlme_reassociate_indication(struct hostapd_data *hapd,
24 				 struct sta_info *sta);
25 
26 void mlme_disassociate_indication(struct hostapd_data *hapd,
27 				  struct sta_info *sta, u16 reason_code);
28 
29 void mlme_michaelmicfailure_indication(struct hostapd_data *hapd,
30 				       const u8 *addr);
31 
32 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta);
33 
34 #endif /* MLME_H */
35