Lines Matching full:initiator
58 u8 Snonce[WPA_NONCE_LEN]; /* Initiator Nonce in TDLS */
99 int initiator; /* whether this end was initiator for TDLS setup */ member
101 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */
103 u8 rsnie_i[TDLS_MAX_IE_LEN]; /* Initiator RSN IE */
262 int initiator, const u8 *buf, size_t len, in wpa_tdls_send_tpk_msg() argument
266 status_code, peer_capab, initiator, buf, in wpa_tdls_send_tpk_msg()
273 int initiator, const u8 *msg, size_t msg_len, in wpa_tdls_tpk_send() argument
279 "dialog_token=%u status_code=%u peer_capab=%u initiator=%d " in wpa_tdls_tpk_send()
282 peer_capab, initiator, (unsigned int) msg_len); in wpa_tdls_tpk_send()
285 status_code, peer_capab, initiator, msg, in wpa_tdls_tpk_send()
381 peer->initiator, in wpa_tdls_tpk_retry_timeout()
512 /* 1) TDLS initiator STA MAC address */ in wpa_tdls_ftie_mic()
671 if (peer->initiator) { in wpa_tdls_tpk_timeout()
723 peer->initiator = 0; in wpa_tdls_peer_clear()
771 if (peer->initiator) { in wpa_tdls_linkid()
869 reason_code, 0, peer->initiator, rbuf, pos - rbuf, in wpa_tdls_send_teardown()
1053 * @initiator - was this end the initiator of the connection
1058 u8 tdls_action, u8 dialog_token, int initiator, in wpa_tdls_send_error() argument
1065 0, initiator, NULL, 0, -1); in wpa_tdls_send_error()
1120 * FTIE: ANonce=0, SNonce=initiator nonce MIC=0, DataKDs=(RSNIE_I, in wpa_tdls_send_tpk_m1()
1202 /* Initiator RSN IE */ in wpa_tdls_send_tpk_m1()
1211 "TDLS: Failed to get random data for initiator Nonce"); in wpa_tdls_send_tpk_m1()
1217 wpa_hexdump(MSG_DEBUG, "TDLS: Initiator Nonce for TPK handshake", in wpa_tdls_send_tpk_m1()
1274 1, 0, 0, peer->initiator, rbuf, pos - rbuf, in wpa_tdls_send_tpk_m1()
1296 /* Peer RSN IE, FTIE(Initiator Nonce, Responder Nonce), in wpa_tdls_send_tpk_m2()
1350 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds from initiator", in wpa_tdls_send_tpk_m2()
1366 dtoken, 0, 0, peer->initiator, rbuf, in wpa_tdls_send_tpk_m2()
1389 /* Peer RSN IE, FTIE(Initiator Nonce, Responder Nonce), in wpa_tdls_send_tpk_m3()
1467 dtoken, 0, peer_capab, peer->initiator, in wpa_tdls_send_tpk_m3()
1545 /* Initiator RSN IE */ in wpa_tdls_send_discovery_response()
1992 } else if (peer->initiator) { in wpa_tdls_process_tpk_m1()
1997 * continue as the initiator. The other negotiation is in wpa_tdls_process_tpk_m1()
2050 wpa_printf(MSG_DEBUG, "TDLS: TPK M1 - TPK initiator " MACSTR, in wpa_tdls_process_tpk_m1()
2091 peer->initiator = 1; in wpa_tdls_process_tpk_m1()
2133 wpa_printf(MSG_INFO, "TDLS: Too long Initiator RSN IE in " in wpa_tdls_process_tpk_m1()
2193 peer->initiator = 0; /* Need to check */ in wpa_tdls_process_tpk_m1()
2328 * Start the initiator process a bit earlier to avoid race in wpa_tdls_enable_link()
2331 if (lifetime > 3 && peer->initiator) in wpa_tdls_enable_link()
2383 if (!peer->initiator) { in wpa_tdls_process_tpk_m2()
2389 wpa_printf(MSG_INFO, "TDLS: We were not the initiator, so " in wpa_tdls_process_tpk_m2()
2878 peer->initiator = 1; in wpa_tdls_start()