Home
last modified time | relevance | path

Searched refs:age (Results 1 – 21 of 21) sorted by relevance

/hostap-3.7.0/src/utils/
Dos.h94 struct os_reltime *age) in os_reltime_age() argument
99 os_reltime_sub(&now, start, age); in os_reltime_age()
107 struct os_reltime age; in os_reltime_expired() local
109 os_reltime_sub(now, ts, &age); in os_reltime_expired()
110 return (age.sec > timeout_secs) || in os_reltime_expired()
111 (age.sec == timeout_secs && age.usec > 0); in os_reltime_expired()
/hostap-3.7.0/wpa_supplicant/
Dbss.c313 calculate_update_time(fetch_time, src->age, &dst->last_update); in wpa_bss_copy_res()
648 calculate_update_time(fetch_time, res->age, &update_time); in wpa_bss_update()
777 calculate_update_time(fetch_time, res->age, &update); in wpa_bss_update_scan_res()
779 struct os_reltime age; in wpa_bss_update_scan_res() local
781 &age); in wpa_bss_update_scan_res()
785 (unsigned int) age.sec, in wpa_bss_update_scan_res()
786 (unsigned int) age.usec); in wpa_bss_update_scan_res()
950 void wpa_bss_flush_by_age(struct wpa_supplicant *wpa_s, int age) in wpa_bss_flush_by_age() argument
960 if (t.sec < age) in wpa_bss_flush_by_age()
963 t.sec -= age; in wpa_bss_flush_by_age()
Dmesh_mpm.c823 struct os_reltime age; in wpa_mesh_new_mesh_peer() local
828 os_reltime_age(&data->mesh_pending_auth_time, &age); in wpa_mesh_new_mesh_peer()
829 if (age.sec < 2 && in wpa_mesh_new_mesh_peer()
833 (unsigned int) age.sec, in wpa_mesh_new_mesh_peer()
834 (unsigned int) age.usec); in wpa_mesh_new_mesh_peer()
Dbss.h146 void wpa_bss_flush_by_age(struct wpa_supplicant *wpa_s, int age);
Devents.c3487 struct os_reltime now, age; in wpa_supplicant_event_assoc() local
3489 os_reltime_sub(&now, &wpa_s->pending_eapol_rx_time, &age); in wpa_supplicant_event_assoc()
3490 if (age.sec == 0 && age.usec < 200000 && in wpa_supplicant_event_assoc()
4940 struct os_reltime age, clear_at; in wpa_supplicant_event() local
5589 os_reltime_age(&wpa_s->last_scan, &age); in wpa_supplicant_event()
5590 if (age.sec >= wpa_s->conf->scan_res_valid_for_connect) { in wpa_supplicant_event()
5598 os_reltime_sub(&tmp, &age, &clear_at); in wpa_supplicant_event()
Drrm.c1546 scan_res->res[i]->age, in wpas_beacon_rep_scan_process()
1557 scan_res->res[i]->age, in wpas_beacon_rep_scan_process()
Dwps_supplicant.c1743 struct os_reltime age; in wpas_wps_ssid_bss_match() local
1745 os_reltime_age(&wpa_s->wps_pin_start_time, &age); in wpas_wps_ssid_bss_match()
1748 age.sec < WPS_PIN_TIME_IGNORE_SEL_REG) { in wpas_wps_ssid_bss_match()
1751 wpa_s->scan_runs, (int) age.sec); in wpas_wps_ssid_bss_match()
Dscan.c2196 r->age, r->est_throughput); in dump_scan_res()
2201 r->noise, r->level, r->flags, r->age, in dump_scan_res()
Dwnm_sta.c1357 res->age > WNM_SCAN_RESULT_AGE * 1000) in wnm_fetch_scan_results()
DREADME-HS20558 age=105
DChangeLog913 * added BSS entry age to ctrl_iface BSS command output
1064 support set/get, which allows for setting BSS cache expiration age
1083 cache expiration age and expiration scan count.
Dp2p_supplicant.c295 time_tmp_age.sec = bss->age / 1000; in wpas_p2p_scan_res_handler()
296 time_tmp_age.usec = (bss->age % 1000) * 1000; in wpas_p2p_scan_res_handler()
Dctrl_iface.c9266 res->age = atoi(pos + 5); in wpas_ctrl_iface_driver_scan_res()
/hostap-3.7.0/src/ap/
Dctrl_iface_ap.c57 struct os_reltime age; in hostapd_get_sta_conn_time() local
63 os_reltime_age(&sta->connected_time, &age); in hostapd_get_sta_conn_time()
64 secs = (unsigned long) age.sec; in hostapd_get_sta_conn_time()
Dieee802_11.c6556 struct os_reltime now, age; in handle_assoc_cb() local
6559 os_reltime_sub(&now, &sta->pending_eapol_rx->rx_time, &age); in handle_assoc_cb()
6560 if (age.sec == 0 && age.usec < 200000) { in handle_assoc_cb()
/hostap-3.7.0/wpa_supplicant/dbus/
Ddbus_new_handlers.c2464 dbus_uint32_t age; in wpas_dbus_handler_flush_bss() local
2466 dbus_message_get_args(message, NULL, DBUS_TYPE_UINT32, &age, in wpas_dbus_handler_flush_bss()
2469 if (age == 0) in wpas_dbus_handler_flush_bss()
2472 wpa_bss_flush_by_age(wpa_s, age); in wpas_dbus_handler_flush_bss()
5408 u32 age; in wpas_dbus_getter_bss_age() local
5416 age = diff.sec > 0 ? diff.sec : 0; in wpas_dbus_getter_bss_age()
5417 return wpas_dbus_simple_property_getter(iter, DBUS_TYPE_UINT32, &age, in wpas_dbus_getter_bss_age()
/hostap-3.7.0/src/drivers/
Ddriver_nl80211_scan.c781 r->age = nla_get_u32(bss[NL80211_BSS_SEEN_MS_AGO]); in nl80211_parse_bss_info()
795 r->age = ((u64) ts.tv_sec * 1000000000 + in nl80211_parse_bss_info()
Ddriver_nl80211_event.c2928 struct os_reltime now, age; in do_process_drv_event() local
2931 os_reltime_sub(&now, &drv->pending_roam_ind_time, &age); in do_process_drv_event()
2932 if (age.sec == 0 && age.usec < 100000) { in do_process_drv_event()
Ddriver.h368 unsigned int age; member
/hostap-3.7.0/hostapd/
Dctrl_iface.c3046 struct os_reltime age; in hostapd_ctrl_iface_track_sta_list() local
3049 os_reltime_sub(&now, &info->last_seen, &age); in hostapd_ctrl_iface_track_sta_list()
3051 MAC2STR(info->addr), (unsigned int) age.sec, in hostapd_ctrl_iface_track_sta_list()
/hostap-3.7.0/doc/
Ddbus.doxygen653 <h3>FlushBSS ( u : age ) --> nothing</h3>
657 <dt>u : age</dt>
658 <dd>Maximum age in seconds for BSS entries to keep in cache (0 = remove all entries).</dd>