Skip to content

Commit

Permalink
nrf_wifi: Scan fixes
Browse files Browse the repository at this point in the history
Enable management buffer offload for scan and also pass missing args.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed Jul 27, 2024
1 parent 5fb6e77 commit ab72dcd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions nrf_wifi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ target_sources_ifdef(CONFIG_NRF700X_STA_MODE
target_compile_definitions(
nrf-wifi
PRIVATE
-DCONFIG_NRF_WIFI_LOW_POWER=${CONFIG_NRF_WIFI_LOW_POWER}
-DCONFIG_NRF700X_LOG_VERBOSE=${CONFIG_NRF700X_LOG_VERBOSE}
-DCONFIG_NRF700X_SCAN_ONLY=y
-DCONFIG_WIFI_NRF700X_LOG_LEVEL=${CONFIG_WIFI_NRF700X_LOG_LEVEL}
-DCONFIG_NRF700X_MAX_TX_TOKENS=10
-DCONFIG_NRF700X_MAX_TX_AGGREGATION=12
-DCONFIG_NRF700X_RX_NUM_BUFS=63
Expand Down
9 changes: 9 additions & 0 deletions nrf_wifi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@ config NRF_WIFI
bool "Enable nRF70 OS agnostic library"
help
Enable the nRF70 OS agnostic library.

config NRF_WIFI_LOW_POWER
bool "Enable low power mode in nRF Wi-Fi chipsets"
default y

config NRF700X_LOG_VERBOSE
bool "Maintains the verbosity of information in logs"
default y

endmenu
Binary file modified nrf_wifi/fw_bins/scan_only/nrf70.bin
Binary file not shown.
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 (11)
#define RPU_PATCH_VERSION (0)
#define RPU_PATCH_VERSION (2)

#endif /* _PATCH_INFO_H */
2 changes: 2 additions & 0 deletions nrf_wifi/fw_if/umac_if/src/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ enum nrf_wifi_status umac_cmd_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
#endif /* CONFIG_NRF700X_TCP_IP_CHECKSUM_OFFLOAD */
umac_cmd_data->discon_timeout = CONFIG_NRF_WIFI_AP_DEAD_DETECT_TIMEOUT;

umac_cmd_data->mgmt_buff_offload = 1;

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

0 comments on commit ab72dcd

Please sign in to comment.