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