blob: e381542a8030eb255802d7dbdea926215e46ee6c [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001/*
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 *
Dmitry Shmidtfb79edc2014-01-10 10:45:54 -08006 * This software may be distributed under the terms of the BSD license.
7 * See README for more details.
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07008 */
9
10#ifndef BEACON_H
11#define BEACON_H
12
13struct ieee80211_mgmt;
14
15void handle_probe_req(struct hostapd_data *hapd,
Dmitry Shmidt04949592012-07-19 12:16:46 -070016 const struct ieee80211_mgmt *mgmt, size_t len,
17 int ssi_signal);
Sunil Ravi2a14cf12023-11-21 00:54:38 +000018void ieee802_11_set_beacon_per_bss_only(struct hostapd_data *hapd);
Dmitry Shmidtfb79edc2014-01-10 10:45:54 -080019int ieee802_11_set_beacon(struct hostapd_data *hapd);
20int ieee802_11_set_beacons(struct hostapd_iface *iface);
21int ieee802_11_update_beacons(struct hostapd_iface *iface);
Dmitry Shmidte0e48dc2013-11-18 12:00:06 -080022int ieee802_11_build_ap_params(struct hostapd_data *hapd,
23 struct wpa_driver_ap_params *params);
24void ieee802_11_free_ap_params(struct wpa_driver_ap_params *params);
Dmitry Shmidt9839ecd2016-11-07 11:05:47 -080025void sta_track_add(struct hostapd_iface *iface, const u8 *addr, int ssi_signal);
Dmitry Shmidtaca489e2016-09-28 15:44:14 -070026void sta_track_del(struct hostapd_sta_info *info);
Dmitry Shmidtd80a4012015-11-05 16:35:40 -080027void sta_track_expire(struct hostapd_iface *iface, int force);
28struct hostapd_data *
29sta_track_seen_on(struct hostapd_iface *iface, const u8 *addr,
30 const char *ifname);
Dmitry Shmidtaca489e2016-09-28 15:44:14 -070031void sta_track_claim_taxonomy_info(struct hostapd_iface *iface, const u8 *addr,
32 struct wpabuf **probe_ie_taxonomy);
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070033
Hai Shalom60840252021-02-19 19:02:11 -080034const u8 * hostapd_wpa_ie(struct hostapd_data *hapd, u8 eid);
35
Sunil Ravi7f769292024-07-23 22:21:32 +000036u8 * hostapd_unsol_bcast_probe_resp(struct hostapd_data *hapd,
37 struct unsol_bcast_probe_resp *ubpr);
38
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070039#endif /* BEACON_H */