Skip to content

Commit ab72dcd

Browse files
committed
nrf_wifi: Scan fixes
Enable management buffer offload for scan and also pass missing args. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 5fb6e77 commit ab72dcd

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed

nrf_wifi/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ target_sources_ifdef(CONFIG_NRF700X_STA_MODE
107107
target_compile_definitions(
108108
nrf-wifi
109109
PRIVATE
110+
-DCONFIG_NRF_WIFI_LOW_POWER=${CONFIG_NRF_WIFI_LOW_POWER}
111+
-DCONFIG_NRF700X_LOG_VERBOSE=${CONFIG_NRF700X_LOG_VERBOSE}
112+
-DCONFIG_NRF700X_SCAN_ONLY=y
113+
-DCONFIG_WIFI_NRF700X_LOG_LEVEL=${CONFIG_WIFI_NRF700X_LOG_LEVEL}
110114
-DCONFIG_NRF700X_MAX_TX_TOKENS=10
111115
-DCONFIG_NRF700X_MAX_TX_AGGREGATION=12
112116
-DCONFIG_NRF700X_RX_NUM_BUFS=63

nrf_wifi/Kconfig

+9
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,13 @@ config NRF_WIFI
99
bool "Enable nRF70 OS agnostic library"
1010
help
1111
Enable the nRF70 OS agnostic library.
12+
13+
config NRF_WIFI_LOW_POWER
14+
bool "Enable low power mode in nRF Wi-Fi chipsets"
15+
default y
16+
17+
config NRF700X_LOG_VERBOSE
18+
bool "Maintains the verbosity of information in logs"
19+
default y
20+
1221
endmenu

nrf_wifi/fw_bins/scan_only/nrf70.bin

148 Bytes
Binary file not shown.

nrf_wifi/fw_if/umac_if/inc/fw/patch_info.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ struct nrf70_fw_image_info {
5858
#define RPU_FAMILY (1)
5959
#define RPU_MAJOR_VERSION (2)
6060
#define RPU_MINOR_VERSION (11)
61-
#define RPU_PATCH_VERSION (0)
61+
#define RPU_PATCH_VERSION (2)
6262

6363
#endif /* _PATCH_INFO_H */

nrf_wifi/fw_if/umac_if/src/cmd.c

+2
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ enum nrf_wifi_status umac_cmd_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
151151
#endif /* CONFIG_NRF700X_TCP_IP_CHECKSUM_OFFLOAD */
152152
umac_cmd_data->discon_timeout = CONFIG_NRF_WIFI_AP_DEAD_DETECT_TIMEOUT;
153153

154+
umac_cmd_data->mgmt_buff_offload = 1;
155+
154156
nrf_wifi_osal_log_dbg(fmac_dev_ctx->fpriv->opriv, "RPU LPM type: %s",
155157
umac_cmd_data->sys_params.sleep_enable == 2 ? "HW" :
156158
umac_cmd_data->sys_params.sleep_enable == 1 ? "SW" : "DISABLED");

0 commit comments

Comments
 (0)