Lines Matching full:freq
70 " freq=%u type=%d", in hostapd_dpp_qr_code()
182 " freq=%u type=%d", in hostapd_dpp_auth_resp_retry_timeout()
227 static int hostapd_dpp_allow_ir(struct hostapd_data *hapd, unsigned int freq) in hostapd_dpp_allow_ir() argument
240 if (chan->freq != (int) freq) in hostapd_dpp_allow_ir()
254 freq); in hostapd_dpp_allow_ir()
263 if (pkex->freq == 2437) in hostapd_dpp_pkex_next_channel()
264 pkex->freq = 5745; in hostapd_dpp_pkex_next_channel()
265 else if (pkex->freq == 5745) in hostapd_dpp_pkex_next_channel()
266 pkex->freq = 5220; in hostapd_dpp_pkex_next_channel()
267 else if (pkex->freq == 5220) in hostapd_dpp_pkex_next_channel()
268 pkex->freq = 60480; in hostapd_dpp_pkex_next_channel()
272 if (hostapd_dpp_allow_ir(hapd, pkex->freq) == 1) { in hostapd_dpp_pkex_next_channel()
274 pkex->freq); in hostapd_dpp_pkex_next_channel()
407 pkex->freq = 2437; in hostapd_dpp_pkex_init()
409 " freq=%u type=%d", MAC2STR(broadcast), pkex->freq, in hostapd_dpp_pkex_init()
412 hostapd_drv_send_action(hapd, pkex->freq, 0, broadcast, in hostapd_dpp_pkex_init()
452 " freq=%u type=%d", in hostapd_dpp_pkex_retry_timeout()
453 MAC2STR(broadcast), pkex->freq, in hostapd_dpp_pkex_retry_timeout()
456 hostapd_drv_send_action(hapd, pkex->freq, pkex->exch_req_wait_time, in hostapd_dpp_pkex_retry_timeout()
594 (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) { in hostapd_dpp_tx_status()
598 hapd->dpp_auth->neg_freq, hapd->iface->freq); in hostapd_dpp_tx_status()
611 unsigned int freq; in hostapd_dpp_reply_wait_timeout() local
659 freq = auth->curr_freq; in hostapd_dpp_reply_wait_timeout()
661 freq = auth->neg_freq; in hostapd_dpp_reply_wait_timeout()
664 freq, wait_time); in hostapd_dpp_reply_wait_timeout()
667 if (freq != (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) { in hostapd_dpp_reply_wait_timeout()
671 freq, hapd->iface->freq); in hostapd_dpp_reply_wait_timeout()
731 unsigned int wait_time, max_wait_time, freq, max_tries, used; in hostapd_dpp_auth_init_next() local
779 freq = auth->freq[auth->freq_idx++]; in hostapd_dpp_auth_init_next()
780 auth->curr_freq = freq; in hostapd_dpp_auth_init_next()
799 if (auth->neg_freq > 0 && freq != auth->neg_freq) { in hostapd_dpp_auth_init_next()
802 freq, auth->neg_freq); in hostapd_dpp_auth_init_next()
805 " freq=%u type=%d", in hostapd_dpp_auth_init_next()
806 MAC2STR(dst), freq, DPP_PA_AUTHENTICATION_REQ); in hostapd_dpp_auth_init_next()
809 return hostapd_drv_send_action(hapd, freq, wait_time, in hostapd_dpp_auth_init_next()
976 int freq; in hostapd_dpp_listen() local
978 freq = atoi(cmd); in hostapd_dpp_listen()
979 if (freq <= 0) in hostapd_dpp_listen()
991 if (freq != hapd->iface->freq && hapd->iface->freq > 0) { in hostapd_dpp_listen()
995 freq, hapd->iface->freq); in hostapd_dpp_listen()
1034 unsigned int freq) in hostapd_dpp_rx_auth_req() argument
1077 src, hdr, buf, len, freq, i_bootstrap, in hostapd_dpp_rx_auth_req()
1115 peer_bi, own_bi, freq, hdr, buf, len); in hostapd_dpp_rx_auth_req()
1130 " freq=%u type=%d", in hostapd_dpp_rx_auth_req()
1333 DPP_EVENT_TX "dst=" MACSTR " freq=%u type=%d", in hostapd_dpp_gas_resp_cb()
1369 wpa_printf(MSG_DEBUG, "DPP: GAS request to " MACSTR " (freq %u MHz)", in hostapd_dpp_start_gas_client()
1408 unsigned int freq) in hostapd_dpp_rx_auth_resp() argument
1431 if (auth->curr_freq != freq && auth->neg_freq == freq) { in hostapd_dpp_rx_auth_resp()
1434 auth->curr_freq = freq; in hostapd_dpp_rx_auth_resp()
1450 " freq=%u type=%d", MAC2STR(src), auth->curr_freq, in hostapd_dpp_rx_auth_resp()
1671 unsigned int freq) in hostapd_dpp_rx_presence_announcement() argument
1694 src, freq, r_bootstrap); in hostapd_dpp_rx_presence_announcement()
1697 src, hdr, buf, len, freq, NULL, in hostapd_dpp_rx_presence_announcement()
1714 peer_bi, NULL, DPP_CAPAB_CONFIGURATOR, freq, NULL, in hostapd_dpp_rx_presence_announcement()
1725 auth->neg_freq = freq; in hostapd_dpp_rx_presence_announcement()
1758 unsigned int freq) in hostapd_dpp_rx_reconfig_announcement() argument
1789 src, hdr, buf, len, freq, NULL, in hostapd_dpp_rx_reconfig_announcement()
1813 conf, freq, group, a_nonce, a_nonce_len, in hostapd_dpp_rx_reconfig_announcement()
1840 " freq=%u type=%d", 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()
1854 unsigned int freq) in hostapd_dpp_rx_reconfig_auth_resp() argument
1882 " freq=%u type=%d", 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
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()
2052 unsigned int freq) in hostapd_dpp_rx_peer_disc_req() argument
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()
2150 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, trans_id[0], in hostapd_dpp_rx_peer_disc_req()
2160 unsigned int freq, bool v2) in hostapd_dpp_rx_pkex_exchange_req() argument
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()
2251 const u8 *buf, size_t len, unsigned int freq) in hostapd_dpp_rx_pkex_exchange_resp() argument
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()
2291 unsigned int freq) in hostapd_dpp_rx_pkex_commit_reveal_req() argument
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()
2340 unsigned int freq) in hostapd_dpp_rx_pkex_commit_reveal_resp() argument
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
2428 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_pb_pkex_init()
2447 pkex->freq = freq; 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()
2566 unsigned int freq) in hostapd_dpp_rx_pb_presence_announcement() argument
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()
2714 unsigned int freq) in hostapd_dpp_rx_priv_peer_intro_query() argument
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()
2788 unsigned int freq) in hostapd_dpp_rx_priv_peer_intro_update() argument
2936 const u8 *buf, size_t len, unsigned int freq) in hostapd_dpp_rx_action() argument
2956 MACSTR " freq=%u", in hostapd_dpp_rx_action()
2957 crypto_suite, type, MAC2STR(src), freq); in hostapd_dpp_rx_action()
2962 " freq=%u type=%d ignore=unsupported-crypto-suite", in hostapd_dpp_rx_action()
2963 MAC2STR(src), freq, type); in hostapd_dpp_rx_action()
2969 " freq=%u type=%d ignore=invalid-attributes", 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()
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()
3014 freq); in hostapd_dpp_rx_action()
3018 freq); in hostapd_dpp_rx_action()
3029 freq); in hostapd_dpp_rx_action()
3033 freq); in hostapd_dpp_rx_action()
3037 freq); in hostapd_dpp_rx_action()
3043 buf, len, freq); in hostapd_dpp_rx_action()
3047 buf, len, freq); in hostapd_dpp_rx_action()
3051 buf, len, freq); in hostapd_dpp_rx_action()
3367 static void hostapd_dpp_relay_tx(void *ctx, const u8 *addr, unsigned int freq, in hostapd_dpp_relay_tx() argument
3373 if (freq == 0) in hostapd_dpp_relay_tx()
3374 freq = hapd->iface->freq; in hostapd_dpp_relay_tx()
3376 wpa_printf(MSG_DEBUG, "DPP: Send action frame dst=" MACSTR " freq=%u", in hostapd_dpp_relay_tx()
3377 MAC2STR(addr), freq); in hostapd_dpp_relay_tx()
3384 hostapd_drv_send_action(hapd, freq, 0, addr, buf, 2 + len); in hostapd_dpp_relay_tx()
3605 " freq=%u type=%d", in hostapd_dpp_chirp_start()
3660 bi->freq[i]); in hostapd_dpp_chirp_scan_res_handler()
3671 chan->freq != 2437) in hostapd_dpp_chirp_scan_res_handler()
3690 if (chan->freq == 5220) in hostapd_dpp_chirp_scan_res_handler()
3692 if (chan->freq == 5745) in hostapd_dpp_chirp_scan_res_handler()
3708 chan->freq != 60480) in hostapd_dpp_chirp_scan_res_handler()
3726 bss->freq); in hostapd_dpp_chirp_scan_res_handler()
3777 "DPP: Previous chirp freq %d not found", in hostapd_dpp_chirp_next()