beacon.h revision 214734
1181053Srwatson/* 2180701Srwatson * hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response 3155192Srwatson * Copyright (c) 2002-2004, Instant802 Networks, Inc. 4155192Srwatson * Copyright (c) 2005-2006, Devicescape Software, Inc. 5155192Srwatson * 6155192Srwatson * This program is free software; you can redistribute it and/or modify 7155192Srwatson * it under the terms of the GNU General Public License version 2 as 8155192Srwatson * published by the Free Software Foundation. 9155192Srwatson * 10155192Srwatson * Alternatively, this software may be distributed under the terms of BSD 11155192Srwatson * license. 12155192Srwatson * 13180701Srwatson * See README and COPYING for more details. 14155192Srwatson */ 15155192Srwatson 16155192Srwatson#ifndef BEACON_H 17155192Srwatson#define BEACON_H 18155192Srwatson 19155192Srwatsonstruct ieee80211_mgmt; 20155192Srwatson 21155192Srwatsonvoid handle_probe_req(struct hostapd_data *hapd, 22155192Srwatson const struct ieee80211_mgmt *mgmt, size_t len); 23155192Srwatson#ifdef NEED_AP_MLME 24155192Srwatsonvoid ieee802_11_set_beacon(struct hostapd_data *hapd); 25155192Srwatsonvoid ieee802_11_set_beacons(struct hostapd_iface *iface); 26155192Srwatson#else /* NEED_AP_MLME */ 27155192Srwatsonstatic inline void ieee802_11_set_beacon(struct hostapd_data *hapd) 28155192Srwatson{ 29155192Srwatson} 30155192Srwatson 31155192Srwatsonstatic inline void ieee802_11_set_beacons(struct hostapd_iface *iface) 32155192Srwatson{ 33155192Srwatson} 34155192Srwatson#endif /* NEED_AP_MLME */ 35155192Srwatson 36155192Srwatson#endif /* BEACON_H */ 37156882Srwatson