18d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt/* 28d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response 38d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * Copyright (c) 2002-2004, Instant802 Networks, Inc. 48d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * Copyright (c) 2005-2006, Devicescape Software, Inc. 58d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * 6fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidt * This software may be distributed under the terms of the BSD license. 7fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidt * See README for more details. 88d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt */ 98d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 108d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt#ifndef BEACON_H 118d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt#define BEACON_H 128d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 138d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtstruct ieee80211_mgmt; 148d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 158d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtvoid handle_probe_req(struct hostapd_data *hapd, 1604949598a23f501be6eec21697465fd46a28840aDmitry Shmidt const struct ieee80211_mgmt *mgmt, size_t len, 1704949598a23f501be6eec21697465fd46a28840aDmitry Shmidt int ssi_signal); 18fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidtint ieee802_11_set_beacon(struct hostapd_data *hapd); 19fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidtint ieee802_11_set_beacons(struct hostapd_iface *iface); 20fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidtint ieee802_11_update_beacons(struct hostapd_iface *iface); 21e0e48dc666fb14a7bb60264ca87463ba7bc1fe0bDmitry Shmidtint ieee802_11_build_ap_params(struct hostapd_data *hapd, 22e0e48dc666fb14a7bb60264ca87463ba7bc1fe0bDmitry Shmidt struct wpa_driver_ap_params *params); 23e0e48dc666fb14a7bb60264ca87463ba7bc1fe0bDmitry Shmidtvoid ieee802_11_free_ap_params(struct wpa_driver_ap_params *params); 24d80a401aed31d06f261efd19223cf55d1a2a8228Dmitry Shmidtvoid sta_track_add(struct hostapd_iface *iface, const u8 *addr); 25d80a401aed31d06f261efd19223cf55d1a2a8228Dmitry Shmidtvoid sta_track_expire(struct hostapd_iface *iface, int force); 26d80a401aed31d06f261efd19223cf55d1a2a8228Dmitry Shmidtstruct hostapd_data * 27d80a401aed31d06f261efd19223cf55d1a2a8228Dmitry Shmidtsta_track_seen_on(struct hostapd_iface *iface, const u8 *addr, 28d80a401aed31d06f261efd19223cf55d1a2a8228Dmitry Shmidt const char *ifname); 298d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 308d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt#endif /* BEACON_H */ 31