From b7dec7e0731bbba4329311d886d70b1dcae2474f Mon Sep 17 00:00:00 2001 From: Krishna Kumaar Natarajan Date: Mon, 10 Oct 2016 21:53:50 -0700 Subject: [PATCH] qcacld-3.0: CL 1661761 - update fw common interface files Add IPA TX msdu_id space repartitioning. Change-Id: I2dd4d430c3ba4413c6b0629d2a97d06769ef0afd CRs-Fixed: 865207 --- target/inc/wmi_services.h | 10 ++++++++++ target/inc/wmi_unified.h | 9 +++++++++ target/inc/wmi_version.h | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/target/inc/wmi_services.h b/target/inc/wmi_services.h index e9d0d41ca177..949ea77018f0 100644 --- a/target/inc/wmi_services.h +++ b/target/inc/wmi_services.h @@ -260,6 +260,16 @@ typedef enum { WMI_SERVICE_FLASH_RDWR_SUPPORT = 110, WMI_SERVICE_WLAN_STATS_REPORT = 111, /* support WLAN stats report */ + /* WMI_SERVICE_TX_MSDU_ID_NEW_PARTITION_SUPPORT - + * FW supports bigger MSDU ID partition which is defined as + * HTT_TX_IPA_NEW_MSDU_ID_SPACE_BEGIN. When both host and FW support + * new partition, FW uses HTT_TX_IPA_NEW_MSDU_ID_SPACE_BEGIN. If host + * doesn't support, FW falls back to HTT_TX_IPA_MSDU_ID_SPACE_BEGIN + * Handshaking is done through WMI_INIT and WMI service ready + * + * support bigger MSDU ID partition + */ + WMI_SERVICE_TX_MSDU_ID_NEW_PARTITION_SUPPORT = 112, /*** ADD NEW SERVICES HERE UNTIL ALL VALUES UP TO 128 ARE USED ***/ diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index 5e409a2872df..89411eecaedf 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -2411,6 +2411,9 @@ typedef struct { #define WMI_RSRC_CFG_FLAG_MGMT_COMP_EVT_BUNDLE_SUPPORT_S 9 #define WMI_RSRC_CFG_FLAG_MGMT_COMP_EVT_BUNDLE_SUPPORT_M 0x200 + #define WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_S 10 + #define WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_M 0x400 + A_UINT32 flag1; /** @brief smart_ant_cap - Smart Antenna capabilities information @@ -2522,6 +2525,12 @@ typedef struct { #define WMI_RSRC_CFG_FLAG_MGMT_COMP_EVT_BUNDLE_SUPPORT_GET(word32) \ WMI_RSRC_CFG_FLAG_GET((word32), MGMT_COMP_EVT_BUNDLE_SUPPORT) +#define WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_SET(word32, value) \ + WMI_RSRC_CFG_FLAG_SET((word32), \ + TX_MSDU_ID_NEW_PARTITION_SUPPORT, (value)) +#define WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_GET(word32) \ + WMI_RSRC_CFG_FLAG_GET((word32), TX_MSDU_ID_NEW_PARTITION_SUPPORT) + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param */ diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index 67b42c15c1f6..292bd1d3e8ad 100644 --- a/target/inc/wmi_version.h +++ b/target/inc/wmi_version.h @@ -36,7 +36,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_ 302 +#define __WMI_REVISION_ 303 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work