Skip to content

Commit 34198d5

Browse files
committed
nrf_wifi: Radio test fixes
Fix radio test mode. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent aae0010 commit 34198d5

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

nrf_wifi/CMakeLists.txt

+10-4
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ target_include_directories(
2727
${NRF_WIFI_DIR}/fw_if/umac_if/inc/fw
2828
)
2929

30-
target_include_directories_ifdef(CONFIG_NRF700X_RADIO_TEST
30+
target_include_directories_ifdef(CONFIG_NRF70_RADIO_TEST
3131
nrf-wifi
3232
PUBLIC
3333
${NRF_WIFI_DIR}/fw_if/umac_if/inc/radio_test
3434
)
3535

36-
target_include_directories_ifndef(CONFIG_NRF700X_RADIO_TEST
36+
target_include_directories_ifndef(CONFIG_NRF70_RADIO_TEST
3737
nrf-wifi
3838
PUBLIC
3939
${NRF_WIFI_DIR}/fw_if/umac_if/inc/default
@@ -60,7 +60,7 @@ target_sources(
6060
${NRF_WIFI_DIR}/fw_if/umac_if/src/fmac_api_common.c
6161
)
6262

63-
target_sources_ifndef(CONFIG_NRF700X_RADIO_TEST
63+
target_sources_ifndef(CONFIG_NRF70_RADIO_TEST
6464
nrf-wifi
6565
PRIVATE
6666
${NRF_WIFI_DIR}/fw_if/umac_if/src/rx.c
@@ -69,7 +69,7 @@ target_sources_ifndef(CONFIG_NRF700X_RADIO_TEST
6969
${NRF_WIFI_DIR}/fw_if/umac_if/src/default/fmac_api.c
7070
)
7171

72-
target_sources_ifdef(CONFIG_NRF700X_RADIO_TEST
72+
target_sources_ifdef(CONFIG_NRF70_RADIO_TEST
7373
nrf-wifi
7474
PRIVATE
7575
${NRF_WIFI_DIR}/fw_if/umac_if/src/radio_test/fmac_api.c
@@ -110,6 +110,12 @@ target_compile_definitions_ifdef(CONFIG_NRF_WIFI_LOW_POWER
110110
-DCONFIG_NRF_WIFI_LOW_POWER
111111
)
112112

113+
target_compile_definitions_ifdef(CONFIG_NRF70_RADIO_TEST
114+
nrf-wifi
115+
PRIVATE
116+
-DCONFIG_NRF700X_RADIO_TEST
117+
)
118+
113119
target_compile_definitions(
114120
nrf-wifi
115121
PRIVATE

nrf_wifi/Kconfig

+6
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ config NRF_WIFI
99
bool "Enable nRF70 OS agnostic library"
1010
help
1111
Enable the nRF70 OS agnostic library.
12+
13+
config NRF70_RADIO_TEST
14+
bool "Enable nRF70 radio test"
15+
help
16+
Enable the nRF70 radio test.
17+
1218
endmenu

0 commit comments

Comments
 (0)