From d0a4e61d803d5b67516c1e7aa942d4c70f3fbe79 Mon Sep 17 00:00:00 2001 From: Ajay Parida Date: Thu, 6 Jun 2024 16:48:31 +0530 Subject: [PATCH] nrf_wifi: Interface file change for quiet period Interface file change for supporting quiet period. Signed-off-by: Ajay Parida --- nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_sys_if.h | 2 ++ nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_umac_if.h | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_sys_if.h b/nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_sys_if.h index d0bd974337..2dd87ad779 100644 --- a/nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_sys_if.h +++ b/nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_sys_if.h @@ -1026,6 +1026,8 @@ struct rpu_conf_params { unsigned char country_code[NRF_WIFI_COUNTRY_CODE_LEN]; /** Contention window value to be configured */ unsigned int tx_pkt_cw; + /** Quiet period in seconds*/ + unsigned int quiet_period; } __NRF_WIFI_PKD; /** diff --git a/nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_umac_if.h b/nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_umac_if.h index 1417324407..6f198d2f0c 100644 --- a/nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_umac_if.h +++ b/nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_umac_if.h @@ -143,7 +143,9 @@ enum nrf_wifi_umac_commands { /** Set listen interval @ref nrf_wifi_umac_cmd_set_listen_interval */ NRF_WIFI_UMAC_CMD_SET_LISTEN_INTERVAL, /** Configure extended power save @ref nrf_wifi_umac_cmd_config_extended_ps */ - NRF_WIFI_UMAC_CMD_CONFIG_EXTENDED_PS + NRF_WIFI_UMAC_CMD_CONFIG_EXTENDED_PS, + /** Configure quiet period @ref nrf_wifi_umac_cmd_config_quiet_period */ + NRF_WIFI_UMAC_CMD_CONFIG_QUIET_PERIOD, }; /** @@ -3514,4 +3516,15 @@ struct nrf_wifi_umac_event_cmd_status { unsigned int cmd_status; } __NRF_WIFI_PKD; +/** + * @brief This structure represents the command used to configure quiet period. + * + */ +struct nrf_wifi_umac_cmd_config_quiet_period { + /** Header @ref nrf_wifi_umac_hdr */ + struct nrf_wifi_umac_hdr umac_hdr; + /** quiet period value in seconds */ + unsigned int quiet_period_in_sec; +} __NRF_WIFI_PKD; + #endif /* __HOST_RPU_UMAC_IF_H */