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>
This commit is contained in:
parent
05fc7c68f6
commit
0a20bd7d91
2 changed files with 10 additions and 0 deletions
|
@ -4557,6 +4557,15 @@ enum wpa_event_type {
|
||||||
* happen.
|
* happen.
|
||||||
*/
|
*/
|
||||||
EVENT_EXTERNAL_AUTH,
|
EVENT_EXTERNAL_AUTH,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* EVENT_PORT_AUTHORIZED - Notification that a connection is authorized
|
||||||
|
*
|
||||||
|
* This event should be indicated when the driver completes the 4-way
|
||||||
|
* handshake. This event should be preceded by an EVENT_ASSOC that
|
||||||
|
* indicates the completion of IEEE 802.11 association.
|
||||||
|
*/
|
||||||
|
EVENT_PORT_AUTHORIZED,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,7 @@ const char * event_to_string(enum wpa_event_type event)
|
||||||
E2S(BEACON_LOSS);
|
E2S(BEACON_LOSS);
|
||||||
E2S(DFS_PRE_CAC_EXPIRED);
|
E2S(DFS_PRE_CAC_EXPIRED);
|
||||||
E2S(EXTERNAL_AUTH);
|
E2S(EXTERNAL_AUTH);
|
||||||
|
E2S(PORT_AUTHORIZED);
|
||||||
}
|
}
|
||||||
|
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
|
|
Loading…
Reference in a new issue