2008-02-28 02:34:43 +01:00
|
|
|
/*
|
|
|
|
* hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response
|
|
|
|
* Copyright (c) 2002-2004, Instant802 Networks, Inc.
|
|
|
|
* Copyright (c) 2005-2006, Devicescape Software, Inc.
|
|
|
|
*
|
2013-12-24 21:59:52 +01:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-28 02:34:43 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BEACON_H
|
|
|
|
#define BEACON_H
|
|
|
|
|
2009-03-25 15:35:26 +01:00
|
|
|
struct ieee80211_mgmt;
|
2009-03-25 15:13:35 +01:00
|
|
|
|
2009-12-13 22:25:30 +01:00
|
|
|
void handle_probe_req(struct hostapd_data *hapd,
|
2012-04-01 17:48:12 +02:00
|
|
|
const struct ieee80211_mgmt *mgmt, size_t len,
|
|
|
|
int ssi_signal);
|
2013-12-24 21:46:20 +01:00
|
|
|
int ieee802_11_set_beacon(struct hostapd_data *hapd);
|
|
|
|
int ieee802_11_set_beacons(struct hostapd_iface *iface);
|
|
|
|
int ieee802_11_update_beacons(struct hostapd_iface *iface);
|
2013-11-14 11:28:31 +01:00
|
|
|
int ieee802_11_build_ap_params(struct hostapd_data *hapd,
|
|
|
|
struct wpa_driver_ap_params *params);
|
|
|
|
void ieee802_11_free_ap_params(struct wpa_driver_ap_params *params);
|
2015-09-05 18:38:06 +02:00
|
|
|
void sta_track_add(struct hostapd_iface *iface, const u8 *addr);
|
2015-09-05 16:11:11 +02:00
|
|
|
void sta_track_expire(struct hostapd_iface *iface, int force);
|
2015-09-05 18:00:03 +02:00
|
|
|
struct hostapd_data *
|
|
|
|
sta_track_seen_on(struct hostapd_iface *iface, const u8 *addr,
|
|
|
|
const char *ifname);
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
#endif /* BEACON_H */
|