File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,16 @@ menuconfig WIFI_NRF70
1616 depends on \
1717 DT_HAS_NORDIC_NRF7002_SPI_ENABLED || DT_HAS_NORDIC_NRF7002_QSPI_ENABLED || \
1818 DT_HAS_NORDIC_NRF7001_SPI_ENABLED || DT_HAS_NORDIC_NRF7001_QSPI_ENABLED || \
19- DT_HAS_NORDIC_NRF7000_SPI_ENABLED || DT_HAS_NORDIC_NRF7000_QSPI_ENABLED
19+ DT_HAS_NORDIC_NRF7000_SPI_ENABLED || DT_HAS_NORDIC_NRF7000_QSPI_ENABLED || \
20+ DT_HAS_NORDIC_WIFI_ENABLED
2021 help
2122 Nordic Wi-Fi Driver
2223
2324if WIFI_NRF70
2425# Hidden symbols for internal use
2526config WIFI_NRF7002
2627 bool
27- default y if DT_HAS_NORDIC_NRF7002_SPI_ENABLED || DT_HAS_NORDIC_NRF7002_QSPI_ENABLED
28+ default y if DT_HAS_NORDIC_NRF7002_SPI_ENABLED || DT_HAS_NORDIC_NRF7002_QSPI_ENABLED || DT_HAS_NORDIC_WIFI_ENABLED
2829
2930config WIFI_NRF7001
3031 bool
@@ -192,6 +193,11 @@ config NRF70_ON_SPI
192193 DT_HAS_NORDIC_NRF7000_SPI_ENABLED
193194 select SPI
194195
196+ config NRF71_ON_IPC
197+ def_bool DT_HAS_NORDIC_WIFI_ENABLED
198+ select IPC
199+ select IPC_SERVICE
200+
195201config NRF70_2_4G_ONLY
196202 def_bool y if WIFI_NRF7001
197203
Original file line number Diff line number Diff line change @@ -476,8 +476,12 @@ void reg_change_callbk_fn(void *vif_ctx,
476476}
477477#endif /* !CONFIG_NRF70_RADIO_TEST */
478478
479+ #ifdef CONFIG_DT_HAS_NORDIC_WIFI_ENABLED
480+ #define MAX_TX_PWR (label ) DT_PROP(DT_NODELABEL(wifi), label) * 4
481+ #else
479482/* DTS uses 1dBm as the unit for TX power, while the RPU uses 0.25dBm */
480483#define MAX_TX_PWR (label ) DT_PROP(DT_NODELABEL(nrf70), label) * 4
484+ #endif /* CONFIG_DT_HAS_NORDIC_WIFI_ENABLED */
481485
482486void configure_tx_pwr_settings (struct nrf_wifi_tx_pwr_ctrl_params * tx_pwr_ctrl_params ,
483487 struct nrf_wifi_tx_pwr_ceil_params * tx_pwr_ceil_params )
You can’t perform that action at this time.
0 commit comments