wpa_sm_rx_eapol() function
wpa_sm_rx_eapol - Process received WPA EAPOL frames @sm: Pointer to WPA state machine data from wpa_sm_init() @src_addr: Source MAC address of the EAPOL packet @buf: Pointer to the beginning of the EAPOL data (EAPOL header) @len: Length of the EAPOL frame Returns: 1 = WPA EAPOL-Key processed, 0 = not a WPA EAPOL-Key, -1 failure This function is called for each received EAPOL frame. Other than EAPOL-Key frames can be skipped if filtering is done elsewhere. wpa_sm_rx_eapol() is only processing WPA and WPA2 EAPOL-Key frames. The received EAPOL-Key packets are validated and valid packets are replied to. In addition, key material (PTK, GTK) is configured at the end of a successful key handshake. buf begin from version, so remove mac header ,snap header and ether_type
wpa_sm_rx_eapol() is called by 1 function and calls 11 functions:
![]()
wpa_sm_rx_eapol()
wpa_sm_rx_eapol() reads 20 variables and writes 2 variables:
![]()
wpa_sm_rx_eapol()
wpa_sm_rx_eapol() is implemented by 1 functions:
![]()
wpa_sm_rx_eapol()