xref: /freebsd/contrib/wpa/src/ap/taxonomy.h (revision 780fb4a2fa9a9aee5ac48a60b790f567c0dc13e9)
1*780fb4a2SCy Schubert /*
2*780fb4a2SCy Schubert  * hostapd / Station client taxonomy
3*780fb4a2SCy Schubert  * Copyright (c) 2015 Google, Inc.
4*780fb4a2SCy Schubert  *
5*780fb4a2SCy Schubert  * This software may be distributed under the terms of the BSD license.
6*780fb4a2SCy Schubert  * See README for more details.
7*780fb4a2SCy Schubert  */
8*780fb4a2SCy Schubert 
9*780fb4a2SCy Schubert #ifndef TAXONOMY_H
10*780fb4a2SCy Schubert #define TAXONOMY_H
11*780fb4a2SCy Schubert 
12*780fb4a2SCy Schubert void taxonomy_sta_info_probe_req(const struct hostapd_data *hapd,
13*780fb4a2SCy Schubert 				 struct sta_info *sta,
14*780fb4a2SCy Schubert 				 const u8 *ie, size_t ie_len);
15*780fb4a2SCy Schubert void taxonomy_hostapd_sta_info_probe_req(const struct hostapd_data *hapd,
16*780fb4a2SCy Schubert 					 struct hostapd_sta_info *sta,
17*780fb4a2SCy Schubert 					 const u8 *ie, size_t ie_len);
18*780fb4a2SCy Schubert void taxonomy_sta_info_assoc_req(const struct hostapd_data *hapd,
19*780fb4a2SCy Schubert 				 struct sta_info *sta,
20*780fb4a2SCy Schubert 				 const u8 *ie, size_t ie_len);
21*780fb4a2SCy Schubert int retrieve_sta_taxonomy(const struct hostapd_data *hapd,
22*780fb4a2SCy Schubert 			  struct sta_info *sta, char *buf, size_t buflen);
23*780fb4a2SCy Schubert 
24*780fb4a2SCy Schubert #endif /* TAXONOMY_H */
25