Merge "fw-api: CL 31209257 - update fw common interface files"

This commit is contained in:
QCTECMDR Service 2025-12-17 12:54:46 -08:00 • committed by Gerrit - the friendly Code Review server
commit 9b153fa447
5 changed files with 89 additions and 2 deletions

View file

@ -3515,6 +3515,36 @@ typedef enum {
HTT_RU_ALLOC_NUM_MODES
} HTT_RU_ALLOC_MODE;
typedef enum {
HTT_TX_PDEV_STATS_BN_DRU_SIZE_26,
HTT_TX_PDEV_STATS_BN_DRU_SIZE_52,
HTT_TX_PDEV_STATS_BN_DRU_SIZE_106,
HTT_TX_PDEV_STATS_BN_DRU_SIZE_242,
HTT_TX_PDEV_STATS_BN_DRU_SIZE_484,
HTT_TX_PDEV_STATS_NUM_BN_DRU_SIZE_COUNTERS
} HTT_TX_PDEV_STATS_BN_DRU_SIZE;
typedef enum {
HTT_BN_UL_OFDMA_RRU_ONLY_ALLOC_MODE,
HTT_BN_UL_OFDMA_DRU_ONLY_ALLOC_MODE,
HTT_BN_UL_OFDMA_HYBRID_RU_ALLOC_MODE,
/* Reserving additional modes for future use */
HTT_BN_UL_OFDMA_RU_ALLOC_MODE_RESERVED_1,
HTT_BN_UL_OFDMA_RU_ALLOC_MODE_RESERVED_2,
HTT_BN_UL_OFDMA_NUM_RU_ALLOC_MODES
} HTT_BN_UL_OFDMA_RU_ALLOC_MODE;
typedef enum {
HTT_BN_UL_OFDMA_DRU_SBW_20MHZ,
HTT_BN_UL_OFDMA_DRU_SBW_40MHZ,
HTT_BN_UL_OFDMA_DRU_SBW_80MHZ,
HTT_BN_UL_OFDMA_NUM_DRU_SBW_COUNT
} HTT_BN_UL_OFDMA_DRU_SBW_SIZE;
typedef struct {
htt_tlv_hdr_t tlv_hdr;
@ -3829,6 +3859,9 @@ typedef struct {
A_UINT32 manual_bn_mu_ulofdma_basic_trigger[HTT_NUM_AC_WMM];
/** 11BN UHR Manual Multi-User UL OFDMA Trigger completed with error(s) */
A_UINT32 manual_bn_mu_ulofdma_basic_trigger_err[HTT_NUM_AC_WMM];
/** 11BN UHR UL OFDMA RU allocation mode */
A_UINT32 bn_basic_trig_ru_alloc_mode[HTT_BN_UL_OFDMA_NUM_RU_ALLOC_MODES];
} htt_stats_tx_selfgen_bn_tlv;
typedef struct { /* DEPRECATED */
@ -7727,6 +7760,11 @@ typedef struct {
* response to basic trigger. Typically a data response is expected.
*/
A_UINT32 bn_ul_ofdma_basic_trigger_rx_qos_null_only;
/* UL OFDMA DRU spreading BW size */
A_UINT32 bn_ul_ofdma_rx_dru_sbw[HTT_BN_UL_OFDMA_NUM_DRU_SBW_COUNT];
/* UL OFDMA DRU size of data PPDU */
A_UINT32 bn_rx_ulofdma_data_dru_size_ppdu[HTT_TX_PDEV_STATS_NUM_BN_DRU_SIZE_COUNTERS];
} htt_stats_rx_pdev_be_bn_ul_trig_tlv;
/* preserve old names as aliases */
typedef htt_stats_rx_pdev_be_bn_ul_trig_tlv
@ -9534,6 +9572,9 @@ typedef struct {
/* PER stats for iMCS 1.1, 3.1, 4.1, 7.1 */
htt_tx_rate_stats_t per_mcs_ext_3[HTT_TX_PDEV_STATS_NUM_EXTRA3_MCS_COUNTERS];
/* PER stats per DRU size */
htt_tx_rate_stats_t per_dru[HTT_TX_PDEV_STATS_NUM_BN_DRU_SIZE_COUNTERS];
} htt_stats_per_rate_stats_tlv;
/* preserve old name alias for new name consistent with the tag name */
typedef htt_stats_per_rate_stats_tlv htt_tx_rate_stats_per_tlv;

View file

@ -198,6 +198,7 @@ typedef enum {
WLAN_MODULE_OPT_DATA, /* 0x9a */
WLAN_MODULE_ASD, /* 0x9b */
WLAN_MODULE_ENERGY_MGMT, /* 0x9c */
WLAN_MODULE_SMD, /* 0x9d */
WLAN_MODULE_ID_MAX,
WLAN_MODULE_ID_INVALID = WLAN_MODULE_ID_MAX,

View file

@ -1538,6 +1538,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_vdev_beacon_stats,
WMITLV_TAG_STRUC_wmi_vdev_congestion_stats,
WMITLV_TAG_STRUC_wmi_vdev_data_stats,
WMITLV_TAG_STRUC_wmi_em_pcie_stats,
} WMITLV_TAG_ID;
/*
* IMPORTANT: Please add _ALL_ WMI Commands Here.
@ -7725,7 +7726,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATS_INFO_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_sta_dar_stats_struct, ctrl_path_sta_dar_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_beacon_stats, vdev_beacon_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_congestion_stats, vdev_congestion_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_data_stats, vdev_data_stats, WMITLV_SIZE_VAR)
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_data_stats, vdev_data_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_em_pcie_stats, ctrl_path_em_pcie_stats, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_CTRL_PATH_STATS_EVENTID);
/*

View file

@ -23006,6 +23006,19 @@ typedef struct {
* If per_chain_noise_floor value is 0 then it should be ignored.
*/
A_UINT32 per_chain_noise_floor[WMI_MAX_CHAINS];
/**
* FW will update the Noise Floor in dBr and send it to host
* if this field is set then host will display NF value in dBr
*/
A_UINT32 nf_db_is_valid;
/**
* Noise Floor (NF) value in dBr. If the NF is not converged then
* NF value is returned as 0 to host. Theoretical minimum NF value
* is -101 dB for 20 MHz bandwidth and the max value can be 0.
* PHY reports 0 incase of very high NF values.
* This field should be ignored unless the nf_db_is_valid flag is set.
*/
A_UINT32 noise_floor_in_db;
/**
* Following this structure is the optional TLV:
@ -38041,6 +38054,7 @@ typedef enum {
WMI_REQUEST_CTRL_PATH_ML_RECONFIG_STAT = 22,
WMI_REQUEST_CTRL_PATH_STA_DAR_STAT = 23,
WMI_REQUEST_ENHANCED_STAT = 24,
WMI_REQUEST_CTRL_PATH_EM_PCIE_STAT = 25,
} wmi_ctrl_path_stats_id;
typedef enum {
@ -47343,6 +47357,35 @@ typedef struct {
} wmi_vdev_data_stats;
#define WMI_EM_PCIE_MAX_CHIP 4
#define WMI_EM_PCIE_MAX_NUM_MAC 3
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_em_pcie_stats */
A_UINT32 is_cumac; /* set to '1' if SoC has CUMAC, else set to '0' */
A_UINT32 enable; /* set to '1' if feature enable, else set to '0' */
A_UINT32 config_type; /* feature configuration type */
/* mlo_partner_chip_bw:
* MLO partner chip BW information, represented as a FW-internal BW enum
* (Thus, this field is intended only for interactive debugging, and not
* for interpretation by the host SW.)
*/
A_UINT32 mlo_partner_bw[WMI_EM_PCIE_MAX_CHIP];
/* mlo_partner_nss: MLO partner chip NSS information */
A_UINT32 mlo_partner_nss[WMI_EM_PCIE_MAX_CHIP];
/* pdev_bw:
* Per PDEV BW, represented as a FW-internal BW enum
* (Thus, this field is intended only for interactive debugging, and not
* for interpretation by the host SW.)
*/
A_UINT32 pdev_bw[WMI_EM_PCIE_MAX_NUM_MAC];
A_UINT32 curr_pcie_gen; /* current PCIe generation number */
A_UINT32 curr_pcie_lanes; /* current number of PCIe lanes */
A_UINT32 pending_pcie_gen; /* pending PCIe generation number */
A_UINT32 pending_pcie_lanes; /* pending number of PCIe lanes */
} wmi_em_pcie_stats;
#define WMI_UNIFIED_CHAIN_PHASE_MASK 0x0000ffff
#define WMI_UNIFIED_CHAIN_PHASE_GET(tlv, chain_idx) \
((A_UINT16) ((tlv)->chain_phase[chain_idx] & WMI_UNIFIED_CHAIN_PHASE_MASK))

View file

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