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

Change-Id: I4216587effd2b89f106fd2c25bd4a830da453cb2
CRs-Fixed: 3830439
This commit is contained in:
spuligil 2025-06-13 06:05:10 -07:00
commit ae432b7677
3 changed files with 44 additions and 3 deletions

View file

@ -1486,6 +1486,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_pdev_suspend_event_fixed_param,
WMITLV_TAG_STRUC_wmi_bpf_set_apf_mode_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_peer_assoc_operating_mode_params,
WMITLV_TAG_STRUC_wmi_recv_bcn_stats,
} WMITLV_TAG_ID;
/*
* IMPORTANT: Please add _ALL_ WMI Commands Here.
@ -6401,7 +6402,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWFDA_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmf_bcn_protect_stats, pmf_bcn_protect_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_extd_stats, vdev_extd_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_extd_stats, pdev_extd_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_telemetry_stats, pdev_telemetry_stats, WMITLV_SIZE_VAR)
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_telemetry_stats, pdev_telemetry_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_recv_bcn_stats, recv_bcn_stats, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_STATS_EVENTID);
/* Update PN response Event */

View file

@ -4870,8 +4870,13 @@ typedef struct {
* 11 -> reserved
* Refer to the below WMI_RSRC_CFG_FLAGS2_OPTIMIZE_POWER_GET/SET
* macros.
* Bit 25 - enable recv_bcn_stats feature
* 0 -> disable the feature
* 1 -> enable the feature
* Refer to below WMI_RSRC_CFG_FLAGS2_RECV_BCN_STATS_ENABLED_GET/SET
* macros.
*
* Bits 31:25 - Reserved
* Bits 31:26 - Reserved
*/
A_UINT32 flags2;
/** @brief host_service_flags - can be used by Host to indicate
@ -5458,6 +5463,11 @@ typedef struct {
#define WMI_RSRC_CFG_FLAGS2_OPTIMIZE_POWER_SET(flags2, value) \
WMI_SET_BITS(flags2, 23, 2, value)
#define WMI_RSRC_CFG_FLAGS2_RECV_BCN_STATS_ENABLED_GET(flags2) \
WMI_GET_BITS(flags2, 25, 1)
#define WMI_RSRC_CFG_FLAGS2_RECV_BCN_STATS_ENABLED_SET(flags2, value) \
WMI_SET_BITS(flags2, 25, 1, value)
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET(host_service_flags) \
WMI_GET_BITS(host_service_flags, 0, 1)
@ -11180,6 +11190,7 @@ typedef enum {
WMI_REQUEST_VDEV_EXTD_STAT = 0x10000,
WMI_REQUEST_PDEV_EXTD_STAT = 0x20000,
WMI_REQUEST_PDEV_TELEMETRY_STAT = 0x40000,
WMI_REQUEST_VDEV_RECV_BCN_STAT = 0x80000,
} wmi_stats_id;
/*
@ -11674,6 +11685,10 @@ typedef struct {
* This TLV is followed by another TLV of array of bytes
* num_channels * size of(struct wmi_channel_stats)
*/
/* If WMI_REQUEST_VDEV_RECV_BCN_STAT is set in stats_id, then TLV
* wmi_recv_bcn_stats wmi_recv_bcn_stats[]
* follows the other TLVs
*/
} wmi_radio_link_stats_event_fixed_param;
/* per rate statistics */
@ -15534,6 +15549,30 @@ typedef struct{
A_UINT32 estimated_air_time_per_ac;
} wmi_pdev_telemetry_stats;
#define WMI_MAX_BCN_HISTORY 10 /* max beacon history entry */
typedef struct {
/* Beacon real RSSI, non-averaged rssi, dBm units; -128 means invalid */
A_INT32 bcn_rssi;
/* Beacon tsf, 0 means invalid */
A_UINT32 bcn_tsf;
/* NOTE:
* Due to backwards-compatibility requirements, no new fields
* can be added to this struct.
*/
} wmi_bcn_his_info;
typedef struct {
/* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_recv_bcn_stats */
A_UINT32 tlv_header;
/* Vdev id */
A_UINT32 vdev_id;
/* Received History of last ten Beacon of the connected Bss */
wmi_bcn_his_info bcn_history[WMI_MAX_BCN_HISTORY];
} wmi_recv_bcn_stats;
/**
* VDEV statistics
* @todo

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_ 1624
#define __WMI_REVISION_ 1625
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work