Skip to content

Commit

Permalink
nrf_wifi: Radio test fixes
Browse files Browse the repository at this point in the history
Fix radio test mode.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed Sep 20, 2024
1 parent a1ec0b0 commit 317672b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
14 changes: 10 additions & 4 deletions nrf_wifi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ target_include_directories(
${NRF_WIFI_DIR}/fw_if/umac_if/inc/fw
)

target_include_directories_ifdef(CONFIG_NRF700X_RADIO_TEST
target_include_directories_ifdef(CONFIG_NRF70_RADIO_TEST
nrf-wifi
PUBLIC
${NRF_WIFI_DIR}/fw_if/umac_if/inc/radio_test
)

target_include_directories_ifndef(CONFIG_NRF700X_RADIO_TEST
target_include_directories_ifndef(CONFIG_NRF70_RADIO_TEST
nrf-wifi
PUBLIC
${NRF_WIFI_DIR}/fw_if/umac_if/inc/default
Expand All @@ -60,7 +60,7 @@ target_sources(
${NRF_WIFI_DIR}/fw_if/umac_if/src/fmac_api_common.c
)

target_sources_ifndef(CONFIG_NRF700X_RADIO_TEST
target_sources_ifndef(CONFIG_NRF70_RADIO_TEST
nrf-wifi
PRIVATE
${NRF_WIFI_DIR}/fw_if/umac_if/src/rx.c
Expand All @@ -69,7 +69,7 @@ target_sources_ifndef(CONFIG_NRF700X_RADIO_TEST
${NRF_WIFI_DIR}/fw_if/umac_if/src/default/fmac_api.c
)

target_sources_ifdef(CONFIG_NRF700X_RADIO_TEST
target_sources_ifdef(CONFIG_NRF70_RADIO_TEST
nrf-wifi
PRIVATE
${NRF_WIFI_DIR}/fw_if/umac_if/src/radio_test/fmac_api.c
Expand Down Expand Up @@ -110,6 +110,12 @@ target_compile_definitions_ifdef(CONFIG_NRF_WIFI_LOW_POWER
-DCONFIG_NRF_WIFI_LOW_POWER
)

target_compile_definitions_ifdef(CONFIG_NRF70_RADIO_TEST
nrf-wifi
PRIVATE
-DCONFIG_NRF700X_RADIO_TEST
)

target_compile_definitions(
nrf-wifi
PRIVATE
Expand Down
6 changes: 6 additions & 0 deletions nrf_wifi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ config NRF_WIFI
bool "Enable nRF70 OS agnostic library"
help
Enable the nRF70 OS agnostic library.

config NRF70_RADIO_TEST
bool "Enable nRF70 radio test"
help
Enable the nRF70 radio test.

endmenu

0 comments on commit 317672b

Please sign in to comment.