supplicant_misc.c
error_t ethAcceptMacAddr(NetInterface *interface, const MacAddr *macAddr)
Add a unicast/multicast address to the MAC filter table.
Definition: ethernet.c:594
error_t supplicantAcceptPaeGroupAddr(SupplicantContext *context)
Add the PAE group address to the static MAC table.
Definition: supplicant_misc.c:123
void eapDumpHeader(const EapPacket *header)
Dump EAP header for debugging purpose.
Definition: eap_debug.c:105
Supplicant state machine.
Supplicant state machine procedures.
802.1X supplicant
bool_t supplicantGetLinkState(SupplicantContext *context)
Get link state.
Definition: supplicant_misc.c:84
error_t ethDropMacAddr(NetInterface *interface, const MacAddr *macAddr)
Remove a unicast/multicast address from the MAC filter table.
Definition: ethernet.c:666
error_t socketSendMsg(Socket *socket, const SocketMsg *message, uint_t flags)
Send a message to a connectionless socket.
Definition: socket.c:1634
void eapolDumpHeader(const EapolPdu *header)
Dump EAPOL header for debugging purpose.
Definition: eap_debug.c:85
void supplicantFsm(SupplicantContext *context)
Supplicant state machine implementation.
Definition: supplicant_fsm.c:126
void supplicantTick(SupplicantContext *context)
Handle periodic operations.
Definition: supplicant_misc.c:54
error_t socketReceiveMsg(Socket *socket, SocketMsg *message, uint_t flags)
Receive a message from a connectionless socket.
Definition: socket.c:1894
error_t netGetMacAddr(NetInterface *interface, MacAddr *macAddr)
Retrieve MAC address.
Definition: net.c:516
error_t supplicantSendEapolPdu(SupplicantContext *context, const uint8_t *pdu, size_t length)
Send EAPOL PDU.
Definition: supplicant_misc.c:225
void supplicantProcessEapolPdu(SupplicantContext *context)
Process incoming EAPOL PDU.
Definition: supplicant_misc.c:265
Data logging functions for debugging purpose (EAP)
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_chibios.c:396
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_chibios.c:408
void supplicantProcessEapPacket(SupplicantContext *context, const EapPacket *packet, size_t length)
Process incoming EAP packet.
Definition: supplicant_misc.c:339
void supplicantDecrementTimer(uint_t *x)
Decrement timer value.
Definition: supplicant_procedures.c:180
error_t supplicantDropPaeGroupAddr(SupplicantContext *context)
Remove the PAE group address from the static MAC table.
Definition: supplicant_misc.c:173
Debugging facilities.
Helper functions for 802.1X supplicant.