From 30eebe2fb62243c31f3549cd2f938c00e8f4bec3 Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 14 Mar 2024 06:01:17 -0700 Subject: [PATCH] fw-api: CL 26238735 - update fw common interface files Change-Id: I284c73450a02c908af02f56d5c023ca9017300ba CRs-Fixed: 2262693 --- fw/wmi_unified.h | 16 +++++++++++++++- fw/wmi_version.h | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index daa217ed3d78..04e612f5e282 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -10093,6 +10093,16 @@ typedef enum { WMI_MGMT_TX_COMP_TYPE_MAX, } WMI_MGMT_TX_COMP_STATUS_TYPE; +#define WMI_VDEV_ID_VALID_FROM_INFO_GET(info) \ + WMI_GET_BITS(info, 3, 1) +#define WMI_VDEV_ID_VALID_FROM_INFO_SET(info,val) \ + WMI_SET_BITS(info, 3, 1, val) + +#define WMI_VDEV_ID_FROM_INFO_GET(info) \ + WMI_GET_BITS(info, 4, 8) +#define WMI_VDEV_ID_FROM_INFO_SET(info) \ + WMI_SET_BITS(info, 4, 8, val) + typedef struct { A_UINT32 tlv_header; A_UINT32 desc_id; /* from tx_send_cmd */ @@ -10126,7 +10136,11 @@ typedef struct { * one of the wmi_mlo_band_info_t enum constants. * Macros WMI_ROAM_BTM_RESP_MLO_BAND_INFO_GET,SET * can be reused for setting mlo band info. - * Bit[3:31] - reserved + * Bit[3] - set when vdev_id_info is populated in Bit[4:11] + * macros WMI_VDEV_ID_VALID_FROM_INFO_GET,SET can be used + * Bit[4:11] - vdev_id on which frame is sent, + * Macros WMI_VDEV_ID_FROM_INFO_GET,SET can be used + * Bit[12:31] - reserved */ A_UINT32 info; } wmi_mgmt_tx_compl_event_fixed_param; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index ab8de8642dc2..468fc765ddaf 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -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_ 1465 +#define __WMI_REVISION_ 1466 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work