Procházet zdrojové kódy

qcacld-3.0: CL 1661761 - update fw common interface files

Add IPA TX msdu_id space repartitioning.

Change-Id: I2dd4d430c3ba4413c6b0629d2a97d06769ef0afd
CRs-Fixed: 865207
Krishna Kumaar Natarajan před 8 roky
rodič
revize
b7dec7e073
3 změnil soubory, kde provedl 20 přidání a 1 odebrání
  1. 10 0
      target/inc/wmi_services.h
  2. 9 0
      target/inc/wmi_unified.h
  3. 1 1
      target/inc/wmi_version.h

+ 10 - 0
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 ***/
 

+ 9 - 0
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 */
 

+ 1 - 1
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