xref: /freebsd/contrib/wpa/src/ap/neighbor_db.h (revision 190cef3d52236565eb22e18b33e9e865ec634aa3)
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);
20 int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid,
21 			    const struct wpa_ssid_value *ssid);
22 void hostpad_free_neighbor_db(struct hostapd_data *hapd);
23 
24 #endif /* NEIGHBOR_DB_H */
25