Skip to content

Commit

Permalink
nrf_wifi: Interface file change for quiet period
Browse files Browse the repository at this point in the history
Interface file change for supporting quiet period.

Signed-off-by: Ajay Parida <[email protected]>
  • Loading branch information
ajayparida committed Jun 12, 2024
1 parent b1a5181 commit d0a4e61
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_sys_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down
15 changes: 14 additions & 1 deletion nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_umac_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

/**
Expand Down Expand Up @@ -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 */

0 comments on commit d0a4e61

Please sign in to comment.