Lines Matching refs:params
29 struct wifi_ps_params *params) in nrf_wifi_set_power_save() argument
37 if (!dev || !params) { in nrf_wifi_set_power_save()
62 switch (params->type) { in nrf_wifi_set_power_save()
64 if ((params->listen_interval < in nrf_wifi_set_power_save()
66 (params->listen_interval > in nrf_wifi_set_power_save()
68 params->fail_reason = in nrf_wifi_set_power_save()
75 params->listen_interval); in nrf_wifi_set_power_save()
88 params->fail_reason = in nrf_wifi_set_power_save()
96 params->timeout_ms); in nrf_wifi_set_power_save()
99 if (params->mode == WIFI_PS_MODE_WMM) { in nrf_wifi_set_power_save()
110 params->enabled); in nrf_wifi_set_power_save()
116 params->wakeup_mode); in nrf_wifi_set_power_save()
121 if (params->exit_strategy == WIFI_PS_EXIT_EVERY_TIM) { in nrf_wifi_set_power_save()
123 } else if (params->exit_strategy == WIFI_PS_EXIT_CUSTOM_ALGO) { in nrf_wifi_set_power_save()
126 params->fail_reason = in nrf_wifi_set_power_save()
137 params->fail_reason = in nrf_wifi_set_power_save()
144 __func__, params->type); in nrf_wifi_set_power_save()
145 params->fail_reason = in nrf_wifi_set_power_save()