]> git.ipfire.org Git - thirdparty/hostap.git/blame - src/ap/beacon.h
Fix WPA/RSN IE update on reconfig with set_generic_elem()
[thirdparty/hostap.git] / src / ap / beacon.h
CommitLineData
6fc6879b
JM
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.
5 *
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.
9 *
10 * Alternatively, this software may be distributed under the terms of BSD
11 * license.
12 *
13 * See README and COPYING for more details.
14 */
15
16#ifndef BEACON_H
17#define BEACON_H
18
089757c6 19struct ieee80211_mgmt;
97234b50 20
b57e086c
JM
21void handle_probe_req(struct hostapd_data *hapd,
22 const struct ieee80211_mgmt *mgmt, size_t len);
fe6bdb77 23#ifdef NEED_AP_MLME
6fc6879b
JM
24void ieee802_11_set_beacon(struct hostapd_data *hapd);
25void ieee802_11_set_beacons(struct hostapd_iface *iface);
fe6bdb77 26#else /* NEED_AP_MLME */
9c584c06
JM
27static inline void ieee802_11_set_beacon(struct hostapd_data *hapd)
28{
29}
30
31static inline void ieee802_11_set_beacons(struct hostapd_iface *iface)
32{
33}
fe6bdb77 34#endif /* NEED_AP_MLME */
6fc6879b
JM
35
36#endif /* BEACON_H */