Home | History | Annotate | Download | only in tests

Lines Matching refs:AUTH

18 	enum { AUTH, SUPP } test_peer;
37 struct wpa_state_machine *auth;
57 "usage: test-eapol <auth/supp> <read/write> <file>");
123 wpa_printf(MSG_DEBUG, "AUTH: RX EAPOL frame");
125 wpa_receive(wpa->auth_group, wpa->auth, wpa->supp_eapol,
131 "AUTH: No response was sent - process next message");
176 if (wpa->test_peer == AUTH && wpa->test_oper == READ)
351 wpa_printf(MSG_DEBUG, "AUTH: " MACSTR " - %s",
354 wpa_printf(MSG_DEBUG, "AUTH: %s", txt);
374 wpa_printf(MSG_DEBUG, "AUTH: %s(addr=" MACSTR " data_len=%lu "
379 if (wpa->test_peer == AUTH && wpa->test_oper == WRITE)
403 wpa_printf(MSG_DEBUG, "AUTH: %s (addr=" MACSTR " prev_psk=%p)",
433 wpa_printf(MSG_DEBUG, "AUTH: %s (vlan_id=%d alg=%d idx=%d key_len=%d)",
436 wpa_printf(MSG_DEBUG, "AUTH: addr=" MACSTR, MAC2STR(addr));
456 wpa_printf(MSG_DEBUG, "AUTH: Initializing group state machine");
485 wpa_printf(MSG_DEBUG, "AUTH: wpa_init() failed");
495 if (wpa->test_peer == AUTH && wpa->test_oper == READ)
498 wpa->auth = wpa_auth_sta_init(wpa->auth_group, wpa->supp_addr, NULL);
499 if (!wpa->auth) {
500 wpa_printf(MSG_DEBUG, "AUTH: wpa_auth_sta_init() failed");
504 if (wpa_validate_wpa_ie(wpa->auth_group, wpa->auth, wpa->supp_ie,
507 wpa_printf(MSG_DEBUG, "AUTH: wpa_validate_wpa_ie() failed");
511 wpa_auth_sm_event(wpa->auth, WPA_ASSOC);
513 wpa_auth_sta_associated(wpa->auth_group, wpa->auth);
521 wpa_auth_sta_deinit(wpa->auth);
547 if (os_strcmp(argv[1], "auth") == 0) {
548 wpa.test_peer = AUTH;
550 wpa.test_peer = AUTH;