Lines Matching full:freq
70 " freq=%u type=%d",
182 " freq=%u type=%d",
227 static int hostapd_dpp_allow_ir(struct hostapd_data *hapd, unsigned int freq)
240 if (chan->freq != (int) freq)
254 freq);
263 if (pkex->freq == 2437)
264 pkex->freq = 5745;
265 else if (pkex->freq == 5745)
266 pkex->freq = 5220;
267 else if (pkex->freq == 5220)
268 pkex->freq = 60480;
272 if (hostapd_dpp_allow_ir(hapd, pkex->freq) == 1) {
274 pkex->freq);
407 pkex->freq = 2437;
409 " freq=%u type=%d", MAC2STR(broadcast), pkex->freq,
412 hostapd_drv_send_action(hapd, pkex->freq, 0, broadcast,
452 " freq=%u type=%d",
453 MAC2STR(broadcast), pkex->freq,
456 hostapd_drv_send_action(hapd, pkex->freq, pkex->exch_req_wait_time,
594 (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) {
598 hapd->dpp_auth->neg_freq, hapd->iface->freq);
611 unsigned int freq;
659 freq = auth->curr_freq;
661 freq = auth->neg_freq;
664 freq, wait_time);
667 if (freq != (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) {
671 freq, hapd->iface->freq);
731 unsigned int wait_time, max_wait_time, freq, max_tries, used;
779 freq = auth->freq[auth->freq_idx++];
780 auth->curr_freq = freq;
799 if (auth->neg_freq > 0 && freq != auth->neg_freq) {
802 freq, auth->neg_freq);
805 " freq=%u type=%d",
806 MAC2STR(dst), freq, DPP_PA_AUTHENTICATION_REQ);
809 return hostapd_drv_send_action(hapd, freq, wait_time,
976 int freq;
978 freq = atoi(cmd);
979 if (freq <= 0)
991 if (freq != hapd->iface->freq && hapd->iface->freq > 0) {
995 freq, hapd->iface->freq);
1034 unsigned int freq)
1077 src, hdr, buf, len, freq, i_bootstrap,
1115 peer_bi, own_bi, freq, hdr, buf, len);
1130 " freq=%u type=%d",
1333 DPP_EVENT_TX "dst=" MACSTR " freq=%u type=%d",
1369 wpa_printf(MSG_DEBUG, "DPP: GAS request to " MACSTR " (freq %u MHz)",
1408 unsigned int freq)
1431 if (auth->curr_freq != freq && auth->neg_freq == freq) {
1434 auth->curr_freq = freq;
1450 " freq=%u type=%d", MAC2STR(src), auth->curr_freq,
1671 unsigned int freq)
1694 src, freq, r_bootstrap);
1697 src, hdr, buf, len, freq, NULL,
1714 peer_bi, NULL, DPP_CAPAB_CONFIGURATOR, freq, NULL,
1725 auth->neg_freq = freq;
1758 unsigned int freq)
1789 src, hdr, buf, len, freq, NULL,
1813 conf, freq, group, a_nonce, a_nonce_len,
1840 " freq=%u type=%d",
1841 MAC2STR(src), freq, DPP_PA_RECONFIG_AUTH_REQ);
1842 if (hostapd_drv_send_action(hapd, freq, wait_time, src,
1854 unsigned int freq)
1882 " freq=%u type=%d",
1883 MAC2STR(src), freq, DPP_PA_RECONFIG_AUTH_CONF);
1884 if (hostapd_drv_send_action(hapd, freq, 500, src,
1898 const u8 *src, unsigned int freq,
2022 " freq=%u type=%d status=%d", MAC2STR(src), freq,
2024 hostapd_drv_send_action(hapd, freq, 0, src,
2052 unsigned int freq)
2109 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, trans_id[0],
2128 hostapd_dpp_send_peer_disc_resp(hapd, src, freq,
2150 hostapd_dpp_send_peer_disc_resp(hapd, src, freq, trans_id[0],
2160 unsigned int freq, bool v2)
2218 " freq=%u type=%d", MAC2STR(src), freq,
2220 hostapd_drv_send_action(hapd, freq, 0, src,
2236 src, hdr, buf, len, freq, NULL, NULL,
2251 const u8 *buf, size_t len, unsigned int freq)
2280 " freq=%u type=%d", MAC2STR(src), freq,
2282 hostapd_drv_send_action(hapd, freq, 0, src,
2291 unsigned int freq)
2323 " freq=%u type=%d", MAC2STR(src), freq,
2325 hostapd_drv_send_action(hapd, freq, 0, src,
2330 bi = dpp_pkex_finish(hapd->iface->interfaces->dpp, pkex, src, freq);
2340 unsigned int freq)
2363 bi = dpp_pkex_finish(ifaces->dpp, pkex, src, freq);
2407 unsigned int freq, const u8 *src,
2428 hostapd_drv_send_action(hapd, freq, 0, src,
2447 pkex->freq = freq;
2553 " freq=%u type=%d", MAC2STR(src), freq,
2555 hostapd_drv_send_action(hapd, pkex->freq, 0, src,
2566 unsigned int freq)
2700 " freq=%u type=%d", MAC2STR(src), freq,
2702 hostapd_drv_send_action(hapd, freq, 0, src,
2707 hostapd_dpp_pb_pkex_init(hapd, freq, src, r_hash);
2714 unsigned int freq)
2777 " freq=%u type=%d", MAC2STR(src), freq,
2779 hostapd_drv_send_action(hapd, freq, 0, src,
2788 unsigned int freq)
2936 const u8 *buf, size_t len, unsigned int freq)
2956 MACSTR " freq=%u",
2957 crypto_suite, type, MAC2STR(src), freq);
2962 " freq=%u type=%d ignore=unsupported-crypto-suite",
2963 MAC2STR(src), freq, type);
2969 " freq=%u type=%d ignore=invalid-attributes",
2970 MAC2STR(src), freq, type);
2974 " freq=%u type=%d", MAC2STR(src), freq, type);
2978 src, hdr, buf, len, freq, NULL, NULL,
2985 hostapd_dpp_rx_auth_req(hapd, src, hdr, buf, len, freq);
2988 hostapd_dpp_rx_auth_resp(hapd, src, hdr, buf, len, freq);
2994 hostapd_dpp_rx_peer_disc_req(hapd, src, buf, len, freq);
3001 hostapd_dpp_rx_pkex_exchange_req(hapd, src, hdr, buf, len, freq,
3006 hostapd_dpp_rx_pkex_exchange_req(hapd, src, hdr, buf, len, freq,
3010 hostapd_dpp_rx_pkex_exchange_resp(hapd, src, buf, len, freq);
3014 freq);
3018 freq);
3029 freq);
3033 freq);
3037 freq);
3043 buf, len, freq);
3047 buf, len, freq);
3051 buf, len, freq);
3367 static void hostapd_dpp_relay_tx(void *ctx, const u8 *addr, unsigned int freq,
3373 if (freq == 0)
3374 freq = hapd->iface->freq;
3376 wpa_printf(MSG_DEBUG, "DPP: Send action frame dst=" MACSTR " freq=%u",
3377 MAC2STR(addr), freq);
3384 hostapd_drv_send_action(hapd, freq, 0, addr, buf, 2 + len);
3605 " freq=%u type=%d",
3660 bi->freq[i]);
3671 chan->freq != 2437)
3690 if (chan->freq == 5220)
3692 if (chan->freq == 5745)
3708 chan->freq != 60480)
3726 bss->freq);
3777 "DPP: Previous chirp freq %d not found",