aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-10-20 18:03:08 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-20 18:03:08 (GMT)
commitbcf24348ed32c2f9b24cc575c32f83db3dc9cba1 (patch)
tree6a224d6f0c9149197409de74a3f6d08db727a90b /wpa_supplicant/ap.h
parent7a25f29d890f56c4df81143f8b5eb42fb5eeeb07 (diff)
downloadhostap-bcf24348ed32c2f9b24cc575c32f83db3dc9cba1.zip
hostap-bcf24348ed32c2f9b24cc575c32f83db3dc9cba1.tar.gz
hostap-bcf24348ed32c2f9b24cc575c32f83db3dc9cba1.tar.bz2
AP: Do station poll in driver wrapper
This offloads the station polling to driver wrappers, which may offload it again to the driver. The hostap driver wrapper uses "real" data frames while nl80211 uses null data frames. Also add a specific event to indicate that a poll was successful for future use with the nl80211 driver.
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index b913be3..b94ead7 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -41,6 +41,7 @@ int ap_ctrl_iface_wpa_get_status(struct wpa_supplicant *wpa_s, char *buf,
size_t buflen, int verbose);
void ap_tx_status(void *ctx, const u8 *addr,
const u8 *buf, size_t len, int ack);
+void ap_client_poll_ok(void *ctx, const u8 *addr);
void ap_rx_from_unknown_sta(void *ctx, const u8 *frame, size_t len);
void ap_mgmt_rx(void *ctx, struct rx_mgmt *rx_mgmt);
void ap_mgmt_tx_cb(void *ctx, const u8 *buf, size_t len, u16 stype, int ok);