aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2018-01-28 12:45:35 (GMT)
committerJouni Malinen <j@w1.fi>2018-02-17 16:39:41 (GMT)
commit0a20bd7d91525b431fff7013974850537f2d8f12 (patch)
tree9944dbd4c7977ef2b06b5d83080bc423af79158c /src/drivers/driver_common.c
parent05fc7c68f6a9a7149b45241cf63cbc0cae28bdf4 (diff)
downloadhostap-0a20bd7d91525b431fff7013974850537f2d8f12.zip
hostap-0a20bd7d91525b431fff7013974850537f2d8f12.tar.gz
hostap-0a20bd7d91525b431fff7013974850537f2d8f12.tar.bz2
driver: Add port authorized event
Add an event that indicates that the 4 way handshake was completed by the driver. This event is useful for networks that require 802.1X authentication. The driver can use this event that a new connection is already authorized (e.g. when the driver used PMKSA caching) and 802.1X authentication is not required. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'src/drivers/driver_common.c')
-rw-r--r--src/drivers/driver_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c
index 33a6db3..e4806ad 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -83,6 +83,7 @@ const char * event_to_string(enum wpa_event_type event)
E2S(BEACON_LOSS);
E2S(DFS_PRE_CAC_EXPIRED);
E2S(EXTERNAL_AUTH);
+ E2S(PORT_AUTHORIZED);
}
return "UNKNOWN";