diff options
| author | Poddar, Siddarth <siddpodd@codeaurora.org> | 2016-09-29 20:20:05 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-10-03 17:32:52 -0700 |
| commit | cd94ec62e09c1e48da2b186996fc6f8daf5c37bf (patch) | |
| tree | 565d830fb2e10affbaebb2a970e5b2848b97fbff | |
| parent | 9cee77f3ec27920e4f5471467cfcdfe18e24290a (diff) | |
qcacld-3.0: CL 1647956 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.
WMI CSA support for 5 MHz + 10 MHz
Change-Id: Id9c2e5f4cd343e6cdf1ce3ff38a70a0c22da9b94
CRs-Fixed: 865207
| -rw-r--r-- | target/inc/wmi_unified.h | 30 | ||||
| -rw-r--r-- | target/inc/wmi_version.h | 2 |
2 files changed, 31 insertions, 1 deletions
diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index d4546fe65add..6f3284888901 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -3519,11 +3519,40 @@ typedef struct { A_UINT32 enable_cmd; } wmi_vdev_spectral_enable_cmd_fixed_param; +/* information sub element id for QSBW, expected value is 0x02 */ +#define WMI_CSA_EVENT_QSBW_ISE_ID_MASK 0x000000FF +/* length of QSBW ISE data, expected value is 0x02 */ +#define WMI_CSA_EVENT_QSBW_ISE_LEN_MASK 0x0000FF00 +/* capabilities, 0x01 for 5MHz, 0x02 for 10MHz, 0x01|0x2 for both + * (see WMI_CSA_EVENT_QSBW_ISE bitmask defs) + */ +#define WMI_CSA_EVENT_QSBW_ISE_CAP_MASK 0x00FF0000 +/* notification from AP, 0x01 for 5MHz, 0x02 for 10MHz + * (see WMI_CSA_EVENT_QSBW_ISE bitmask defs) + */ +#define WMI_CSA_EVENT_QSBW_ISE_NOTIF_MASK 0xFF000000 + +#define WMI_CSA_EVENT_QSBW_ISE_ID 0x02 +#define WMI_CSA_EVENT_QSBW_ISE_LEN 0x02 + +#define WMI_CSA_EVENT_QSBW_ISE_5M_BITMASK 0x01 +#define WMI_CSA_EVENT_QSBW_ISE_10M_BITMASK 0x02 + +#define WMI_CSA_EVENT_QSBW_ISE_CAP_5M(qsbw_ise) \ + (((qsbw_ise) >> 16) & WMI_CSA_EVENT_QSBW_ISE_5M_BITMASK) +#define WMI_CSA_EVENT_QSBW_ISE_CAP_10M(qsbw_ise) \ + (((qsbw_ise) >> 16) & WMI_CSA_EVENT_QSBW_ISE_10M_BITMASK) +#define WMI_CSA_EVENT_QSBW_ISE_NOTIF_5M(qsbw_ise) \ + (((qsbw_ise) >> 24) & WMI_CSA_EVENT_QSBW_ISE_5M_BITMASK) +#define WMI_CSA_EVENT_QSBW_ISE_NOTIF_10M(qsbw_ise) \ + (((qsbw_ise) >> 24) & WMI_CSA_EVENT_QSBW_ISE_10M_BITMASK) + typedef enum { WMI_CSA_IE_PRESENT = 0x00000001, WMI_XCSA_IE_PRESENT = 0x00000002, WMI_WBW_IE_PRESENT = 0x00000004, WMI_CSWARP_IE_PRESENT = 0x00000008, + WMI_QSBW_ISE_PRESENT = 0x00000010, } WMI_CSA_EVENT_IES_PRESENT_FLAG; /* wmi CSA receive event from beacon frame */ @@ -3541,6 +3570,7 @@ typedef struct { A_UINT32 wb_ie[2]; A_UINT32 cswarp_ie; A_UINT32 ies_present_flag; /* WMI_CSA_EVENT_IES_PRESENT_FLAG */ + A_UINT32 qsbw_ise; } wmi_csa_event_fixed_param; typedef enum { diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index 4146ab4e0bcb..628ef1a9a820 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_ 298 +#define __WMI_REVISION_ 299 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
