Typedefs | |
| typedef void(* | cy_wifimwcore_eapol_packet_handler_t) (whd_interface_t whd_iface, whd_buffer_t buffer) |
| EAPOL packet handler function pointer type; on receiving the EAPOL data, the WHD will send the data to the Wi-Fi Middleware Core. | |
Functions | |
| cy_rslt_t | cy_wifimwcore_eapol_register_receive_handler (cy_wifimwcore_eapol_packet_handler_t eapol_packet_handler) |
| This API allows registering the callback functions to receive EAPOL packets from the WHD. | |
| typedef void(* cy_wifimwcore_eapol_packet_handler_t) (whd_interface_t whd_iface, whd_buffer_t buffer) |
EAPOL packet handler function pointer type; on receiving the EAPOL data, the WHD will send the data to the Wi-Fi Middleware Core.
The buffer should be freed by the EAPOL handler.
| [in] | whd_iface | WHD interface. |
| [in] | buffer | Buffer received from the WHD. |
| cy_rslt_t cy_wifimwcore_eapol_register_receive_handler | ( | cy_wifimwcore_eapol_packet_handler_t | eapol_packet_handler | ) |
This API allows registering the callback functions to receive EAPOL packets from the WHD.
If the callback is registered, and the received packet is an EAPOL packet, it will be redirected to the registered callback. Passing "NULL" as the handler will deregister the previously registered callback.
| [in] | eapol_packet_handler | : Callback function to be invoked when EAPOL packets are received from the WHD. |