beacon.h revision 214501
1214501Srpaulo/*
2214501Srpaulo * hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response
3214501Srpaulo * Copyright (c) 2002-2004, Instant802 Networks, Inc.
4214501Srpaulo * Copyright (c) 2005-2006, Devicescape Software, Inc.
5214501Srpaulo *
6214501Srpaulo * This program is free software; you can redistribute it and/or modify
7214501Srpaulo * it under the terms of the GNU General Public License version 2 as
8214501Srpaulo * published by the Free Software Foundation.
9214501Srpaulo *
10214501Srpaulo * Alternatively, this software may be distributed under the terms of BSD
11214501Srpaulo * license.
12214501Srpaulo *
13214501Srpaulo * See README and COPYING for more details.
14214501Srpaulo */
15214501Srpaulo
16214501Srpaulo#ifndef BEACON_H
17214501Srpaulo#define BEACON_H
18214501Srpaulo
19214501Srpaulostruct ieee80211_mgmt;
20214501Srpaulo
21214501Srpaulovoid handle_probe_req(struct hostapd_data *hapd,
22214501Srpaulo		      const struct ieee80211_mgmt *mgmt, size_t len);
23214501Srpaulo#ifdef NEED_AP_MLME
24214501Srpaulovoid ieee802_11_set_beacon(struct hostapd_data *hapd);
25214501Srpaulovoid ieee802_11_set_beacons(struct hostapd_iface *iface);
26214501Srpaulo#else /* NEED_AP_MLME */
27214501Srpaulostatic inline void ieee802_11_set_beacon(struct hostapd_data *hapd)
28214501Srpaulo{
29214501Srpaulo}
30214501Srpaulo
31214501Srpaulostatic inline void ieee802_11_set_beacons(struct hostapd_iface *iface)
32214501Srpaulo{
33214501Srpaulo}
34214501Srpaulo#endif /* NEED_AP_MLME */
35214501Srpaulo
36214501Srpaulo#endif /* BEACON_H */
37