diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index 96dd6227f4b8..8f5b902187cb 100644 --- a/target/inc/wmi_unified.h +++ b/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; diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index 4e31fe516395..6bfa5c61abe3 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_ 254 +#define __WMI_REVISION_ 255 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work