From 777a2cd3354e9b5b2a5edd9eaf78db2efe13e1fa Mon Sep 17 00:00:00 2001 From: Krishna Kumaar Natarajan Date: Thu, 19 Nov 2015 16:45:59 -0800 Subject: [PATCH] qcacld-3.0: CL 1417063 - update fw common interface files qcacld-2.0 to qcacld-3.0 propagation Add rsPhyErrMask fields to WMI COMB_PHYERR_RX. Change-Id: Ib64bb9b21d381863ef60e17e93886d070a6a7617 CRs-Fixed: 865207 --- target/inc/wmi_unified.h | 22 ++++++++++++++++++++++ target/inc/wmi_version.h | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index 4f2e67fffa7a..d7e689ddbf44 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -2576,6 +2576,24 @@ typedef struct { A_UINT8 bufp[1]; } wmi_single_phyerr_rx_event; +/* PHY ERROR MASK 0 */ +/* bits 1:0 defined but not published */ +#define WMI_PHY_ERROR_MASK0_RADAR (1<<2 ) +/* bits 23:3 defined but not published */ +#define WMI_PHY_ERROR_MASK0_FALSE_RADAR_EXT (1<<24) +/* bits 25:24 defined but not published */ +#define WMI_PHY_ERROR_MASK0_SPECTRAL_SCAN (1<<26) +/* bits 31:27 defined but not published */ + +/* PHY ERROR MASK 1 + * bits 13:0 defined but not published + * bits 31:14 reserved + */ + +/* PHY ERROR MASK 2 + * bits 31:0 reserved + */ + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_comb_phyerr_rx_hdr */ /** Phy error phy error count */ @@ -2584,6 +2602,10 @@ typedef struct { A_UINT32 tsf_u32; A_UINT32 buf_len; A_UINT32 pmac_id; + A_UINT32 rsPhyErrMask0; /* see WMI_PHY_ERROR_MASK0 */ + A_UINT32 rsPhyErrMask1; /* see WMI_PHY_ERROR_MASK1 */ + A_UINT32 rsPhyErrMask2; /* see WMI_PHY_ERROR_MASK2 */ + /* This TLV is followed by array of bytes: * // frame buffer - contains multiple payloads in the order: * // header - payload, header - payload... diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index 8ee372b69459..87ad33b1f415 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_ 181 +#define __WMI_REVISION_ 182 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work