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_show(struct hostapd_data *hapd, char *buf, size_t buflen); 17 int hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, 18 const struct wpa_ssid_value *ssid, 19 const struct wpabuf *nr, const struct wpabuf *lci, 20 const struct wpabuf *civic, int stationary, 21 u8 bss_parameters); 22 void hostapd_neighbor_set_own_report(struct hostapd_data *hapd); 23 int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid, 24 const struct wpa_ssid_value *ssid); 25 void hostapd_free_neighbor_db(struct hostapd_data *hapd); 26 27 #endif /* NEIGHBOR_DB_H */ 28