Skip to content

Commit f0b2c3d

Browse files
committed
Changes as per new interface firmware files
Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
1 parent 0ac95fa commit f0b2c3d

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed

drivers/wifi/nrf_wifi/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ zephyr_library_sources_ifndef(CONFIG_NRF70_OFFLOADED_RAW_TX
2727
src/fmac_main.c
2828
)
2929

30-
if(NOT CONFIG_NRF71_ON_IPC)
30+
if(NOT CONFIG_NRF71_ON_IPC OR NOT CONFIG_WIFI_NRF71)
3131
zephyr_library_sources_ifdef(CONFIG_NRF_WIFI_PATCHES_BUILTIN
3232
src/fw_load.c
3333
)

drivers/wifi/nrf_wifi/inc/fmac_main.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232
#include <radio_test/fmac_api.h>
3333
#endif /* !CONFIG_NRF70_RADIO_TEST */
3434

35+
#ifndef WIFI_NRF71
3536
#include <host_rpu_umac_if.h>
37+
#endif /* !WIFI_NRF71 */
38+
3639

3740
#define NRF70_DRIVER_VERSION "1."KERNEL_VERSION_STRING
3841

drivers/wifi/nrf_wifi/src/fmac_main.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
#include <radio_test/fmac_api.h>
4444
#endif /* !CONFIG_NRF70_RADIO_TEST */
4545

46+
#ifdef WIFI_NRF71
47+
#include "nrf71_wifi_rf.h"
48+
#endif /* WIFI_NRF71 */
49+
4650
#define DT_DRV_COMPAT nordic_wlan
4751
LOG_MODULE_DECLARE(wifi_nrf, CONFIG_WIFI_NRF70_LOG_LEVEL);
4852

@@ -519,6 +523,7 @@ void configure_tx_pwr_settings(struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl_p
519523
tx_pwr_ctrl_params->ant_gain_5g_band1 = CONFIG_NRF70_ANT_GAIN_5G_BAND1;
520524
tx_pwr_ctrl_params->ant_gain_5g_band2 = CONFIG_NRF70_ANT_GAIN_5G_BAND2;
521525
tx_pwr_ctrl_params->ant_gain_5g_band3 = CONFIG_NRF70_ANT_GAIN_5G_BAND3;
526+
#ifndef WIFI_NRF71
522527
tx_pwr_ctrl_params->band_edge_2g_lo_dss = CONFIG_NRF70_BAND_2G_LOWER_EDGE_BACKOFF_DSSS;
523528
tx_pwr_ctrl_params->band_edge_2g_lo_ht = CONFIG_NRF70_BAND_2G_LOWER_EDGE_BACKOFF_HT;
524529
tx_pwr_ctrl_params->band_edge_2g_lo_he = CONFIG_NRF70_BAND_2G_LOWER_EDGE_BACKOFF_HE;
@@ -565,7 +570,7 @@ void configure_tx_pwr_settings(struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl_p
565570
CONFIG_NRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HT;
566571
tx_pwr_ctrl_params->band_edge_5g_unii_4_hi_he =
567572
CONFIG_NRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HE;
568-
573+
#endif /* !WIFI_NRF71 */
569574

570575
tx_pwr_ceil_params->max_pwr_2g_dsss = MAX_TX_PWR(wifi_max_tx_pwr_2g_dsss);
571576
tx_pwr_ceil_params->max_pwr_2g_mcs7 = MAX_TX_PWR(wifi_max_tx_pwr_2g_mcs7);

modules/nrf_wifi/bus/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,14 @@ config WIFI_NRF71
5858
select EXPERIMENTAL
5959
help
6060
Enable to do system testn with nrf71 and fpga
61+
config NRF71_SOFT_HPQM
62+
bool "Soft hpqm for nrf71 testing with fpga"
63+
select EXPERIMENTAL
64+
help
65+
Enable to do system test with nrf71 and fpga
66+
config NRF71_CMD_RX_BUFF
67+
bool "RX BUFF Programming for nrf71 testing with fpga"
68+
select EXPERIMENTAL
69+
help
70+
Enable to do system test with nrf71 and fpga
6171
endif # NRF70_BUSLIB

modules/nrf_wifi/os/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ zephyr_library_compile_definitions_ifdef(CONFIG_NRF71_ON_IPC
2525
)
2626

2727
zephyr_library_link_libraries(nrf-wifi-osal)
28+

0 commit comments

Comments
 (0)