mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-27 01:38:37 -05:00
1057d78eb8
This code can be shared by both hostapd and wpa_supplicant and this is an initial step in getting the generic code moved to be under the src directories. Couple of generic files still remain under the hostapd directory due to direct dependencies to files there. Once the dependencies have been removed, they will also be moved to the src/ap directory to allow wpa_supplicant to be built without requiring anything from the hostapd directory.
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
/*
|
|
* hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response
|
|
* Copyright (c) 2002-2004, Instant802 Networks, Inc.
|
|
* Copyright (c) 2005-2006, Devicescape Software, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
* license.
|
|
*
|
|
* See README and COPYING for more details.
|
|
*/
|
|
|
|
#ifndef BEACON_H
|
|
#define BEACON_H
|
|
|
|
struct ieee80211_mgmt;
|
|
|
|
void handle_probe_req(struct hostapd_data *hapd,
|
|
const struct ieee80211_mgmt *mgmt, size_t len);
|
|
#ifdef NEED_AP_MLME
|
|
void ieee802_11_set_beacon(struct hostapd_data *hapd);
|
|
void ieee802_11_set_beacons(struct hostapd_iface *iface);
|
|
#else /* NEED_AP_MLME */
|
|
static inline void ieee802_11_set_beacon(struct hostapd_data *hapd)
|
|
{
|
|
}
|
|
|
|
static inline void ieee802_11_set_beacons(struct hostapd_iface *iface)
|
|
{
|
|
}
|
|
#endif /* NEED_AP_MLME */
|
|
|
|
#endif /* BEACON_H */
|