Provides functions which application or library can use to register and de-register.
These APIs are generally used by enterprise security library.
typedef void (*
cy_wifimwcore_eapol_packet_handler_t)(whd_interface_t whd_iface, whd_buffer_t buffer)¶
EAPOL packet handler function pointer type; On recieving EAPOL data, WHD will send the data to WiFi Middleware Core.
The buffer should be freed by EAPOL handler.
[in] interface: WHD interface.
[in] buffer: buffer received from WHD.
This API allows registering callback functions to receive EAPOL packets from WHD.
If callback is registered and received packet is EAPOL packet then it will be directly redirected to registered callback. passing “NULL” as handler will de-register the previously registered callback
CY_RSLT_SUCCESS if the registration was successful; returns WiFi middleware specific error codes otherwise.
[in] eapol_packet_handler: : Callback function to be invoked when eapol packets are recieved from WHD.