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 Sep 20, 2024
1 parent 51eae01 commit a1ec0b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nrf_wifi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ target_sources_ifdef(CONFIG_NRF700X_STA_MODE
${NRF_WIFI_DIR}/fw_if/umac_if/src/fmac_util.c
)

target_compile_definitions_ifdef(CONFIG_NRF_WIFI_LOW_POWER
nrf-wifi
PRIVATE
-DCONFIG_NRF_WIFI_LOW_POWER
)

target_compile_definitions(
nrf-wifi
PRIVATE
Expand Down
Binary file modified nrf_wifi/fw_bins/scan_only/nrf70.bin
Binary file not shown.
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 a1ec0b0

Please sign in to comment.