2016-04-06 18:42:07 +02:00
|
|
|
/*
|
|
|
|
* hostapd / Neighboring APs DB
|
|
|
|
* Copyright(c) 2013 - 2016 Intel Mobile Communications GmbH.
|
|
|
|
* Copyright(c) 2011 - 2016 Intel Corporation. All rights reserved.
|
|
|
|
*
|
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NEIGHBOR_DB_H
|
|
|
|
#define NEIGHBOR_DB_H
|
|
|
|
|
2016-04-06 18:42:12 +02:00
|
|
|
struct hostapd_neighbor_entry *
|
|
|
|
hostapd_neighbor_get(struct hostapd_data *hapd, const u8 *bssid,
|
|
|
|
const struct wpa_ssid_value *ssid);
|
2019-03-19 18:09:50 +01:00
|
|
|
int hostapd_neighbor_show(struct hostapd_data *hapd, char *buf, size_t buflen);
|
2016-04-06 18:42:07 +02:00
|
|
|
int hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid,
|
|
|
|
const struct wpa_ssid_value *ssid,
|
|
|
|
const struct wpabuf *nr, const struct wpabuf *lci,
|
2021-07-28 01:42:17 +02:00
|
|
|
const struct wpabuf *civic, int stationary,
|
|
|
|
u8 bss_parameters);
|
2018-08-20 14:20:44 +02:00
|
|
|
void hostapd_neighbor_set_own_report(struct hostapd_data *hapd);
|
2016-04-06 18:42:07 +02:00
|
|
|
int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid,
|
|
|
|
const struct wpa_ssid_value *ssid);
|
2019-01-02 15:40:34 +01:00
|
|
|
void hostapd_free_neighbor_db(struct hostapd_data *hapd);
|
2016-04-06 18:42:07 +02:00
|
|
|
|
|
|
|
#endif /* NEIGHBOR_DB_H */
|