Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commad status check phase1 #1239

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified nrf_wifi/fw_bins/default/nrf70.bin
Binary file not shown.
Binary file modified nrf_wifi/fw_bins/radio_test/nrf70.bin
Binary file not shown.
Binary file modified nrf_wifi/fw_bins/scan_only/nrf70.bin
Binary file not shown.
Binary file modified nrf_wifi/fw_bins/system_with_raw/nrf70.bin
Binary file not shown.
13 changes: 13 additions & 0 deletions nrf_wifi/fw_if/umac_if/inc/default/fmac_structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,17 @@ struct nrf_wifi_fmac_dev_ctx_def {
#endif /* CONFIG_NRF700X_RAW_DATA_TX */
};

#define MAX_CMD_PENDING_STATUS 4

struct nrf_wifi_fmac_cmd_status_info {
/** Command pending or not */
char state;
/** Command status as returned in event by firmware*/
char status;
/** Command Id */
char cmd_id;
};

/**
* @brief Structure to hold per VIF context information for the UMAC IF layer.
*
Expand Down Expand Up @@ -525,6 +536,8 @@ struct nrf_wifi_fmac_vif_ctx {
/** Promiscuous mode setting */
bool promisc_mode;
#endif /* CONFIG_NRF700X_PROMISC_DATA_RX */
/** Command status information related to this VIF */
struct nrf_wifi_fmac_cmd_status_info cmd_status_info[MAX_CMD_PENDING_STATUS];
};

/**
Expand Down
1 change: 1 addition & 0 deletions nrf_wifi/fw_if/umac_if/inc/fw/host_rpu_umac_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ enum nrf_wifi_umac_commands {
NRF_WIFI_UMAC_CMD_CONFIG_EXTENDED_PS,
/** Configure quiet period nrf_wifi_umac_cmd_config_quiet_period */
NRF_WIFI_UMAC_CMD_CONFIG_QUIET_PERIOD,
NRF_WIFI_UMAC_CMD_MAX = 255
};

/**
Expand Down
4 changes: 2 additions & 2 deletions nrf_wifi/fw_if/umac_if/inc/fw/lmac_if_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#define RPU_MEM_LMAC_BOOT_SIG 0xB7000D50
#define RPU_MEM_LMAC_VER 0xB7000D54

#define RPU_MEM_LMAC_PATCH_BIN 0x80044000
#define RPU_MEM_LMAC_PATCH_BIMG 0x8004B400
#define RPU_MEM_LMAC_PATCH_BIN 0x80043a80
#define RPU_MEM_LMAC_PATCH_BIMG 0x8004Bc00

#define NRF_WIFI_LMAC_VER(ver) ((ver & 0xFF000000) >> 24)
#define NRF_WIFI_LMAC_VER_MAJ(ver) ((ver & 0x00FF0000) >> 16)
Expand Down
Loading
Loading