Home
last modified time | relevance | path

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

12

/hal_espressif-latest/components/wpa_supplicant/port/
Deloop.c105 now_sec = timeout->time.sec; in eloop_register_timeout_debug()
106 timeout->time.sec += secs; in eloop_register_timeout_debug()
107 if (timeout->time.sec < now_sec) { in eloop_register_timeout_debug()
112 timeout->time.sec++; in eloop_register_timeout_debug()
115 if (timeout->time.sec < now_sec) { in eloop_register_timeout_debug()
233 remaining->sec = remaining->usec = 0; in eloop_cancel_timeout_one()
278 requested.sec = req_secs; in eloop_deplete_timeout()
285 eloop_register_timeout(requested.sec, in eloop_deplete_timeout()
309 requested.sec = req_secs; in eloop_replenish_timeout()
316 eloop_register_timeout(requested.sec, in eloop_replenish_timeout()
[all …]
Dos_xtensa.c37 t->sec = (os_time_t) tv.tv_sec; in os_get_time()
53 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument
55 if (sec) { in os_sleep()
56 sleep(sec); in os_sleep()
/hal_espressif-latest/zephyr/port/wifi/wpa_supplicant/
Dos_xtensa.c39 t->sec = now / CONFIG_SYS_CLOCK_TICKS_PER_SEC; in os_get_time()
56 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument
58 if (sec) { in os_sleep()
59 k_sleep(K_SECONDS(sec)); in os_sleep()
/hal_espressif-latest/components/bt/common/osi/
Dconfig.c221 section_t *sec = section_find(config, section); in config_set_string() local
222 if (!sec) { in config_set_string()
223 sec = section_new(section); in config_set_string()
225 list_append(config->sections, sec); in config_set_string()
227 list_prepend(config->sections, sec); in config_set_string()
231 …for (const list_node_t *node = list_begin(sec->entries); node != list_end(sec->entries); node = li… in config_set_string()
241 list_append(sec->entries, entry); in config_set_string()
249 section_t *sec = section_find(config, section); in config_remove_section() local
250 if (!sec) { in config_remove_section()
254 return list_remove(config->sections, sec); in config_remove_section()
[all …]
/hal_espressif-latest/components/wpa_supplicant/port/include/
Dos.h43 void os_sleep(os_time_t sec, os_time_t usec);
46 os_time_t sec; member
53 int sec; /* 0..59 or 60 for leap seconds */ member
72 ((a)->sec < (b)->sec || \
73 ((a)->sec == (b)->sec && (a)->usec < (b)->usec))
77 (res)->sec = (a)->sec - (b)->sec; \
80 (res)->sec--; \
101 int os_mktime(int year, int month, int day, int hour, int min, int sec,
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dcommon.c133 u32 sec, usec; in wpa_get_ntp_timestamp() local
138 sec = now.sec + 2208988800U; /* Epoch to 1900 */ in wpa_get_ntp_timestamp()
142 tmp = host_to_be32(sec); in wpa_get_ntp_timestamp()
491 tm->sec = tm2->tm_sec; in os_gmtime()
500 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
506 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime()
507 sec > 60) in os_mktime()
516 tm.tm_sec = sec; in os_mktime()
538 return (age.sec > timeout_secs) || in os_reltime_expired()
539 (age.sec == timeout_secs && age.usec > 0); in os_reltime_expired()
[all …]
Dwpa_debug.c78 wpa_printf(MSG_DEBUG, "%ld.%06u: ", (long) tv.sec, (unsigned int) tv.usec); in wpa_debug_print_timestamp()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dpmksa_cache_auth.c112 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire()
124 int sec; in pmksa_cache_set_expiration() local
131 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration()
132 if (sec < 0) in pmksa_cache_set_expiration()
133 sec = 0; in pmksa_cache_set_expiration()
134 eloop_register_timeout(sec + 1, 0, pmksa_cache_expire, pmksa, NULL); in pmksa_cache_set_expiration()
267 entry->expiration = now.sec; in pmksa_cache_auth_create_entry()
433 (int) (entry->expiration - now.sec), in pmksa_cache_auth_list()
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dpmksa_cache.c60 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire()
73 int sec; in pmksa_cache_set_expiration() local
81 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration()
82 if (sec < 0) in pmksa_cache_set_expiration()
83 sec = 0; in pmksa_cache_set_expiration()
85 eloop_register_timeout(sec + 1, 0, pmksa_cache_expire, pmksa, NULL); in pmksa_cache_set_expiration()
135 entry->expiration = now.sec + dot11RSNAConfigPMKLifetime; in pmksa_cache_add()
136 entry->reauth_time = now.sec + dot11RSNAConfigPMKLifetime * in pmksa_cache_add()
484 (int) (entry->expiration - now.sec), in pmksa_cache_list()
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dscan.c28 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec) in wpa_supplicant_req_scan() argument
33 os_sleep(sec, usec); in wpa_supplicant_req_scan()
Dscan.h20 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
Dsae_pk.c407 tmp->sec = (pw[0] & BIT(7)) ? 3 : 5; in sae_pk_set_password()
409 tmp->fingerprint_bits = 8 * tmp->sec + 19 * tmp->lambda / 4 - 5; in sae_pk_set_password()
411 tmp->sec, tmp->lambda, tmp->fingerprint_bits); in sae_pk_set_password()
415 pos = &tmp->fingerprint[tmp->sec]; in sae_pk_set_password()
416 bits = tmp->fingerprint_bits - 8 * tmp->sec; in sae_pk_set_password()
Dbss.c79 update_time->sec = fetch_time->sec; in calculate_update_time()
81 update_time->sec -= age_ms / 1000; in calculate_update_time()
84 update_time->sec--; in calculate_update_time()
Dsae.h79 unsigned int sec; member
Dmbo.c542 unsigned int sec, int rssi_threshold) in wpa_bss_tmp_disallow() argument
563 eloop_register_timeout(sec, 0, wpa_bss_tmp_disallow_timeout, in wpa_bss_tmp_disallow()
/hal_espressif-latest/tools/esptool_py/test/
Dtest_imagegen.py227 sections = [sec for sec in sections if sec not in mergedsections]
228 for sec in sections:
229 self.assertImageContainsSection(image, elfpath, sec)
230 for sec in mergedsections:
231 self.assertImageDoesNotContainSection(image, elfpath, sec)
/hal_espressif-latest/components/newlib/
Dtime.c123 int64_t sec = delta->tv_sec; in adjtime() local
125 if(llabs(sec) > ((INT_MAX / 1000000L) - 1L)) { in adjtime()
138 s_adjtime_total_correction_us = sec * 1000000L + usec; in adjtime()
/hal_espressif-latest/components/bt/host/bluedroid/btc/include/btc/
Dbtc_dm.h21 tBTA_DM_SEC sec; member
/hal_espressif-latest/components/esp_wifi/include/
Desp_wifi.h1245 esp_err_t esp_wifi_set_inactive_time(wifi_interface_t ifx, uint16_t sec);
1259 esp_err_t esp_wifi_get_inactive_time(wifi_interface_t ifx, uint16_t *sec);
/hal_espressif-latest/zephyr/port/wifi/
Dwifi_stubs.c1157 esp_err_t esp_wifi_set_inactive_time(wifi_interface_t ifx, uint16_t sec) in esp_wifi_set_inactive_time() argument
1160 ARG_UNUSED(sec); in esp_wifi_set_inactive_time()
1164 esp_err_t esp_wifi_get_inactive_time(wifi_interface_t ifx, uint16_t *sec) in esp_wifi_get_inactive_time() argument
1167 ARG_UNUSED(sec); in esp_wifi_get_inactive_time()
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dx509v3.c576 int year, month, day, hour, min, sec; in x509_parse_time() local
662 sec = parse_uint2(pos, end - pos); in x509_parse_time()
663 if (sec < 0) { in x509_parse_time()
669 if (os_mktime(year, month, day, hour, min, sec, val) < 0) { in x509_parse_time()
2166 ((unsigned long) now.sec < in x509_certificate_chain_validate()
2168 (unsigned long) now.sec > in x509_certificate_chain_validate()
2172 now.sec, cert->not_before, cert->not_after); in x509_certificate_chain_validate()
Dtlsv1_client_ocsp.c262 if ((unsigned long) now.sec < (unsigned long) update) { in tls_process_ocsp_single_response()
286 if ((unsigned long) now.sec > (unsigned long) update) { in tls_process_ocsp_single_response()
Dtlsv1_client_write.c64 now.sec = 0xfffefdfc; in tls_send_client_hello()
66 WPA_PUT_BE32(conn->client_random, now.sec); in tls_send_client_hello()
Dtlsv1_server_write.c57 now.sec = 0xfffefdfc; in tls_write_server_hello()
59 WPA_PUT_BE32(conn->server_random, now.sec); in tls_write_server_hello()
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/
Dspi-flash-modes.rst48 … data rate for normal SPI is the clock rate in bits - so a 40MHz clock = 40Mbits/sec = 5Mbytes/sec.

12