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.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
|
|
* license.
|
|
|
|
*
|
|
|
|
* See README and COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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
|
|
|
|
2008-02-27 20:34:43 -05:00
|
|
|
void handle_probe_req(struct hostapd_data *hapd, struct ieee80211_mgmt *mgmt,
|
|
|
|
size_t len);
|
2009-08-14 13:01:41 -04:00
|
|
|
#ifdef NEED_AP_MLME
|
2008-02-27 20:34:43 -05:00
|
|
|
void ieee802_11_set_beacon(struct hostapd_data *hapd);
|
|
|
|
void ieee802_11_set_beacons(struct hostapd_iface *iface);
|
2009-08-14 13:01:41 -04:00
|
|
|
#else /* NEED_AP_MLME */
|
2009-01-08 11:40:14 -05:00
|
|
|
static inline void ieee802_11_set_beacon(struct hostapd_data *hapd)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline void ieee802_11_set_beacons(struct hostapd_iface *iface)
|
|
|
|
{
|
|
|
|
}
|
2009-08-14 13:01:41 -04:00
|
|
|
#endif /* NEED_AP_MLME */
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
#endif /* BEACON_H */
|