Skip to content

Commit 7c01481

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 7c01481

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

nrf_wifi/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,18 @@ target_sources_ifdef(CONFIG_NRF700X_STA_MODE
104104
${NRF_WIFI_DIR}/fw_if/umac_if/src/fmac_util.c
105105
)
106106

107+
target_compile_definitions_ifdef(CONFIG_NRF_WIFI_LOW_POWER
108+
nrf-wifi
109+
PRIVATE
110+
-DCONFIG_NRF_WIFI_LOW_POWER
111+
)
112+
107113
target_compile_definitions(
108114
nrf-wifi
109115
PRIVATE
116+
-DCONFIG_NRF700X_LOG_VERBOSE=${CONFIG_NRF700X_LOG_VERBOSE}
117+
-DCONFIG_NRF700X_SCAN_ONLY=y
118+
-DCONFIG_WIFI_NRF700X_LOG_LEVEL=${CONFIG_WIFI_NRF700X_LOG_LEVEL}
110119
-DCONFIG_NRF700X_MAX_TX_TOKENS=10
111120
-DCONFIG_NRF700X_MAX_TX_AGGREGATION=12
112121
-DCONFIG_NRF700X_RX_NUM_BUFS=63

nrf_wifi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ config NRF_WIFI
99
bool "Enable nRF70 OS agnostic library"
1010
help
1111
Enable the nRF70 OS agnostic library.
12+
1213
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 0 deletions
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)