Skip to content

Commit 6743289

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

File tree

4 files changed

+21
-2
lines changed

4 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: 7 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

@@ -70,6 +74,7 @@ BUILD_ASSERT(CONFIG_NRF70_MAX_TX_AGGREGATION <= 15,
7074
BUILD_ASSERT(CONFIG_NRF70_RX_NUM_BUFS >= 1,
7175
"At least one RX buffer is required");
7276
#ifdef CONFIG_WIFI_NRF71
77+
#define RPU_DATA_RAM_SIZE (RPU_ADDR_DATA_RAM_END - RPU_ADDR_DATA_RAM_START + 1)
7378
BUILD_ASSERT(RPU_DATA_RAM_SIZE - TOTAL_RX_SIZE >= TOTAL_TX_SIZE,
7479
#else
7580
BUILD_ASSERT(RPU_PKTRAM_SIZE - TOTAL_RX_SIZE >= TOTAL_TX_SIZE,
@@ -519,6 +524,7 @@ void configure_tx_pwr_settings(struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl_p
519524
tx_pwr_ctrl_params->ant_gain_5g_band1 = CONFIG_NRF70_ANT_GAIN_5G_BAND1;
520525
tx_pwr_ctrl_params->ant_gain_5g_band2 = CONFIG_NRF70_ANT_GAIN_5G_BAND2;
521526
tx_pwr_ctrl_params->ant_gain_5g_band3 = CONFIG_NRF70_ANT_GAIN_5G_BAND3;
527+
#ifndef WIFI_NRF71
522528
tx_pwr_ctrl_params->band_edge_2g_lo_dss = CONFIG_NRF70_BAND_2G_LOWER_EDGE_BACKOFF_DSSS;
523529
tx_pwr_ctrl_params->band_edge_2g_lo_ht = CONFIG_NRF70_BAND_2G_LOWER_EDGE_BACKOFF_HT;
524530
tx_pwr_ctrl_params->band_edge_2g_lo_he = CONFIG_NRF70_BAND_2G_LOWER_EDGE_BACKOFF_HE;
@@ -565,7 +571,7 @@ void configure_tx_pwr_settings(struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl_p
565571
CONFIG_NRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HT;
566572
tx_pwr_ctrl_params->band_edge_5g_unii_4_hi_he =
567573
CONFIG_NRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HE;
568-
574+
#endif /* !WIFI_NRF71 */
569575

570576
tx_pwr_ceil_params->max_pwr_2g_dsss = MAX_TX_PWR(wifi_max_tx_pwr_2g_dsss);
571577
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

0 commit comments

Comments
 (0)