Lines Matching refs:eapol
2 * WPA Supplicant - Glue code to setup EAPOL and RSN modules
109 wpa_msg(wpa_s, MSG_INFO, "EAPOL-TX " MACSTR " %s",
136 * wpa_supplicant_eapol_send - Send IEEE 802.1X EAPOL packet to Authenticator
139 * @buf: EAPOL payload (after IEEE 802.1X header)
140 * @len: EAPOL payload length
143 * This function adds Ethernet and IEEE 802.1X header and sends the EAPOL frame
162 * EAPOL frames (mainly, EAPOL-Start) from EAPOL state
164 wpa_printf(MSG_DEBUG, "WPA: drop TX EAPOL in non-IEEE 802.1X "
173 * We were trying to use PMKSA caching and sending EAPOL-Start
174 * would abort that and trigger full EAPOL authentication.
178 * to get the state machine sending EAPOL-Start. This is not
192 "RSN: PMKSA caching - do not send EAPOL-Start");
199 "EAPOL frame");
204 " from the driver as the EAPOL destination",
209 " last received EAPOL frame " MACSTR " as "
210 "the EAPOL destination",
215 * the EAPOL destination. */
223 wpa_printf(MSG_DEBUG, "TX EAPOL: dst=" MACSTR, MAC2STR(dst));
224 wpa_hexdump(MSG_MSGDUMP, "TX EAPOL", msg, msglen);
283 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol,
291 wpa_printf(MSG_DEBUG, "EAPOL authentication completed - result=%s",
303 * Make sure we do not get stuck here waiting for long EAPOL
309 "EAPOL authentication failed again and AP did not disconnect us");
339 res = eapol_sm_get_key(eapol, buf, 2 * PMK_LEN);
348 res = eapol_sm_get_key(eapol, pmk, pmk_len);
354 res = eapol_sm_get_key(eapol, pmk, 16);
360 wpa_printf(MSG_DEBUG, "Failed to get PMK from EAPOL state "
383 wpa_msg(wpa_s, MSG_DEBUG, "WPA: EAPOL processing complete");
1005 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, -1,
1069 wpa_printf(MSG_DEBUG, "AP mode active - skip EAPOL Supplicant "
1075 wpa_printf(MSG_DEBUG, "EAPOL: Supplicant port status: %s",
1178 wpa_printf(MSG_ERROR, "Failed to allocate EAPOL context.");
1223 wpa_s->eapol = eapol_sm_init(ctx);
1224 if (wpa_s->eapol == NULL) {
1226 wpa_printf(MSG_ERROR, "Failed to initialize EAPOL state "