Home
last modified time | relevance | path

Searched refs:wait_time (Results 1 – 25 of 25) sorted by relevance

/hostap-latest/wpa_supplicant/
Doffchannel.c261 const u8 *buf, size_t len, unsigned int wait_time, in offchannel_send_action() argument
312 wpa_s->action_tx_wait_time = wait_time; in offchannel_send_action()
313 if (wait_time) in offchannel_send_action()
318 wait_time, wpa_s->pending_action_dst, in offchannel_send_action()
361 if (wait_time > wpa_s->max_remain_on_chan) in offchannel_send_action()
362 wait_time = wpa_s->max_remain_on_chan; in offchannel_send_action()
363 else if (wait_time == 0) in offchannel_send_action()
364 wait_time = 20; in offchannel_send_action()
368 wait_time, wait_time + wpa_s->extra_roc_dur); in offchannel_send_action()
369 wait_time += wpa_s->extra_roc_dur; in offchannel_send_action()
[all …]
Ddpp_supplicant.c218 unsigned int wait_time, max_tries; in wpas_dpp_auth_resp_retry() local
237 wait_time = wpa_s->dpp_resp_retry_time; in wpas_dpp_auth_resp_retry()
239 wait_time = 1000; in wpas_dpp_auth_resp_retry()
242 if (wait_time > 100) in wpas_dpp_auth_resp_retry()
243 wait_time = 100; in wpas_dpp_auth_resp_retry()
248 wait_time); in wpas_dpp_auth_resp_retry()
250 eloop_register_timeout(wait_time / 1000, in wpas_dpp_auth_resp_retry()
251 (wait_time % 1000) * 1000, in wpas_dpp_auth_resp_retry()
274 unsigned int wait_time) in wpas_dpp_stop_listen_for_tx() argument
289 if (wpa_s->dpp_listen_freq == freq && remaining > wait_time) in wpas_dpp_stop_listen_for_tx()
[all …]
Dnan_usd.c55 unsigned int wait_time; member
87 unsigned int wait_time, const u8 *dst, in wpas_nan_de_tx_send() argument
98 wait_time, wpas_nan_de_tx_status, 1); 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()
142 twork->wait_time = wait_time; in wpas_nan_de_tx()
Dgas_query.c285 struct wpabuf *req, unsigned int wait_time) in gas_query_tx() argument
303 wait_time > gas->wpa_s->max_remain_on_chan) in gas_query_tx()
304 wait_time = gas->wpa_s->max_remain_on_chan; in gas_query_tx()
316 wpabuf_len(req), wait_time, in gas_query_tx()
329 unsigned int wait_time; in gas_query_tx_comeback_req() local
337 wait_time = (query->retry || !query->offchannel_tx_started) ? in gas_query_tx_comeback_req()
340 if (gas_query_tx(gas, query, req, wait_time) < 0) { in gas_query_tx_comeback_req()
Doffchannel.h15 const u8 *buf, size_t len, unsigned int wait_time,
Dp2p_supplicant.c1498 unsigned int wait_time; member
1512 MAC2STR(awork->bssid), awork->wait_time); in wpas_p2p_free_send_action_work()
1543 wpa_s->p2p_send_action_work, awork->wait_time); in wpas_p2p_action_tx_clear()
1544 if (awork->wait_time == 0) { in wpas_p2p_action_tx_clear()
1556 0, awork->wait_time * 1000, in wpas_p2p_action_tx_clear()
1628 awork->wait_time, in wpas_send_action_cb()
1641 size_t len, unsigned int wait_time) in wpas_send_action_work() argument
1659 awork->wait_time = wait_time; in wpas_send_action_work()
1674 size_t len, unsigned int wait_time, int *scheduled) in wpas_send_action() argument
1691 len, wait_time); in wpas_send_action()
[all …]
Dwpa_supplicant.c7011 struct wpabuf *buf, unsigned int wait_time) in wpas_gas_server_tx() argument
7016 if (wait_time > wpa_s->max_remain_on_chan) in wpas_gas_server_tx()
7017 wait_time = wpa_s->max_remain_on_chan; in wpas_gas_server_tx()
7021 wait_time, wpas_gas_server_tx_status, 0); in wpas_gas_server_tx()
Dctrl_iface.c9464 int freq = 0, no_cck = 0, wait_time = 0; in wpas_ctrl_iface_mgmt_tx() local
9498 wait_time = atoi(param); in wpas_ctrl_iface_mgmt_tx()
9521 buf, len, wait_time, in wpas_ctrl_iface_mgmt_tx()
/hostap-latest/src/p2p/
Dp2p_dev_disc.c71 unsigned int wait_time; in p2p_send_dev_disc_req() local
92 wait_time = 1000; in p2p_send_dev_disc_req()
93 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_send_dev_disc_req()
94 wait_time = p2p->cfg->max_listen; in p2p_send_dev_disc_req()
97 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_send_dev_disc_req()
Dp2p_sd.c277 unsigned int wait_time; in p2p_start_sd() local
310 wait_time = 5000; in p2p_start_sd()
311 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_start_sd()
312 wait_time = p2p->cfg->max_listen; in p2p_start_sd()
315 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_start_sd()
427 unsigned int wait_time = 200; in p2p_sd_response() local
462 wait_time = 0; /* no more SD frames in the sequence */ in p2p_sd_response()
473 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_sd_response()
635 unsigned int wait_time = 200; in p2p_rx_gas_comeback_req() local
688 wait_time = 0; /* no more SD frames in the sequence */ in p2p_rx_gas_comeback_req()
[all …]
Dp2p_i.h890 size_t len, unsigned int wait_time);
Dp2p.h691 size_t len, unsigned int wait_time, int *scheduled);
Dp2p.c4993 size_t len, unsigned int wait_time) in p2p_send_action() argument
4998 buf, len, wait_time, &scheduled); in p2p_send_action()
/hostap-latest/src/ap/
Ddpp_hostapd.c194 unsigned int wait_time, max_tries; in hostapd_dpp_auth_resp_retry() local
214 wait_time = hapd->dpp_resp_retry_time; in hostapd_dpp_auth_resp_retry()
216 wait_time = 1000; in hostapd_dpp_auth_resp_retry()
219 wait_time); in hostapd_dpp_auth_resp_retry()
221 eloop_register_timeout(wait_time / 1000, in hostapd_dpp_auth_resp_retry()
222 (wait_time % 1000) * 1000, in hostapd_dpp_auth_resp_retry()
380 unsigned int wait_time; in hostapd_dpp_pkex_init() local
406 wait_time = 2000; /* TODO: hapd->max_remain_on_chan; */ in hostapd_dpp_pkex_init()
414 pkex->exch_req_wait_time = wait_time; in hostapd_dpp_pkex_init()
613 unsigned int wait_time, diff_ms; in hostapd_dpp_reply_wait_timeout() local
[all …]
Daccounting.c464 unsigned int i, wait_time; in accounting_interim_error_cb() local
491 wait_time = 0; in accounting_interim_error_cb()
493 wait_time = 3; /* RADIUS_CLIENT_FIRST_WAIT */ in accounting_interim_error_cb()
495 wait_time *= 2; in accounting_interim_error_cb()
497 res = eloop_deplete_timeout(wait_time, 0, accounting_interim_update, in accounting_interim_error_cb()
503 MAC2STR(addr), sta->acct_interim_errors, wait_time); in accounting_interim_error_cb()
Dgas_query_ap.c262 struct wpabuf *req, unsigned int wait_time) in gas_query_tx() argument
275 res = hostapd_drv_send_action(gas->hapd, query->freq, wait_time, in gas_query_tx()
286 unsigned int wait_time; in gas_query_tx_comeback_req() local
294 wait_time = (query->retry || !query->offchannel_tx_started) ? in gas_query_tx_comeback_req()
297 if (gas_query_tx(gas, query, req, wait_time) < 0) { in gas_query_tx_comeback_req()
Dnan_usd_ap.c20 unsigned int wait_time, in hostapd_nan_de_tx() argument
/hostap-latest/src/common/
Dgas_server.c53 unsigned int wait_time);
276 unsigned int wait_time = 0; in gas_server_handle_rx_comeback_req() local
338 wait_time = 2000; in gas_server_handle_rx_comeback_req()
341 gas->tx(gas->ctx, response->freq, response->dst, resp, wait_time); in gas_server_handle_rx_comeback_req()
554 unsigned int wait_time)) in gas_server_init() argument
Dnan_de.c183 unsigned int wait_time, in nan_de_tx() argument
192 res = de->cb.tx(de->cb.ctx, freq, wait_time, dst, src, bssid, buf); in nan_de_tx()
197 de->tx_wait_end_freq = wait_time ? freq : 0; in nan_de_tx()
204 unsigned int wait_time, in nan_de_tx_sdf() argument
271 nan_de_tx(de, srv->freq, wait_time, dst, de->nmi, wildcard_bssid, buf); in nan_de_tx_sdf()
334 unsigned int wait_time = 100; in nan_de_tx_multicast() local
345 wait_time = ms; in nan_de_tx_multicast()
352 nan_de_tx_sdf(de, srv, wait_time, type, nan_network_id, in nan_de_tx_multicast()
Dgas_server.h22 unsigned int wait_time));
Dnan_de.h30 int (*tx)(void *ctx, unsigned int freq, unsigned int wait_time,
/hostap-latest/tests/fuzzing/p2p/
Dp2p.c56 size_t len, unsigned int wait_time, int *scheduled) in send_action() argument
/hostap-latest/src/drivers/
Ddriver_zephyr.h293 unsigned int wait_time,
Ddriver_zephyr.c1903 unsigned int wait_time, in wpa_drv_zep_send_action() argument
1920 freq, wait_time, no_cck); in wpa_drv_zep_send_action()
1937 wait_time, 0); in wpa_drv_zep_send_action()
Ddriver_nl80211.c4245 unsigned int wait_time, in wpa_driver_nl80211_send_mlme() argument
4264 noack, freq, no_cck, offchanok, wait_time, in wpa_driver_nl80211_send_mlme()
4281 wait_time = 0; in wpa_driver_nl80211_send_mlme()
4296 wait_time = 0; in wpa_driver_nl80211_send_mlme()
4389 res = nl80211_send_frame_cmd(bss, freq, wait_time, data, data_len, in wpa_driver_nl80211_send_mlme()
9163 unsigned int wait_time, in wpa_driver_nl80211_send_action() argument
9185 drv->ifindex, freq, wait_time, no_cck, offchanok, in wpa_driver_nl80211_send_action()
9235 wait_time, NULL, 0, 0, -1); in wpa_driver_nl80211_send_action()
9237 ret = nl80211_send_frame_cmd(bss, freq, wait_time, buf, in wpa_driver_nl80211_send_action()
10907 unsigned int wait_time, in driver_nl80211_send_action() argument
[all …]