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