xref: /freebsd/contrib/wpa/src/ap/fils_hlp.h (revision 67350cb56a69468c118bd4ccf6e361b7ebfa9eb4)
1*85732ac8SCy Schubert /*
2*85732ac8SCy Schubert  * FILS HLP request processing
3*85732ac8SCy Schubert  * Copyright (c) 2017, Qualcomm Atheros, Inc.
4*85732ac8SCy Schubert  *
5*85732ac8SCy Schubert  * This software may be distributed under the terms of the BSD license.
6*85732ac8SCy Schubert  * See README for more details.
7*85732ac8SCy Schubert  */
8*85732ac8SCy Schubert 
9*85732ac8SCy Schubert #ifndef FILS_HLP_H
10*85732ac8SCy Schubert #define FILS_HLP_H
11*85732ac8SCy Schubert 
12*85732ac8SCy Schubert int fils_process_hlp(struct hostapd_data *hapd, struct sta_info *sta,
13*85732ac8SCy Schubert 		     const u8 *pos, int left);
14*85732ac8SCy Schubert 
15*85732ac8SCy Schubert #ifdef CONFIG_FILS
16*85732ac8SCy Schubert 
17*85732ac8SCy Schubert void fils_hlp_deinit(struct hostapd_data *hapd);
18*85732ac8SCy Schubert 
19*85732ac8SCy Schubert #else /* CONFIG_FILS */
20*85732ac8SCy Schubert 
fils_hlp_deinit(struct hostapd_data * hapd)21*85732ac8SCy Schubert static inline void fils_hlp_deinit(struct hostapd_data *hapd)
22*85732ac8SCy Schubert {
23*85732ac8SCy Schubert }
24*85732ac8SCy Schubert 
25*85732ac8SCy Schubert #endif /* CONFIG_FILS */
26*85732ac8SCy Schubert 
27*85732ac8SCy Schubert #endif /* FILS_HLP_H */
28