Searched refs:twt_interval_fp (Results 1 – 1 of 1) sorted by relevance
246 struct twt_interval_float twt_interval_fp; in nrf_wifi_twt_us_to_float() local252 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() argument261 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() local419 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 …]