fw-api: CL 15633236 - update fw common interface files

Change-Id: Ifd5fdb5ef5545b8f937b6c115eb64df0f2948d99
WMI: add BT coex stat defs
CRs-Fixed: 2262693
This commit is contained in:
spuligil
2021-09-14 06:01:12 -07:00
parent d2ea7b33b1
commit 4adc438fbe
3 changed files with 32 additions and 2 deletions

View File

@@ -1201,6 +1201,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_htt_msdu_idx_to_htt_msdu_qtype, WMITLV_TAG_STRUC_wmi_htt_msdu_idx_to_htt_msdu_qtype,
WMITLV_TAG_STRUC_wmi_pdev_set_bios_interface_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_pdev_set_bios_interface_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_set_mu_snif_cmd_param, WMITLV_TAG_STRUC_wmi_vdev_set_mu_snif_cmd_param,
WMITLV_TAG_STRUC_wmi_ctrl_path_btcoex_stats_struct,
} WMITLV_TAG_ID; } WMITLV_TAG_ID;
/* /*
@@ -6175,7 +6176,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATS_INFO_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_twt_stats_struct, ctrl_path_twt_stats, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_twt_stats_struct, ctrl_path_twt_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_calibration_stats_struct, ctrl_path_calibration_stats, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_calibration_stats_struct, ctrl_path_calibration_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_dfs_channel_stats_struct, ctrl_path_dfs_channel_stats, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_dfs_channel_stats_struct, ctrl_path_dfs_channel_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_awgn_stats_struct, ctrl_path_awgn_stats, WMITLV_SIZE_VAR) WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_awgn_stats_struct, ctrl_path_awgn_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_btcoex_stats_struct, ctrl_path_btcoex_stats, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_CTRL_PATH_STATS_EVENTID); WMITLV_CREATE_PARAM_STRUC(WMI_CTRL_PATH_STATS_EVENTID);
#define WMITLV_TABLE_WMI_RADIO_CHAN_STATS_EVENTID(id, op, buf, len) \ #define WMITLV_TABLE_WMI_RADIO_CHAN_STATS_EVENTID(id, op, buf, len) \

View File

@@ -10128,6 +10128,33 @@ typedef struct {
A_UINT32 qos_null_tx_send_event_alloc_failed; A_UINT32 qos_null_tx_send_event_alloc_failed;
} wmi_ctrl_path_pdev_stats_struct; } wmi_ctrl_path_pdev_stats_struct;
typedef struct {
/** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_ctrl_path_btcoex_stats_struct*/
A_UINT32 tlv_header;
/** pdev_id for identifying the MAC */
A_UINT32 pdev_id;
/** Counts the number of BT TX requests */
A_UINT32 bt_tx_req_cntr;
/** Counts the number of BT RX requests */
A_UINT32 bt_rx_req_cntr;
/** Counts the number of BT requests that got NACKed */
A_UINT32 bt_req_nack_cntr;
/** Counts the number of WLAN TX request denied due to scheduled BT activity */
A_UINT32 wl_tx_req_nack_schd_bt_reason_cntr;
/** Counts the number of WLAN TX request denied due to current BT activity */
A_UINT32 wl_tx_req_nack_current_bt_reason_cntr;
/** Counts the number of WLAN TX request denied due to other WLAN in TX reason */
A_UINT32 wl_tx_req_nack_other_wlan_tx_reason_cntr;
/** Counts the number of times the WLAN in TX is aborted after getting ACKed */
A_UINT32 wl_in_tx_abort_cntr;
/** Counts the number of Auto Response WLAN TX requests */
A_UINT32 wl_tx_auto_resp_req_cntr;
/** Counts the number of ACKed WLAN TX requests */
A_UINT32 wl_tx_req_ack_cntr;
/** Counts the number of WLAN TX requests */
A_UINT32 wl_tx_req_cntr;
} wmi_ctrl_path_btcoex_stats_struct;
typedef enum { typedef enum {
WMI_CTRL_PATH_STATS_ARENA_HRAM, WMI_CTRL_PATH_STATS_ARENA_HRAM,
WMI_CTRL_PATH_STATS_ARENA_HCRAM, WMI_CTRL_PATH_STATS_ARENA_HCRAM,
@@ -27774,6 +27801,7 @@ typedef enum {
WMI_REQUEST_CTRL_PATH_CALIBRATION_STAT = 5, WMI_REQUEST_CTRL_PATH_CALIBRATION_STAT = 5,
WMI_REQUEST_CTRL_PATH_DFS_CHANNEL_STAT = 6, WMI_REQUEST_CTRL_PATH_DFS_CHANNEL_STAT = 6,
WMI_REQUEST_CTRL_PATH_AWGN_STAT = 7, WMI_REQUEST_CTRL_PATH_AWGN_STAT = 7,
WMI_REQUEST_CTRL_PATH_BTCOEX_STAT = 8,
} wmi_ctrl_path_stats_id; } wmi_ctrl_path_stats_id;
typedef enum { typedef enum {

View File

@@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_ 0 #define __WMI_VER_MINOR_ 0
/** WMI revision number has to be incremented when there is a /** WMI revision number has to be incremented when there is a
* change that may or may not break compatibility. */ * change that may or may not break compatibility. */
#define __WMI_REVISION_ 1055 #define __WMI_REVISION_ 1056
/** The Version Namespace should not be normally changed. Only /** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work * host and firmware of the same WMI namespace will work