2008-02-27 20:34:43 -05: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 15:59:52 -05:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-27 20:34:43 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BEACON_H
|
|
|
|
#define BEACON_H
|
|
|
|
|
2009-03-25 10:35:26 -04:00
|
|
|
struct ieee80211_mgmt;
|
2009-03-25 10:13:35 -04:00
|
|
|
|
2009-12-13 16:25:30 -05:00
|
|
|
void handle_probe_req(struct hostapd_data *hapd,
|
2012-04-01 11:48:12 -04:00
|
|
|
const struct ieee80211_mgmt *mgmt, size_t len,
|
|
|
|
int ssi_signal);
|
2013-12-24 15:46:20 -05: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 05:28:31 -05: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 12:38:06 -04:00
|
|
|
void sta_track_add(struct hostapd_iface *iface, const u8 *addr);
|
2015-09-05 10:11:11 -04:00
|
|
|
void sta_track_expire(struct hostapd_iface *iface, int force);
|
2015-09-05 12:00:03 -04:00
|
|
|
struct hostapd_data *
|
|
|
|
sta_track_seen_on(struct hostapd_iface *iface, const u8 *addr,
|
|
|
|
const char *ifname);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
#endif /* BEACON_H */
|