Lines Matching refs:setup

388 				 resp->setup.responder,  in handle_wifi_twt_event()
389 resp->setup.implicit, in handle_wifi_twt_event()
390 resp->setup.announce, in handle_wifi_twt_event()
391 resp->setup.trigger, in handle_wifi_twt_event()
392 resp->setup.twt_wake_interval, in handle_wifi_twt_event()
393 resp->setup.twt_interval); in handle_wifi_twt_event()
1547 params.setup.responder = 0; in cmd_wifi_twt_setup_quick()
1548 params.setup.implicit = 1; in cmd_wifi_twt_setup_quick()
1549 params.setup.trigger = 0; in cmd_wifi_twt_setup_quick()
1550 params.setup.announce = 0; in cmd_wifi_twt_setup_quick()
1555 params.setup.twt_wake_interval = (uint32_t)value; in cmd_wifi_twt_setup_quick()
1560 params.setup.twt_interval = (uint64_t)value; in cmd_wifi_twt_setup_quick()
1563 twt_interval_scale = (double)(params.setup.twt_interval / scale); in cmd_wifi_twt_setup_quick()
1566 params.setup.twt_mantissa = ceil(twt_mantissa_scale * scale); in cmd_wifi_twt_setup_quick()
1567 params.setup.twt_exponent = exponent; in cmd_wifi_twt_setup_quick()
1702 params->setup.responder = (bool)value; in twt_args_to_params()
1709 params->setup.trigger = (bool)value; in twt_args_to_params()
1716 params->setup.implicit = (bool)value; in twt_args_to_params()
1723 params->setup.announce = (bool)value; in twt_args_to_params()
1731 params->setup.twt_wake_interval = (uint32_t)value; in twt_args_to_params()
1739 params->setup.twt_interval = (uint64_t)value; in twt_args_to_params()
1747 params->setup.twt_wake_ahead_duration = (uint32_t)value; in twt_args_to_params()
1754 params->setup.twt_info_disable = (bool)value; in twt_args_to_params()
1762 params->setup.twt_exponent = (uint8_t)value; in twt_args_to_params()
1769 params->setup.twt_mantissa = (uint16_t)value; in twt_args_to_params()
1777 if ((params->setup.twt_interval != 0) && in twt_args_to_params()
1778 ((params->setup.twt_exponent != 0) || in twt_args_to_params()
1779 (params->setup.twt_mantissa != 0))) { in twt_args_to_params()
1784 if (params->setup.twt_interval) { in twt_args_to_params()
1786 twt_interval_scale = (double)(params->setup.twt_interval / scale); in twt_args_to_params()
1789 params->setup.twt_mantissa = ceil(twt_mantissa_scale * scale); in twt_args_to_params()
1790 params->setup.twt_exponent = exponent; in twt_args_to_params()
1791 } else if ((params->setup.twt_exponent != 0) || in twt_args_to_params()
1792 (params->setup.twt_mantissa != 0)) { in twt_args_to_params()
1793 params->setup.twt_interval = floor(ldexp(params->setup.twt_mantissa, in twt_args_to_params()
1794 params->setup.twt_exponent)); in twt_args_to_params()
3479 SHELL_CMD_ARG(setup, NULL, " Start a TWT flow:\n"