Lines Matching refs:src

1013 hostapd_dpp_relay_needs_controller(struct hostapd_data *hapd, const u8 *src,  in hostapd_dpp_relay_needs_controller()  argument
1027 MACSTR " %u", MAC2STR(src), type); in hostapd_dpp_relay_needs_controller()
1032 static void hostapd_dpp_rx_auth_req(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_auth_req() argument
1044 MAC2STR(src)); in hostapd_dpp_rx_auth_req()
1077 src, hdr, buf, len, freq, i_bootstrap, in hostapd_dpp_rx_auth_req()
1080 hostapd_dpp_relay_needs_controller(hapd, src, in hostapd_dpp_rx_auth_req()
1127 os_memcpy(hapd->dpp_auth->peer_mac_addr, src, ETH_ALEN); in hostapd_dpp_rx_auth_req()
1131 MAC2STR(src), hapd->dpp_auth->curr_freq, in hostapd_dpp_rx_auth_req()
1134 src, wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_rx_auth_req()
1406 static void hostapd_dpp_rx_auth_resp(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_auth_resp() argument
1414 MAC2STR(src)); in hostapd_dpp_rx_auth_resp()
1423 !ether_addr_equal(src, auth->peer_mac_addr)) { in hostapd_dpp_rx_auth_resp()
1447 os_memcpy(auth->peer_mac_addr, src, ETH_ALEN); in hostapd_dpp_rx_auth_resp()
1450 " freq=%u type=%d", MAC2STR(src), auth->curr_freq, in hostapd_dpp_rx_auth_resp()
1452 hostapd_drv_send_action(hapd, auth->curr_freq, 0, src, in hostapd_dpp_rx_auth_resp()
1459 static void hostapd_dpp_rx_auth_conf(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_auth_conf() argument
1465 MAC2STR(src)); in hostapd_dpp_rx_auth_conf()
1473 if (!ether_addr_equal(src, auth->peer_mac_addr)) { in hostapd_dpp_rx_auth_conf()
1564 static void hostapd_dpp_rx_conf_result(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_conf_result() argument
1574 MAC2STR(src)); in hostapd_dpp_rx_conf_result()
1582 if (!ether_addr_equal(src, auth->peer_mac_addr)) { in hostapd_dpp_rx_conf_result()
1635 const u8 *src, const u8 *hdr, in hostapd_dpp_rx_conn_status_result() argument
1669 hostapd_dpp_rx_presence_announcement(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_presence_announcement() argument
1679 MAC2STR(src)); in hostapd_dpp_rx_presence_announcement()
1694 src, freq, r_bootstrap); in hostapd_dpp_rx_presence_announcement()
1697 src, hdr, buf, len, freq, NULL, in hostapd_dpp_rx_presence_announcement()
1703 hapd, src, DPP_PA_PRESENCE_ANNOUNCEMENT); in hostapd_dpp_rx_presence_announcement()
1729 os_memcpy(auth->peer_mac_addr, src, ETH_ALEN); in hostapd_dpp_rx_presence_announcement()
1756 hostapd_dpp_rx_reconfig_announcement(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_reconfig_announcement() argument
1774 MAC2STR(src)); in hostapd_dpp_rx_reconfig_announcement()
1789 src, hdr, buf, len, freq, NULL, in hostapd_dpp_rx_reconfig_announcement()
1795 hapd, src, DPP_PA_RECONFIG_ANNOUNCEMENT); in hostapd_dpp_rx_reconfig_announcement()
1823 os_memcpy(auth->peer_mac_addr, src, ETH_ALEN); in hostapd_dpp_rx_reconfig_announcement()
1841 MAC2STR(src), freq, DPP_PA_RECONFIG_AUTH_REQ); in hostapd_dpp_rx_reconfig_announcement()
1842 if (hostapd_drv_send_action(hapd, freq, wait_time, src, in hostapd_dpp_rx_reconfig_announcement()
1852 hostapd_dpp_rx_reconfig_auth_resp(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_reconfig_auth_resp() argument
1860 MACSTR, MAC2STR(src)); in hostapd_dpp_rx_reconfig_auth_resp()
1868 if (!ether_addr_equal(src, auth->peer_mac_addr)) { in hostapd_dpp_rx_reconfig_auth_resp()
1883 MAC2STR(src), freq, DPP_PA_RECONFIG_AUTH_CONF); in hostapd_dpp_rx_reconfig_auth_resp()
1884 if (hostapd_drv_send_action(hapd, freq, 500, src, in hostapd_dpp_rx_reconfig_auth_resp()
1898 const u8 *src, unsigned int freq, in hostapd_dpp_send_peer_disc_resp() argument
2020 " status=%d", MAC2STR(src), status); in hostapd_dpp_send_peer_disc_resp()
2022 " freq=%u type=%d status=%d", MAC2STR(src), freq, in hostapd_dpp_send_peer_disc_resp()
2024 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_send_peer_disc_resp()
2050 const u8 *src, in hostapd_dpp_rx_peer_disc_req() argument
2066 MAC2STR(src)); in hostapd_dpp_rx_peer_disc_req()
2102 MACSTR ")", MAC2STR(src)); in hostapd_dpp_rx_peer_disc_req()
2108 MACSTR " status %d)", MAC2STR(src), res); in hostapd_dpp_rx_peer_disc_req()
2109 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, trans_id[0], in hostapd_dpp_rx_peer_disc_req()
2128 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, in hostapd_dpp_rx_peer_disc_req()
2143 if (wpa_auth_pmksa_add2(hapd->wpa_auth, src, intro.pmk, intro.pmk_len, in hostapd_dpp_rx_peer_disc_req()
2150 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, trans_id[0], in hostapd_dpp_rx_peer_disc_req()
2158 hostapd_dpp_rx_pkex_exchange_req(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_pkex_exchange_req() argument
2165 MAC2STR(src)); in hostapd_dpp_rx_pkex_exchange_req()
2205 hapd->own_addr, src, in hostapd_dpp_rx_pkex_exchange_req()
2218 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_rx_pkex_exchange_req()
2220 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_rx_pkex_exchange_req()
2236 src, hdr, buf, len, freq, NULL, NULL, in hostapd_dpp_rx_pkex_exchange_req()
2240 hostapd_dpp_relay_needs_controller(hapd, src, in hostapd_dpp_rx_pkex_exchange_req()
2250 hostapd_dpp_rx_pkex_exchange_resp(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_pkex_exchange_resp() argument
2256 MAC2STR(src)); in hostapd_dpp_rx_pkex_exchange_resp()
2270 msg = dpp_pkex_rx_exchange_resp(hapd->dpp_pkex, src, buf, len); in hostapd_dpp_rx_pkex_exchange_resp()
2277 MAC2STR(src)); in hostapd_dpp_rx_pkex_exchange_resp()
2280 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_rx_pkex_exchange_resp()
2282 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_rx_pkex_exchange_resp()
2289 hostapd_dpp_rx_pkex_commit_reveal_req(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_pkex_commit_reveal_req() argument
2298 MAC2STR(src)); in hostapd_dpp_rx_pkex_commit_reveal_req()
2320 MACSTR, MAC2STR(src)); in hostapd_dpp_rx_pkex_commit_reveal_req()
2323 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_rx_pkex_commit_reveal_req()
2325 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_rx_pkex_commit_reveal_req()
2330 bi = dpp_pkex_finish(hapd->iface->interfaces->dpp, pkex, src, freq); in hostapd_dpp_rx_pkex_commit_reveal_req()
2338 hostapd_dpp_rx_pkex_commit_reveal_resp(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_pkex_commit_reveal_resp() argument
2349 MAC2STR(src)); in hostapd_dpp_rx_pkex_commit_reveal_resp()
2363 bi = dpp_pkex_finish(ifaces->dpp, pkex, src, freq); in hostapd_dpp_rx_pkex_commit_reveal_resp()
2407 unsigned int freq, const u8 *src, in hostapd_dpp_pb_pkex_init() argument
2426 MACSTR, MAC2STR(src)); in hostapd_dpp_pb_pkex_init()
2428 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_pb_pkex_init()
2434 MACSTR, MAC2STR(src)); in hostapd_dpp_pb_pkex_init()
2553 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_pb_pkex_init()
2555 hostapd_drv_send_action(hapd, pkex->freq, 0, src, in hostapd_dpp_pb_pkex_init()
2564 const u8 *src, const u8 *hdr, in hostapd_dpp_rx_pb_presence_announcement() argument
2582 MACSTR, MAC2STR(src)); in hostapd_dpp_rx_pb_presence_announcement()
2696 MACSTR, MAC2STR(src)); in hostapd_dpp_rx_pb_presence_announcement()
2700 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_rx_pb_presence_announcement()
2702 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_rx_pb_presence_announcement()
2707 hostapd_dpp_pb_pkex_init(hapd, freq, src, r_hash); in hostapd_dpp_rx_pb_presence_announcement()
2712 hostapd_dpp_rx_priv_peer_intro_query(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_priv_peer_intro_query() argument
2723 MACSTR, MAC2STR(src)); in hostapd_dpp_rx_priv_peer_intro_query()
2775 MACSTR, MAC2STR(src)); in hostapd_dpp_rx_priv_peer_intro_query()
2777 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_rx_priv_peer_intro_query()
2779 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_rx_priv_peer_intro_query()
2786 hostapd_dpp_rx_priv_peer_intro_update(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_priv_peer_intro_update() argument
2810 MACSTR, MAC2STR(src)); in hostapd_dpp_rx_priv_peer_intro_update()
2887 MACSTR ")", MAC2STR(src)); in hostapd_dpp_rx_priv_peer_intro_update()
2893 MACSTR " status %d)", MAC2STR(src), res); in hostapd_dpp_rx_priv_peer_intro_update()
2917 if (wpa_auth_pmksa_add2(hapd->wpa_auth, src, intro.pmk, intro.pmk_len, in hostapd_dpp_rx_priv_peer_intro_update()
2925 MACSTR, MAC2STR(src)); in hostapd_dpp_rx_priv_peer_intro_update()
2935 void hostapd_dpp_rx_action(struct hostapd_data *hapd, const u8 *src, in hostapd_dpp_rx_action() argument
2957 crypto_suite, type, MAC2STR(src), freq); in hostapd_dpp_rx_action()
2963 MAC2STR(src), freq, type); in hostapd_dpp_rx_action()
2970 MAC2STR(src), freq, type); in hostapd_dpp_rx_action()
2974 " freq=%u type=%d", MAC2STR(src), freq, type); in hostapd_dpp_rx_action()
2978 src, hdr, buf, len, freq, NULL, NULL, in hostapd_dpp_rx_action()
2985 hostapd_dpp_rx_auth_req(hapd, src, hdr, buf, len, freq); in hostapd_dpp_rx_action()
2988 hostapd_dpp_rx_auth_resp(hapd, src, hdr, buf, len, freq); in hostapd_dpp_rx_action()
2991 hostapd_dpp_rx_auth_conf(hapd, src, hdr, buf, len); in hostapd_dpp_rx_action()
2994 hostapd_dpp_rx_peer_disc_req(hapd, src, buf, len, freq); in hostapd_dpp_rx_action()
3001 hostapd_dpp_rx_pkex_exchange_req(hapd, src, hdr, buf, len, freq, in hostapd_dpp_rx_action()
3006 hostapd_dpp_rx_pkex_exchange_req(hapd, src, hdr, buf, len, freq, in hostapd_dpp_rx_action()
3010 hostapd_dpp_rx_pkex_exchange_resp(hapd, src, buf, len, freq); in hostapd_dpp_rx_action()
3013 hostapd_dpp_rx_pkex_commit_reveal_req(hapd, src, hdr, buf, len, in hostapd_dpp_rx_action()
3017 hostapd_dpp_rx_pkex_commit_reveal_resp(hapd, src, hdr, buf, len, in hostapd_dpp_rx_action()
3022 hostapd_dpp_rx_conf_result(hapd, src, hdr, buf, len); in hostapd_dpp_rx_action()
3025 hostapd_dpp_rx_conn_status_result(hapd, src, hdr, buf, len); in hostapd_dpp_rx_action()
3028 hostapd_dpp_rx_presence_announcement(hapd, src, hdr, buf, len, in hostapd_dpp_rx_action()
3032 hostapd_dpp_rx_reconfig_announcement(hapd, src, hdr, buf, len, in hostapd_dpp_rx_action()
3036 hostapd_dpp_rx_reconfig_auth_resp(hapd, src, hdr, buf, len, in hostapd_dpp_rx_action()
3042 hostapd_dpp_rx_pb_presence_announcement(hapd, src, hdr, in hostapd_dpp_rx_action()
3046 hostapd_dpp_rx_priv_peer_intro_query(hapd, src, hdr, in hostapd_dpp_rx_action()
3050 hostapd_dpp_rx_priv_peer_intro_update(hapd, src, hdr, in hostapd_dpp_rx_action()