summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <quic_spuligil@quicinc.com>2023-04-03 03:27:04 -0700
committerspuligil <quic_spuligil@quicinc.com>2023-04-03 03:27:48 -0700
commit0e2a5999b85f7b2e2a48ea0aaa23075ec0e1478c (patch)
tree6d8fad0bf4a1254bfd25aee94a43cda8b55f3c84
parentc22e867a4196bb1807f55e814aa6f3339b8f3490 (diff)
downloadwlan-fw-api-0e2a5999b85f7b2e2a48ea0aaa23075ec0e1478c.tar.gz
fw-api: CL 22334073 - update fw common interface files
Change-Id: I8ad772085ad66fda1d2b55ed730741d4ce65be8d WMI: add rf_path field in rsrc cfg, RF_PATH_SEL_INIT_SUPPORT svc flag CRs-Fixed: 2262693
-rw-r--r--fw/wmi_services.h1
-rw-r--r--fw/wmi_tlv_defs.h12
-rw-r--r--fw/wmi_unified.h31
-rw-r--r--fw/wmi_version.h2
4 files changed, 38 insertions, 8 deletions
diff --git a/fw/wmi_services.h b/fw/wmi_services.h
index 6e42eeb..baf1926 100644
--- a/fw/wmi_services.h
+++ b/fw/wmi_services.h
@@ -623,6 +623,7 @@ typedef enum {
WMI_SERVICE_AFC_RESP_BINARY_FORMAT_SUPPORTED = 370, /* Service bit to indicate the supported AFC payload response format */
WMI_SERVICE_CCA_BUSY_INFO_FOREACH_20MHZ = 371, /* FW supports reporting of CCA busy info for each 20Mhz subband of wideband scan channel */
WMI_SERVICE_MLO_TSF_SYNC = 372, /* FW supports TSF sync across multiple chips */
+ WMI_SERVICE_RF_PATH_SEL_INIT_SUPPORT = 373, /* FW supports RF Path selection using WMI Init command field */
WMI_MAX_EXT2_SERVICE
diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h
index 27a19e2..f880d7c 100644
--- a/fw/wmi_tlv_defs.h
+++ b/fw/wmi_tlv_defs.h
@@ -1120,11 +1120,23 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_twt_nudge_dialog_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_twt_nudge_dialog_complete_event_fixed_param,
WMITLV_TAG_STRUC_wmi_pdev_vendor_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_vendor_pdev_event_fixed_param =
+ WMITLV_TAG_STRUC_wmi_pdev_vendor_event_fixed_param,
WMITLV_TAG_STRUC_wmi_pdev_vendor_cmd_fixed_param,
+ WMITLV_TAG_STRUC_wmi_vendor_pdev_cmd_fixed_param =
+ WMITLV_TAG_STRUC_wmi_pdev_vendor_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_vendor_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_vendor_vdev_event_fixed_param =
+ WMITLV_TAG_STRUC_wmi_vdev_vendor_event_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_vendor_cmd_fixed_param,
+ WMITLV_TAG_STRUC_wmi_vendor_vdev_cmd_fixed_param =
+ WMITLV_TAG_STRUC_wmi_vdev_vendor_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_peer_vendor_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_vendor_peer_event_fixed_param =
+ WMITLV_TAG_STRUC_wmi_peer_vendor_event_fixed_param,
WMITLV_TAG_STRUC_wmi_peer_vendor_cmd_fixed_param,
+ WMITLV_TAG_STRUC_wmi_vendor_peer_cmd_fixed_param =
+ WMITLV_TAG_STRUC_wmi_peer_vendor_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_roam_msg_info_tlv_param,
WMITLV_TAG_STRUC_wmi_vdev_set_tpc_power_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_ch_power_info,
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index feeae71..448e782 100644
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -4446,8 +4446,14 @@ typedef struct {
* 0 -> disable latency_flowq_support
* 1 -> enable latency_flowq_support
* Refer to WMI_RSRC_CFG_FLAGS2_LATENCY_FLOWQ_SUPPORT_GET/SET macros.
+ * Bit 17 - rf_path_mode
+ * Flag to indicate overlapping_freq_mode
+ * By default, it will be primary mode (0)
+ * 0 - Primary
+ * 1 - Secondary
+ * Refer to WMI_RSRC_CFG_FLAGS2_RF_PATH_MODE_GET/SET macros.
*
- * Bits 31:17 - Reserved
+ * Bits 31:18 - Reserved
*/
A_UINT32 flags2;
/** @brief host_service_flags - can be used by Host to indicate
@@ -4896,6 +4902,11 @@ typedef struct {
#define WMI_RSRC_CFG_FLAGS2_LATENCY_FLOWQ_SUPPORT_SET(flags2, value) \
WMI_SET_BITS(flags2, 16, 1, value)
+#define WMI_RSRC_CFG_FLAGS2_RF_PATH_MODE_GET(flags2) \
+ WMI_GET_BITS(flags2, 17, 1)
+#define WMI_RSRC_CFG_FLAGS2_RF_PATH_MODE_SET(flags2, value) \
+ WMI_SET_BITS(flags2, 17, 1, value)
+
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET(host_service_flags) \
WMI_GET_BITS(host_service_flags, 0, 1)
@@ -43219,7 +43230,7 @@ typedef struct {
typedef struct wmi_pdev_vendor_event
{
- /* type is WMI_PDEV_VENDOR_EVENTID */
+ /* type is WMITLV_TAG_STRUC_wmi_vendor_pdev_event_fixed_param */
A_UINT32 tlv_header;
/* pdev_id for identifying the MAC. See macros starting with WMI_PDEV_ID_ for values. */
A_UINT32 pdev_id;
@@ -43233,10 +43244,11 @@ typedef struct wmi_pdev_vendor_event
* would change, causing backwards incompatibilities.
*/
} wmi_pdev_vendor_event_fixed_param;
+typedef wmi_pdev_vendor_event_fixed_param wmi_vendor_pdev_event_fixed_param;
typedef struct wmi_vdev_vendor_event
{
- /* type is WMI_VDEV_VENDOR_EVENTID */
+ /* type is WMITLV_TAG_STRUC_wmi_vendor_vdev_event_fixed_param */
A_UINT32 tlv_header;
/* pdev_id for identifying the MAC. See macros starting with WMI_PDEV_ID_ for values. */
A_UINT32 pdev_id;
@@ -43252,10 +43264,11 @@ typedef struct wmi_vdev_vendor_event
* would change, causing backwards incompatibilities.
*/
} wmi_vdev_vendor_event_fixed_param;
+typedef wmi_vdev_vendor_event_fixed_param wmi_vendor_vdev_event_fixed_param;
typedef struct wmi_peer_vendor_event
{
- /* type is WMI_PEER_VENDOR_EVENTID */
+ /* type is WMITLV_TAG_STRUC_wmi_vendor_peer_event_fixed_param */
A_UINT32 tlv_header;
/* pdev_id for identifying the MAC. See macros starting with WMI_PDEV_ID_ for values. */
A_UINT32 pdev_id;
@@ -43273,10 +43286,11 @@ typedef struct wmi_peer_vendor_event
* would change, causing backwards incompatibilities.
*/
} wmi_peer_vendor_event_fixed_param;
+typedef wmi_peer_vendor_event_fixed_param wmi_vendor_peer_event_fixed_param;
typedef struct wmi_pdev_vendor_cmd
{
- /* type is WMI_PDEV_VENDOR_CMDID */
+ /* type is WMITLV_TAG_STRUC_wmi_vendor_pdev_cmd_fixed_param */
A_UINT32 tlv_header;
/* pdev_id for identifying the MAC. See macros starting with WMI_PDEV_ID_ for values. */
A_UINT32 pdev_id;
@@ -43290,10 +43304,11 @@ typedef struct wmi_pdev_vendor_cmd
* would change, causing backwards incompatibilities.
*/
} wmi_pdev_vendor_cmd_fixed_param;
+typedef wmi_pdev_vendor_cmd_fixed_param wmi_vendor_pdev_cmd_fixed_param;
typedef struct wmi_vdev_vendor_cmd
{
- /* type is WMI_VDEV_VENDOR_CMDID */
+ /* type is WMITLV_TAG_STRUC_wmi_vendor_vdev_cmd_fixed_param */
A_UINT32 tlv_header;
/* pdev_id for identifying the MAC. See macros starting with WMI_PDEV_ID_ for values. */
A_UINT32 pdev_id;
@@ -43309,10 +43324,11 @@ typedef struct wmi_vdev_vendor_cmd
* would change, causing backwards incompatibilities.
*/
} wmi_vdev_vendor_cmd_fixed_param;
+typedef wmi_vdev_vendor_cmd_fixed_param wmi_vendor_vdev_cmd_fixed_param;
typedef struct wmi_peer_vendor_cmd
{
- /* type is WMI_PEER_VENDOR_CMDID */
+ /* type is WMITLV_TAG_STRUC_wmi_vendor_peer_cmd_fixed_param */
A_UINT32 tlv_header;
/* pdev_id for identifying the MAC. See macros starting with WMI_PDEV_ID_ for values. */
A_UINT32 pdev_id;
@@ -43330,6 +43346,7 @@ typedef struct wmi_peer_vendor_cmd
* would change, causing backwards incompatibilities.
*/
} wmi_peer_vendor_cmd_fixed_param;
+typedef wmi_peer_vendor_cmd_fixed_param wmi_vendor_peer_cmd_fixed_param;
typedef enum {
WMI_MLO_LINK_FORCE_ACTIVE = 1, /* Force specific links active */
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index 90c6a72..c576ec4 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_ 1313
+#define __WMI_REVISION_ 1314
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work