• Home
  • Raw
  • Download

Lines Matching refs:freq

225 static int hostapd_dpp_allow_ir(struct hostapd_data *hapd, unsigned int freq)  in hostapd_dpp_allow_ir()  argument
238 if (chan->freq != (int) freq) in hostapd_dpp_allow_ir()
252 freq); in hostapd_dpp_allow_ir()
261 if (pkex->freq == 2437) in hostapd_dpp_pkex_next_channel()
262 pkex->freq = 5745; in hostapd_dpp_pkex_next_channel()
263 else if (pkex->freq == 5745) in hostapd_dpp_pkex_next_channel()
264 pkex->freq = 5220; in hostapd_dpp_pkex_next_channel()
265 else if (pkex->freq == 5220) in hostapd_dpp_pkex_next_channel()
266 pkex->freq = 60480; in hostapd_dpp_pkex_next_channel()
270 if (hostapd_dpp_allow_ir(hapd, pkex->freq) == 1) { in hostapd_dpp_pkex_next_channel()
272 pkex->freq); in hostapd_dpp_pkex_next_channel()
384 pkex->freq = 2437; in hostapd_dpp_pkex_init()
386 " freq=%u type=%d", MAC2STR(broadcast), pkex->freq, in hostapd_dpp_pkex_init()
389 hostapd_drv_send_action(hapd, pkex->freq, 0, broadcast, in hostapd_dpp_pkex_init()
430 MAC2STR(broadcast), pkex->freq, in hostapd_dpp_pkex_retry_timeout()
433 hostapd_drv_send_action(hapd, pkex->freq, pkex->exch_req_wait_time, in hostapd_dpp_pkex_retry_timeout()
564 (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) { in hostapd_dpp_tx_status()
568 hapd->dpp_auth->neg_freq, hapd->iface->freq); in hostapd_dpp_tx_status()
581 unsigned int freq; in hostapd_dpp_reply_wait_timeout() local
629 freq = auth->curr_freq; in hostapd_dpp_reply_wait_timeout()
631 freq = auth->neg_freq; in hostapd_dpp_reply_wait_timeout()
634 freq, wait_time); in hostapd_dpp_reply_wait_timeout()
637 if (freq != (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) { in hostapd_dpp_reply_wait_timeout()
641 freq, hapd->iface->freq); in hostapd_dpp_reply_wait_timeout()
701 unsigned int wait_time, max_wait_time, freq, max_tries, used; in hostapd_dpp_auth_init_next() local
749 freq = auth->freq[auth->freq_idx++]; in hostapd_dpp_auth_init_next()
750 auth->curr_freq = freq; in hostapd_dpp_auth_init_next()
769 if (auth->neg_freq > 0 && freq != auth->neg_freq) { in hostapd_dpp_auth_init_next()
772 freq, auth->neg_freq); in hostapd_dpp_auth_init_next()
776 MAC2STR(dst), freq, DPP_PA_AUTHENTICATION_REQ); in hostapd_dpp_auth_init_next()
779 return hostapd_drv_send_action(hapd, freq, wait_time, in hostapd_dpp_auth_init_next()
933 int freq; in hostapd_dpp_listen() local
935 freq = atoi(cmd); in hostapd_dpp_listen()
936 if (freq <= 0) in hostapd_dpp_listen()
948 if (freq != hapd->iface->freq && hapd->iface->freq > 0) { in hostapd_dpp_listen()
952 freq, hapd->iface->freq); in hostapd_dpp_listen()
970 unsigned int freq) in hostapd_dpp_rx_auth_req() argument
1013 src, hdr, buf, len, freq, i_bootstrap, in hostapd_dpp_rx_auth_req()
1034 peer_bi, own_bi, freq, hdr, buf, len); in hostapd_dpp_rx_auth_req()
1326 unsigned int freq) in hostapd_dpp_rx_auth_resp() argument
1349 if (auth->curr_freq != freq && auth->neg_freq == freq) { in hostapd_dpp_rx_auth_resp()
1352 auth->curr_freq = freq; in hostapd_dpp_rx_auth_resp()
1531 unsigned int freq) in hostapd_dpp_rx_presence_announcement() argument
1554 src, freq, r_bootstrap); in hostapd_dpp_rx_presence_announcement()
1557 src, hdr, buf, len, freq, NULL, in hostapd_dpp_rx_presence_announcement()
1572 peer_bi, NULL, DPP_CAPAB_CONFIGURATOR, freq, NULL, in hostapd_dpp_rx_presence_announcement()
1583 auth->neg_freq = freq; in hostapd_dpp_rx_presence_announcement()
1616 unsigned int freq) in hostapd_dpp_rx_reconfig_announcement() argument
1647 src, hdr, buf, len, freq, NULL, in hostapd_dpp_rx_reconfig_announcement()
1669 conf, freq, group, a_nonce, a_nonce_len, in hostapd_dpp_rx_reconfig_announcement()
1697 MAC2STR(src), freq, DPP_PA_RECONFIG_AUTH_REQ); in hostapd_dpp_rx_reconfig_announcement()
1698 if (hostapd_drv_send_action(hapd, freq, wait_time, src, in hostapd_dpp_rx_reconfig_announcement()
1710 unsigned int freq) in hostapd_dpp_rx_reconfig_auth_resp() argument
1739 MAC2STR(src), freq, DPP_PA_RECONFIG_AUTH_CONF); in hostapd_dpp_rx_reconfig_auth_resp()
1740 if (hostapd_drv_send_action(hapd, freq, 500, src, in hostapd_dpp_rx_reconfig_auth_resp()
1754 const u8 *src, unsigned int freq, in hostapd_dpp_send_peer_disc_resp() argument
1878 " freq=%u type=%d status=%d", MAC2STR(src), freq, in hostapd_dpp_send_peer_disc_resp()
1880 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_send_peer_disc_resp()
1889 unsigned int freq) in hostapd_dpp_rx_peer_disc_req() argument
1953 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, trans_id[0], in hostapd_dpp_rx_peer_disc_req()
1972 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, in hostapd_dpp_rx_peer_disc_req()
1994 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, trans_id[0], in hostapd_dpp_rx_peer_disc_req()
2002 unsigned int freq, bool v2) in hostapd_dpp_rx_pkex_exchange_req() argument
2050 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_rx_pkex_exchange_req()
2052 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_rx_pkex_exchange_req()
2069 src, hdr, buf, len, freq, NULL, NULL, hapd); in hostapd_dpp_rx_pkex_exchange_req()
2078 const u8 *buf, size_t len, unsigned int freq) in hostapd_dpp_rx_pkex_exchange_resp() argument
2107 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_rx_pkex_exchange_resp()
2109 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_rx_pkex_exchange_resp()
2118 unsigned int freq) in hostapd_dpp_rx_pkex_commit_reveal_req() argument
2150 " freq=%u type=%d", MAC2STR(src), freq, in hostapd_dpp_rx_pkex_commit_reveal_req()
2152 hostapd_drv_send_action(hapd, freq, 0, src, in hostapd_dpp_rx_pkex_commit_reveal_req()
2156 bi = dpp_pkex_finish(hapd->iface->interfaces->dpp, pkex, src, freq); in hostapd_dpp_rx_pkex_commit_reveal_req()
2166 unsigned int freq) in hostapd_dpp_rx_pkex_commit_reveal_resp() argument
2187 bi = dpp_pkex_finish(hapd->iface->interfaces->dpp, pkex, src, freq); in hostapd_dpp_rx_pkex_commit_reveal_resp()
2207 const u8 *buf, size_t len, unsigned int freq) in hostapd_dpp_rx_action() argument
2228 crypto_suite, type, MAC2STR(src), freq); in hostapd_dpp_rx_action()
2234 MAC2STR(src), freq, type); in hostapd_dpp_rx_action()
2241 MAC2STR(src), freq, type); in hostapd_dpp_rx_action()
2245 " freq=%u type=%d", MAC2STR(src), freq, type); in hostapd_dpp_rx_action()
2249 src, hdr, buf, len, freq, NULL, NULL, in hostapd_dpp_rx_action()
2256 hostapd_dpp_rx_auth_req(hapd, src, hdr, buf, len, freq); in hostapd_dpp_rx_action()
2259 hostapd_dpp_rx_auth_resp(hapd, src, hdr, buf, len, freq); in hostapd_dpp_rx_action()
2265 hostapd_dpp_rx_peer_disc_req(hapd, src, buf, len, freq); in hostapd_dpp_rx_action()
2272 hostapd_dpp_rx_pkex_exchange_req(hapd, src, hdr, buf, len, freq, in hostapd_dpp_rx_action()
2277 hostapd_dpp_rx_pkex_exchange_req(hapd, src, hdr, buf, len, freq, in hostapd_dpp_rx_action()
2281 hostapd_dpp_rx_pkex_exchange_resp(hapd, src, buf, len, freq); in hostapd_dpp_rx_action()
2285 freq); in hostapd_dpp_rx_action()
2289 freq); in hostapd_dpp_rx_action()
2300 freq); in hostapd_dpp_rx_action()
2304 freq); in hostapd_dpp_rx_action()
2308 freq); in hostapd_dpp_rx_action()
2596 static void hostapd_dpp_relay_tx(void *ctx, const u8 *addr, unsigned int freq, in hostapd_dpp_relay_tx() argument
2603 MAC2STR(addr), freq); in hostapd_dpp_relay_tx()
2610 hostapd_drv_send_action(hapd, freq, 0, addr, buf, 2 + len); in hostapd_dpp_relay_tx()
2816 bi->freq[i]); in hostapd_dpp_chirp_scan_res_handler()
2827 chan->freq != 2437) in hostapd_dpp_chirp_scan_res_handler()
2846 if (chan->freq == 5220) in hostapd_dpp_chirp_scan_res_handler()
2848 if (chan->freq == 5745) in hostapd_dpp_chirp_scan_res_handler()
2864 chan->freq != 60480) in hostapd_dpp_chirp_scan_res_handler()
2882 bss->freq); in hostapd_dpp_chirp_scan_res_handler()