Эх сурвалжийг харах

qcacld-3.0: CL 1517922 – update fw common interface files

Propagation from qcacld-2.0 to qcacld-3.0.

Change MAX_CHAINS to WMI_MAX_CHAINS

Change-Id: Ib7f2e5ed41c8ea889192814aed10e94e7ecf11e3
CRs-Fixed: 865207
Himanshu Agarwal 9 жил өмнө
parent
commit
29061327de

+ 3 - 3
target/inc/wmi_unified.h

@@ -77,7 +77,7 @@ extern "C" {
 
 #define MAX_TX_RATE_VALUES      10      /*Max Tx Rates */
 #define MAX_RSSI_VALUES         10      /*Max Rssi values */
-#define MAX_CHAINS 8
+#define WMI_MAX_CHAINS 8
 
 /* The WLAN_MAX_AC macro cannot be changed without breaking
  * WMI compatibility.
@@ -4935,8 +4935,8 @@ typedef struct {
 	/* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_rssi_stats */
 	A_UINT32 tlv_header;
 	A_UINT32 vdev_id;
-	A_INT32  rssi_avg_beacon[MAX_CHAINS];
-	A_INT32  rssi_avg_data[MAX_CHAINS];
+	A_INT32  rssi_avg_beacon[WMI_MAX_CHAINS];
+	A_INT32  rssi_avg_data[WMI_MAX_CHAINS];
 	wmi_mac_addr peer_macaddr;
 } wmi_rssi_stats;
 

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