aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-04-08 16:37:08 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-08 21:30:49 (GMT)
commit1854eeca19e0e83a4d8d1cf055be39e8b8d80655 (patch)
treec68b66c2e75d1f595ff8289028cf1b3d66624b82 /src/ap/ieee802_11.c
parent36533aff3c339a1d8bfee89e2c98756d85d5eb0f (diff)
downloadhostap-1854eeca19e0e83a4d8d1cf055be39e8b8d80655.zip
hostap-1854eeca19e0e83a4d8d1cf055be39e8b8d80655.tar.gz
hostap-1854eeca19e0e83a4d8d1cf055be39e8b8d80655.tar.bz2
Add POLL_STA command to check connectivity in AP mode
The hostapd "POLL_STA <addr>" control interface command can be used to check whether an associated station ACKs a QoS Data frame. The received ACK for such a frame is reported as an event message ("AP-STA-POLL-OK <addr>"). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/ieee802_11.c')
-rw-r--r--src/ap/ieee802_11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index aa2b965..fa0e6a3 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -3013,6 +3013,8 @@ void hostapd_client_poll_ok(struct hostapd_data *hapd, const u8 *addr)
}
if (sta == NULL)
return;
+ wpa_msg(hapd->msg_ctx, MSG_INFO, AP_STA_POLL_OK MACSTR,
+ MAC2STR(sta->addr));
if (!(sta->flags & WLAN_STA_PENDING_POLL))
return;