1780fb4a2SCy Schubert /* 2780fb4a2SCy Schubert * hostapd / Neighboring APs DB 3780fb4a2SCy Schubert * Copyright(c) 2013 - 2016 Intel Mobile Communications GmbH. 4780fb4a2SCy Schubert * Copyright(c) 2011 - 2016 Intel Corporation. All rights reserved. 5780fb4a2SCy Schubert * 6780fb4a2SCy Schubert * This software may be distributed under the terms of the BSD license. 7780fb4a2SCy Schubert * See README for more details. 8780fb4a2SCy Schubert */ 9780fb4a2SCy Schubert 10780fb4a2SCy Schubert #ifndef NEIGHBOR_DB_H 11780fb4a2SCy Schubert #define NEIGHBOR_DB_H 12780fb4a2SCy Schubert 13780fb4a2SCy Schubert struct hostapd_neighbor_entry * 14780fb4a2SCy Schubert hostapd_neighbor_get(struct hostapd_data *hapd, const u8 *bssid, 15780fb4a2SCy Schubert const struct wpa_ssid_value *ssid); 16c1d255d3SCy Schubert int hostapd_neighbor_show(struct hostapd_data *hapd, char *buf, size_t buflen); 17780fb4a2SCy Schubert int hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, 18780fb4a2SCy Schubert const struct wpa_ssid_value *ssid, 19780fb4a2SCy Schubert const struct wpabuf *nr, const struct wpabuf *lci, 204b72b91aSCy Schubert const struct wpabuf *civic, int stationary, 214b72b91aSCy Schubert u8 bss_parameters); 224bc52338SCy Schubert void hostapd_neighbor_set_own_report(struct hostapd_data *hapd); 23*a90b9d01SCy Schubert int hostapd_neighbor_sync_own_report(struct hostapd_data *hapd); 24780fb4a2SCy Schubert int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid, 25780fb4a2SCy Schubert const struct wpa_ssid_value *ssid); 264bc52338SCy Schubert void hostapd_free_neighbor_db(struct hostapd_data *hapd); 27780fb4a2SCy Schubert 28780fb4a2SCy Schubert #endif /* NEIGHBOR_DB_H */ 29