Lines Matching refs:wait_time

194 	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
618 wait_time = hapd->dpp_resp_wait_time ? in hostapd_dpp_reply_wait_timeout()
625 wait_time, diff_ms); in hostapd_dpp_reply_wait_timeout()
627 if (auth->auth_req_ack && diff_ms >= wait_time) { in hostapd_dpp_reply_wait_timeout()
640 if (diff_ms >= wait_time) { in hostapd_dpp_reply_wait_timeout()
657 wait_time -= diff_ms; in hostapd_dpp_reply_wait_timeout()
664 freq, wait_time); in hostapd_dpp_reply_wait_timeout()
674 eloop_register_timeout(wait_time / 1000, (wait_time % 1000) * 1000, 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
761 wait_time = hapd->dpp_init_retry_time; in hostapd_dpp_auth_init_next()
763 wait_time = 10000; in hostapd_dpp_auth_init_next()
767 if (used > wait_time) in hostapd_dpp_auth_init_next()
768 wait_time = 0; in hostapd_dpp_auth_init_next()
770 wait_time -= used; in hostapd_dpp_auth_init_next()
772 wait_time); in hostapd_dpp_auth_init_next()
773 eloop_register_timeout(wait_time / 1000, in hostapd_dpp_auth_init_next()
774 (wait_time % 1000) * 1000, in hostapd_dpp_auth_init_next()
790 wait_time = 2000; /* TODO: hapd->max_remain_on_chan; */ in hostapd_dpp_auth_init_next()
793 if (wait_time > max_wait_time) in hostapd_dpp_auth_init_next()
794 wait_time = max_wait_time; in hostapd_dpp_auth_init_next()
795 wait_time += 10; /* give the driver some extra time to complete */ in hostapd_dpp_auth_init_next()
796 eloop_register_timeout(wait_time / 1000, (wait_time % 1000) * 1000, in hostapd_dpp_auth_init_next()
798 wait_time -= 10; in hostapd_dpp_auth_init_next()
809 return hostapd_drv_send_action(hapd, freq, wait_time, in hostapd_dpp_auth_init_next()
1764 unsigned int wait_time, max_wait_time; in hostapd_dpp_rx_reconfig_announcement() local
1828 wait_time = 2000; /* TODO: hapd->max_remain_on_chan; */ in hostapd_dpp_rx_reconfig_announcement()
1831 if (wait_time > max_wait_time) in hostapd_dpp_rx_reconfig_announcement()
1832 wait_time = max_wait_time; in hostapd_dpp_rx_reconfig_announcement()
1833 wait_time += 10; /* give the driver some extra time to complete */ in hostapd_dpp_rx_reconfig_announcement()
1834 eloop_register_timeout(wait_time / 1000, (wait_time % 1000) * 1000, in hostapd_dpp_rx_reconfig_announcement()
1837 wait_time -= 10; in hostapd_dpp_rx_reconfig_announcement()
1842 if (hostapd_drv_send_action(hapd, freq, wait_time, src, in hostapd_dpp_rx_reconfig_announcement()