Skip to content

Commit f02704a

Browse files
author
Ajay Parida
committed
Fix: Compilation issue and firmware hdr file update
Shell app Compilation issue fixed. Firmware hdr file updated to commit #428455687c332646aac016f26abac9eb427827e5 Signed-off-by: Ajay Parida <[email protected]>
1 parent 5a608c7 commit f02704a

File tree

2 files changed

+21
-10
lines changed

2 files changed

+21
-10
lines changed

fw_if/umac_if/src/system/fmac_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ static enum nrf_wifi_status nrf_wifi_sys_fmac_fw_init(struct nrf_wifi_fmac_dev_c
306306
status = NRF_WIFI_STATUS_FAIL;
307307
goto out;
308308
} else {
309-
nrf_wifi_osal_log_dbg("%s Init rx buffs=%d programmed" \,
309+
nrf_wifi_osal_log_dbg("%s Init rx buffs=%d programmed \n",
310310
__func__, sys_fpriv->num_rx_bufs);
311311
nrf_wifi_osal_mem_free(rx_buf_ipc);
312312
}

hw_if/hal/inc/common/rpu_if.h

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,10 @@ static const struct rpu_addr_map RPU_ADDR_MAP_MCU[] = {
171171
#define RPU_REG_WICR_ADDR_ROM1_START 0x00FFB004
172172
#define RPU_REG_WICR_ADDR_VPR0_PATCH_ADDR 0x00FFB008
173173
#define RPU_REG_WICR_ADDR_VPR1_PATCH_ADDR 0x00FFB00C
174+
175+
174176
#define RPU_CMD_START_MAGIC 0xDEAD
177+
175178
#define RPU_REG_BIT_HARDRST_CTRL 8
176179

177180
/*Event pool*/
@@ -223,9 +226,22 @@ struct sap_pend_frames_bitmap {
223226
unsigned char pend_frames_bitmap;
224227
} __NRF_WIFI_PKD;
225228

229+
/**
230+
* @brief This structure represents the information related to UMAC.
231+
*
232+
*/
233+
struct host_rpu_umac_if_info {
234+
/** Boot status signature */
235+
unsigned int boot_status;
236+
/** UMAC version */
237+
unsigned int version;
238+
/** @ref sap_pend_frames_bitmap */
239+
struct sap_pend_frames_bitmap sap_bitmap[NRF_WIFI_MAX_SAP_CLIENTS];
240+
} __NRF_WIFI_PKD;
241+
226242
#ifdef SOFT_HPQM
227243

228-
#define HOST_RPU_SOFTHPQM_INFO_START 0x200844b4
244+
#define HOST_RPU_SOFTHPQM_INFO_START 0x200844b4
229245
#define HOST_RPU_CMD_BUFFERS 4
230246
#define HOST_RPU_EVENT_BUFFERS 7
231247
#define HOST_RPU_TX_DESC 12
@@ -252,16 +268,11 @@ struct soft_hpqm_info {
252268

253269

254270
#ifdef ASICBUILD
255-
#if 0
256271
#define NRF_WIFI_ASICBUILD_RF_PARAMS "0000000000002A00000000030303036060606060606060600000000050EC000000000000000000000000007077003F032424001000002800323500000CF008087D8105010071630300EED501001F6F00003B350100F52E0000E35E0000B7B6000066EFFEFFB5F60000896200007A840200E28FFCFF08080808040A140100000000A1A10178000000080050003B020726181818181A120A140E0600"
257-
#endif
258-
#define NRF_WIFI_ASICBUILD_RF_PARAMS "0000000000002A00000000030303036060606060606060600000000050EC000000000000000000000000007077003F032424001000002800323500000CF008087D8105010071630300EED501001F6F00003B350100F52E0000E35E0000B7B6000066EFFEFFB5F60000896200007A840200E28FFCFF08080808040A140100000000A1A10178000000080050003B020726181818181A120A140E060000"
259-
#endif
260-
#ifdef C0_CHIP
261-
#if 0
272+
#elif defined(C0_CHIP)
262273
#define NRF_WIFI_C0_RF_PARAMS "0000000000001C00000000000000004030303838383838380000000050EC000000000000000000000000214365003F032424001000002800323500000CF008007D8105010071630300EED501001F6F00003B350100F52E0000E35E0000B7B6000066EFFEFFB5F60000896200007A840200E28FFCFF08080808040A140100000000A1A10178000000680150003B0207262D2D28281A120A140E0600"
263-
#endif
264-
#define NRF_WIFI_C0_RF_PARAMS "0000000000001C00000000000000004030303838383838380000000050EC000000000000000000000000214365003F032424001000002800323500000CF008007D8105010071630300EED501001F6F00003B350100F52E0000E35E0000B7B6000066EFFEFFB5F60000896200007A840200E28FFCFF08080808040A140100000000A1A10178000000680150003B0207262D2D28281A120A140E060000"
274+
#else /* Simulator and Emulator */
275+
#define NRF_WIFI_PLAYOUT_RF_PARAMS "0000000000001C00000000000000005050505050505050500000000050EC000000000000000000000000214365003F032424001000002800323500000000080A7D8105010071630300EED501001F6F00003B350100F52E0000E35E0000B7B6000066EFFEFFB5F60000896200007A840200E28FFCFF08080808040A120100000000A1A101A0000000280050003B0207260F0F0F0F1A120A140E0600"
265276
#endif
266277

267278

0 commit comments

Comments
 (0)