aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-01-08 10:08:04 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-08 10:11:14 (GMT)
commit688556722c8b134d74b5041e74677e72237126c9 (patch)
tree27eb94d18ee02e00815ee4da1bba40a23fb2c31a /src/drivers/driver_common.c
parentfadaa7b6130e931c125711b29de85d8edebbcc4f (diff)
downloadhostap-688556722c8b134d74b5041e74677e72237126c9.zip
hostap-688556722c8b134d74b5041e74677e72237126c9.tar.gz
hostap-688556722c8b134d74b5041e74677e72237126c9.tar.bz2
nl80211: More complete processing of connection quality monitor events
This adds processing of beacon loss events and generation of an internal EVENT_BEACON_LOSS event based on them for wpa_supplicant processing. In addition, number of consecutively lost (not acknowledged) packets is now reported and TXE events are noted in the debug log. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/drivers/driver_common.c')
-rw-r--r--src/drivers/driver_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c
index c7107ba..b6bcbca 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -1,6 +1,6 @@
/*
* Common driver-related functions
- * Copyright (c) 2003-2011, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2003-2017, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
@@ -81,6 +81,7 @@ const char * event_to_string(enum wpa_event_type event)
E2S(ACS_CHANNEL_SELECTED);
E2S(DFS_CAC_STARTED);
E2S(P2P_LO_STOP);
+ E2S(BEACON_LOSS);
}
return "UNKNOWN";