wps_sm_rx_eapol() function
wps_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, ESP_OK = not a WPA EAPOL-Key, ESP_FAIL 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
wps_sm_rx_eapol() calls 4 functions:
![]()
wps_sm_rx_eapol()
wps_sm_rx_eapol() reads 4 variables and writes 3 variables:
![]()
wps_sm_rx_eapol()
wps_sm_rx_eapol() is implemented by 1 functions:
![]()
wps_sm_rx_eapol()
wps_sm_rx_eapol() allocates 1 types and frees 1 types:
![]()
wps_sm_rx_eapol()