00001 /* 00002 * hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response 00003 * Copyright (c) 2002-2004, Instant802 Networks, Inc. 00004 * Copyright (c) 2005-2006, Devicescape Software, Inc. 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License version 2 as 00008 * published by the Free Software Foundation. 00009 * 00010 * Alternatively, this software may be distributed under the terms of BSD 00011 * license. 00012 * 00013 * See README and COPYING for more details. 00014 */ 00015 00016 #ifndef BEACON_H 00017 #define BEACON_H 00018 00019 struct ieee80211_mgmt; 00020 00021 void handle_probe_req(struct hostapd_data *hapd, 00022 const struct ieee80211_mgmt *mgmt, size_t len); 00023 #ifdef NEED_AP_MLME 00024 void ieee802_11_set_beacon(struct hostapd_data *hapd); 00025 void ieee802_11_set_beacons(struct hostapd_iface *iface); 00026 #else /* NEED_AP_MLME */ 00027 static inline void ieee802_11_set_beacon(struct hostapd_data *hapd) 00028 { 00029 } 00030 00031 static inline void ieee802_11_set_beacons(struct hostapd_iface *iface) 00032 { 00033 } 00034 #endif /* NEED_AP_MLME */ 00035 00036 #endif /* BEACON_H */