Lines Matching refs:update_time
266 struct os_reltime *update_time) in calculate_update_time() argument
270 update_time->sec = fetch_time->sec; in calculate_update_time()
271 update_time->usec = fetch_time->usec; in calculate_update_time()
272 update_time->sec -= age_ms / 1000; in calculate_update_time()
274 if (update_time->usec < usec) { in calculate_update_time()
275 update_time->sec--; in calculate_update_time()
276 update_time->usec += 1000000; in calculate_update_time()
278 update_time->usec -= usec; in calculate_update_time()
620 struct os_reltime update_time; in wpa_bss_update() local
632 calculate_update_time(fetch_time, res->age, &update_time); in wpa_bss_update()
640 (unsigned int) update_time.sec, in wpa_bss_update()
641 (unsigned int) update_time.usec, in wpa_bss_update()
646 !os_reltime_before(&bss->last_update, &update_time))) { in wpa_bss_update()