1e28a4053SRui Paulo /* 2e28a4053SRui Paulo * hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response 3e28a4053SRui Paulo * Copyright (c) 2002-2004, Instant802 Networks, Inc. 4e28a4053SRui Paulo * Copyright (c) 2005-2006, Devicescape Software, Inc. 5e28a4053SRui Paulo * 65b9c547cSRui Paulo * This software may be distributed under the terms of the BSD license. 75b9c547cSRui Paulo * See README for more details. 8e28a4053SRui Paulo */ 9e28a4053SRui Paulo 10e28a4053SRui Paulo #ifndef BEACON_H 11e28a4053SRui Paulo #define BEACON_H 12e28a4053SRui Paulo 13e28a4053SRui Paulo struct ieee80211_mgmt; 14e28a4053SRui Paulo 15e28a4053SRui Paulo void handle_probe_req(struct hostapd_data *hapd, 16f05cddf9SRui Paulo const struct ieee80211_mgmt *mgmt, size_t len, 17f05cddf9SRui Paulo int ssi_signal); 18*a90b9d01SCy Schubert void ieee802_11_set_beacon_per_bss_only(struct hostapd_data *hapd); 195b9c547cSRui Paulo int ieee802_11_set_beacon(struct hostapd_data *hapd); 205b9c547cSRui Paulo int ieee802_11_set_beacons(struct hostapd_iface *iface); 215b9c547cSRui Paulo int ieee802_11_update_beacons(struct hostapd_iface *iface); 225b9c547cSRui Paulo int ieee802_11_build_ap_params(struct hostapd_data *hapd, 235b9c547cSRui Paulo struct wpa_driver_ap_params *params); 245b9c547cSRui Paulo void ieee802_11_free_ap_params(struct wpa_driver_ap_params *params); 2585732ac8SCy Schubert void sta_track_add(struct hostapd_iface *iface, const u8 *addr, int ssi_signal); 26780fb4a2SCy Schubert void sta_track_del(struct hostapd_sta_info *info); 27325151a3SRui Paulo void sta_track_expire(struct hostapd_iface *iface, int force); 28325151a3SRui Paulo struct hostapd_data * 29325151a3SRui Paulo sta_track_seen_on(struct hostapd_iface *iface, const u8 *addr, 30325151a3SRui Paulo const char *ifname); 31780fb4a2SCy Schubert void sta_track_claim_taxonomy_info(struct hostapd_iface *iface, const u8 *addr, 32780fb4a2SCy Schubert struct wpabuf **probe_ie_taxonomy); 33e28a4053SRui Paulo 34c1d255d3SCy Schubert const u8 * hostapd_wpa_ie(struct hostapd_data *hapd, u8 eid); 35c1d255d3SCy Schubert 36*a90b9d01SCy Schubert u8 * hostapd_unsol_bcast_probe_resp(struct hostapd_data *hapd, 37*a90b9d01SCy Schubert struct unsol_bcast_probe_resp *ubpr); 38*a90b9d01SCy Schubert 39e28a4053SRui Paulo #endif /* BEACON_H */ 40