xref: /freebsd/contrib/wpa/src/ap/neighbor_db.h (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1 /*
2  * hostapd / Neighboring APs DB
3  * Copyright(c) 2013 - 2016 Intel Mobile Communications GmbH.
4  * Copyright(c) 2011 - 2016 Intel Corporation. All rights reserved.
5  *
6  * This software may be distributed under the terms of the BSD license.
7  * See README for more details.
8  */
9 
10 #ifndef NEIGHBOR_DB_H
11 #define NEIGHBOR_DB_H
12 
13 struct hostapd_neighbor_entry *
14 hostapd_neighbor_get(struct hostapd_data *hapd, const u8 *bssid,
15 		     const struct wpa_ssid_value *ssid);
16 int hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid,
17 			 const struct wpa_ssid_value *ssid,
18 			 const struct wpabuf *nr, const struct wpabuf *lci,
19 			 const struct wpabuf *civic, int stationary);
20 void hostapd_neighbor_set_own_report(struct hostapd_data *hapd);
21 int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid,
22 			    const struct wpa_ssid_value *ssid);
23 void hostapd_free_neighbor_db(struct hostapd_data *hapd);
24 
25 #endif /* NEIGHBOR_DB_H */
26