Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt.c394 vif_ctx_zep->ps_info->ps_params.mode = ps_info->ps_mode; in nrf_wifi_event_proc_get_power_save_info()
395 vif_ctx_zep->ps_info->ps_params.enabled = ps_info->enabled; in nrf_wifi_event_proc_get_power_save_info()
397 vif_ctx_zep->ps_info->ps_params.timeout_ms = ps_info->ps_timeout; in nrf_wifi_event_proc_get_power_save_info()
398 vif_ctx_zep->ps_info->ps_params.listen_interval = ps_info->listen_interval; in nrf_wifi_event_proc_get_power_save_info()
399 vif_ctx_zep->ps_info->ps_params.wakeup_mode = ps_info->extended_ps; in nrf_wifi_event_proc_get_power_save_info()
401 vif_ctx_zep->ps_info->ps_params.exit_strategy = WIFI_PS_EXIT_EVERY_TIM; in nrf_wifi_event_proc_get_power_save_info()
403 vif_ctx_zep->ps_info->ps_params.exit_strategy = WIFI_PS_EXIT_CUSTOM_ALGO; in nrf_wifi_event_proc_get_power_save_info()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c819 struct wifi_ps_params *ps_params = data; in wifi_set_power_save() local
826 switch (ps_params->type) { in wifi_set_power_save()
831 ps_params->fail_reason = in wifi_set_power_save()
837 ps_params->fail_reason = in wifi_set_power_save()
847 if (ps_params->exit_strategy > WIFI_PS_EXIT_MAX) { in wifi_set_power_save()
848 ps_params->fail_reason = in wifi_set_power_save()
854 ps_params->fail_reason = in wifi_set_power_save()
859 return wifi_mgmt_api->set_power_save(dev, ps_params); in wifi_set_power_save()
Dwifi_shell.c1397 wifi_ps_txt(config.ps_params.enabled)); in cmd_wifi_ps()
1398 if (config.ps_params.enabled) { in cmd_wifi_ps()
1400 wifi_ps_mode_txt(config.ps_params.mode)); in cmd_wifi_ps()
1404 config.ps_params.listen_interval); in cmd_wifi_ps()
1407 config.ps_params.wakeup_mode ? "Listen interval" : "DTIM"); in cmd_wifi_ps()
1409 if (config.ps_params.timeout_ms) { in cmd_wifi_ps()
1411 config.ps_params.timeout_ms); in cmd_wifi_ps()
1417 wifi_ps_exit_strategy_txt(config.ps_params.exit_strategy)); in cmd_wifi_ps()
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c1400 config->ps_params.enabled = WIFI_PS_ENABLED; in nxp_wifi_get_power_save()
1402 config->ps_params.enabled = WIFI_PS_DISABLED; in nxp_wifi_get_power_save()
1405 config->ps_params.listen_interval = wlan_get_listen_interval(); in nxp_wifi_get_power_save()
1407 config->ps_params.timeout_ms = wlan_get_delay_to_ps(); in nxp_wifi_get_power_save()
1408 if (config->ps_params.listen_interval) { in nxp_wifi_get_power_save()
1409 config->ps_params.wakeup_mode = WIFI_PS_WAKEUP_MODE_LISTEN_INTERVAL; in nxp_wifi_get_power_save()
1411 config->ps_params.wakeup_mode = WIFI_PS_WAKEUP_MODE_DTIM; in nxp_wifi_get_power_save()
1415 config->ps_params.mode = WIFI_PS_MODE_WMM; in nxp_wifi_get_power_save()
1417 config->ps_params.mode = WIFI_PS_MODE_LEGACY; in nxp_wifi_get_power_save()
/Zephyr-latest/include/zephyr/net/
Dwifi_mgmt.h884 struct wifi_ps_params ps_params; member