Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrf_wifi: Configure the AP dead detection timeout #1298

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified nrf_wifi/fw_bins/default/nrf70.bin
Binary file not shown.
Binary file modified nrf_wifi/fw_bins/radio_test/nrf70.bin
Binary file not shown.
Binary file modified nrf_wifi/fw_bins/scan_only/nrf70.bin
Binary file not shown.
Binary file modified nrf_wifi/fw_bins/system_with_raw/nrf70.bin
Binary file not shown.
4 changes: 4 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 @@ -870,6 +870,10 @@ struct nrf_wifi_cmd_sys_init {
* If a user wishes to turn it off, they should set this parameter to 1.
*/
unsigned int disable_beamforming;
/** The RPU uses this value (in seconds) to decide how long to wait
* without receiving beacons before disconnection.
*/
unsigned int discon_timeout;
} __NRF_WIFI_PKD;

/**
Expand Down
2 changes: 1 addition & 1 deletion nrf_wifi/fw_if/umac_if/inc/fw/lmac_if_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#define SLEEP_DISABLE 0
#define HW_DELAY 7300
#define SW_DELAY 5000
#define BCN_TIMEOUT 40000
#define BCN_TIMEOUT 20000
#define CALIB_SLEEP_CLOCK_ENABLE 1

#define ACTIVE_SCAN_DURATION 50
Expand Down
2 changes: 1 addition & 1 deletion nrf_wifi/fw_if/umac_if/inc/fw/patch_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ struct nrf70_fw_image_info {
#define RPU_FAMILY (1)
#define RPU_MAJOR_VERSION (2)
#define RPU_MINOR_VERSION (10)
#define RPU_PATCH_VERSION (1)
#define RPU_PATCH_VERSION (21)

#endif /* _PATCH_INFO_H */
1 change: 1 addition & 0 deletions nrf_wifi/fw_if/umac_if/src/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ enum nrf_wifi_status umac_cmd_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
#ifdef CONFIG_NRF700X_TCP_IP_CHECKSUM_OFFLOAD
umac_cmd_data->tcp_ip_checksum_offload = 1;
#endif /* CONFIG_NRF700X_TCP_IP_CHECKSUM_OFFLOAD */
umac_cmd_data->discon_timeout = CONFIG_NRF_WIFI_AP_DEAD_DETECT_TIMEOUT;

nrf_wifi_osal_log_dbg(fmac_dev_ctx->fpriv->opriv, "RPU LPM type: %s",
umac_cmd_data->sys_params.sleep_enable == 2 ? "HW" :
Expand Down
Loading