Lines Matching full:freq
36 unsigned int freq, const u8 *dst, in wpas_nan_de_tx_status() argument
45 " A3=" MACSTR " freq=%d len=%zu result=%s", in wpas_nan_de_tx_status()
46 MAC2STR(dst), MAC2STR(src), MAC2STR(bssid), freq, in wpas_nan_de_tx_status()
49 nan_de_tx_status(wpa_s->nan_de, freq, dst); in wpas_nan_de_tx_status()
54 unsigned int freq; member
86 static int wpas_nan_de_tx_send(struct wpa_supplicant *wpa_s, unsigned int freq, in wpas_nan_de_tx_send() argument
92 " A3=" MACSTR " freq=%d len=%zu", in wpas_nan_de_tx_send()
93 MAC2STR(dst), MAC2STR(src), MAC2STR(bssid), freq, in wpas_nan_de_tx_send()
96 return offchannel_send_action(wpa_s, freq, dst, src, bssid, in wpas_nan_de_tx_send()
118 if (wpas_nan_de_tx_send(wpa_s, twork->freq, twork->wait_time, in wpas_nan_usd_start_tx_cb()
125 static int wpas_nan_de_tx(void *ctx, unsigned int freq, unsigned int wait_time, in wpas_nan_de_tx() argument
134 return wpas_nan_de_tx_send(wpa_s, freq, wait_time, dst, src, in wpas_nan_de_tx()
141 twork->freq = freq; in wpas_nan_de_tx()
152 if (radio_add_work(wpa_s, freq, "nan-usd-tx", 0, in wpas_nan_de_tx()
163 unsigned int freq; member
204 lwork->freq, duration); in wpas_nan_usd_start_listen_cb()
205 if (wpa_drv_remain_on_channel(wpa_s, lwork->freq, duration) < 0) { in wpas_nan_usd_start_listen_cb()
208 lwork->freq); in wpas_nan_usd_start_listen_cb()
215 static int wpas_nan_de_listen(void *ctx, unsigned int freq, in wpas_nan_de_listen() argument
224 lwork->freq = freq; in wpas_nan_de_listen()
227 if (radio_add_work(wpa_s, freq, "nan-usd-listen", 0, in wpas_nan_de_listen()
367 unsigned int freq, const u8 *buf, size_t len) in wpas_nan_usd_rx_sdf() argument
371 nan_de_rx_sdf(wpa_s->nan_de, src, freq, buf, len); in wpas_nan_usd_rx_sdf()
458 unsigned int freq, unsigned int duration) in wpas_nan_usd_remain_on_channel_cb() argument
463 nan_de_listen_started(wpa_s->nan_de, freq, duration); in wpas_nan_usd_remain_on_channel_cb()
468 unsigned int freq) in wpas_nan_usd_cancel_remain_on_channel_cb() argument
471 nan_de_listen_ended(wpa_s->nan_de, freq); in wpas_nan_usd_cancel_remain_on_channel_cb()
499 if (chan->freq < 2412 || chan->freq > 5900) in wpas_nan_usd_all_freqs()
508 int_array_add_unique(&freqs, chan->freq); in wpas_nan_usd_all_freqs()