]> git.ipfire.org Git - thirdparty/hostap.git/blob - src/ap/beacon.h
Use secondary channel provided by ACS for HT40 if valid
[thirdparty/hostap.git] / src / ap / beacon.h
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 software may be distributed under the terms of the BSD license.
7 * See README for more details.
8 */
9
10 #ifndef BEACON_H
11 #define BEACON_H
12
13 struct ieee80211_mgmt;
14
15 void handle_probe_req(struct hostapd_data *hapd,
16 const struct ieee80211_mgmt *mgmt, size_t len,
17 int ssi_signal);
18 int ieee802_11_set_beacon(struct hostapd_data *hapd);
19 int ieee802_11_set_beacons(struct hostapd_iface *iface);
20 int ieee802_11_update_beacons(struct hostapd_iface *iface);
21 int ieee802_11_build_ap_params(struct hostapd_data *hapd,
22 struct wpa_driver_ap_params *params);
23 void ieee802_11_free_ap_params(struct wpa_driver_ap_params *params);
24 void sta_track_add(struct hostapd_iface *iface, const u8 *addr, int ssi_signal);
25 void sta_track_del(struct hostapd_sta_info *info);
26 void sta_track_expire(struct hostapd_iface *iface, int force);
27 struct hostapd_data *
28 sta_track_seen_on(struct hostapd_iface *iface, const u8 *addr,
29 const char *ifname);
30 void sta_track_claim_taxonomy_info(struct hostapd_iface *iface, const u8 *addr,
31 struct wpabuf **probe_ie_taxonomy);
32
33 #endif /* BEACON_H */