Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt.c246 struct twt_interval_float twt_interval_fp; in nrf_wifi_twt_us_to_float() local
252 twt_interval_fp.mantissa = ceil(mantissa * 1000); in nrf_wifi_twt_us_to_float()
253 twt_interval_fp.exponent = exponent; in nrf_wifi_twt_us_to_float()
255 return twt_interval_fp; in nrf_wifi_twt_us_to_float()
258 static uint64_t nrf_wifi_twt_float_to_us(struct twt_interval_float twt_interval_fp) in nrf_wifi_twt_float_to_us() argument
261 return floor(ldexp(twt_interval_fp.mantissa, twt_interval_fp.exponent) / (1000)) * in nrf_wifi_twt_float_to_us()
407 struct twt_interval_float twt_interval_fp; in nrf_wifi_event_proc_get_power_save_info() local
419 twt_interval_fp.mantissa = twt_rpu->twt_target_wake_interval_mantissa; in nrf_wifi_event_proc_get_power_save_info()
420 twt_interval_fp.exponent = twt_rpu->twt_target_wake_interval_exponent; in nrf_wifi_event_proc_get_power_save_info()
421 twt_zep->twt_interval = nrf_wifi_twt_float_to_us(twt_interval_fp); in nrf_wifi_event_proc_get_power_save_info()
[all …]