Skip to content

Commit

Permalink
drivers: wifi: Disable workaround for anomaly 159
Browse files Browse the repository at this point in the history
The proper workaround would be to use 64MHz CPU that will impact Wi-Fi
performance, and as its never been seen so far, disable the workaround,
and this can be revisited in the future.

Fixes SHEL-2636.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 authored and anangl committed Mar 26, 2024
1 parent 340b446 commit 8c7033e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drivers/wifi/nrf700x/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,15 @@ if(CONFIG_NRF_WIFI_PATCHES_EXT_FLASH_XIP)
zephyr_code_relocate(FILES src/fw_load.c LOCATION EXTFLASH_RODATA NOCOPY)
endif()

zephyr_compile_definitions_ifdef(CONFIG_NRF700X_ON_QSPI
# These are XIP related anomalies and aren't applicable for nRF7002 and cause
# throughput issues.
zephyr_compile_definitions_ifdef(CONFIG_NRF700X_ON_QSPI
-DNRF53_ERRATA_43_ENABLE_WORKAROUND=0
-DNRF52_ERRATA_215_ENABLE_WORKAROUND=0
# nRF70 QSPI doesn't use 192MHz clock and most samples use 128MHz, this can cause anomaly 159
# but as its rare and not seen in most cases, we can disable it.
# Alternative is 128MHz CPU should be disabled that impacts Wi-Fi performance.
-DNRF53_ERRATA_159_ENABLE_WORKAROUND=0
)

# RPU FW patch binaries based on the selected configuration
Expand Down

0 comments on commit 8c7033e

Please sign in to comment.