Use common driver code for Linux hwaddr get/set
[hostap-gosc2009.git] / src / ap / beacon.h
blobc1510e1942540d1f709b23ba2e98d7337d18682b
1 /*
2 * hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response
3 * Copyright (c) 2002-2004, Instant802 Networks, Inc.
4 * Copyright (c) 2005-2006, Devicescape Software, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * Alternatively, this software may be distributed under the terms of BSD
11 * license.
13 * See README and COPYING for more details.
16 #ifndef BEACON_H
17 #define BEACON_H
19 struct ieee80211_mgmt;
21 void handle_probe_req(struct hostapd_data *hapd,
22 const struct ieee80211_mgmt *mgmt, size_t len);
23 #ifdef NEED_AP_MLME
24 void ieee802_11_set_beacon(struct hostapd_data *hapd);
25 void ieee802_11_set_beacons(struct hostapd_iface *iface);
26 #else /* NEED_AP_MLME */
27 static inline void ieee802_11_set_beacon(struct hostapd_data *hapd)
31 static inline void ieee802_11_set_beacons(struct hostapd_iface *iface)
34 #endif /* NEED_AP_MLME */
36 #endif /* BEACON_H */