wlan: Add support for host based EAPOL events
This change adds new DIAG (EVENT_WLAN_EAPOL)
event within our existing DIAG framework. This
event will be generated whenever EAPOL is
handled within the Host.
Change-Id: I2331c5e3327b8647e48eeed25c9286519a8bd5cc
CRs-Fixed: 832168
diff --git a/CORE/VOSS/inc/vos_diag_core_event.h b/CORE/VOSS/inc/vos_diag_core_event.h
index 461b788..a9d81b1 100644
--- a/CORE/VOSS/inc/vos_diag_core_event.h
+++ b/CORE/VOSS/inc/vos_diag_core_event.h
@@ -245,12 +245,27 @@
v_U8_t mode;
} vos_event_wlan_btc_type;
+/*-------------------------------------------------------------------------
+ Event ID: EVENT_WLAN_EAPOL
+ ------------------------------------------------------------------------*/
+struct vos_event_wlan_eapol
+{
+ uint8_t event_sub_type;
+ uint8_t eapol_packet_type;
+ uint16_t eapol_key_info;
+ uint16_t eapol_rate;
+ uint8_t dest_addr[6];
+ uint8_t src_addr[6];
+};
+
/*-------------------------------------------------------------------------
Function declarations and documenation
------------------------------------------------------------------------*/
-
-
+enum wifi_connectivity_events {
+ WIFI_EVENT_DRIVER_EAPOL_FRAME_TRANSMIT_REQUESTED,
+ WIFI_EVENT_DRIVER_EAPOL_FRAME_RECEIVED,
+};
#ifdef __cplusplus
}
#endif /* __cplusplus */