From 44611bee6eb8039ec8ad2af044ea497765bb5c0a Mon Sep 17 00:00:00 2001 From: Nitesh Shah Date: Thu, 21 Jul 2016 15:27:37 +0530 Subject: [PATCH] qcacld-3.0: CL 1594673 - update fw common interface files Propagation from qcacld-2.0 to qcacld-3.0 Adding new event for NAN Wake up with zero length. Adding WMI_EP definitions. Change-Id: I3940ffaf856fe9697818b6e56df3a49bf4750af0 CRs-fixed: 865207 --- target/inc/wmi.h | 9 ++++++++- target/inc/wmi_unified.h | 1 + target/inc/wmi_version.h | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/target/inc/wmi.h b/target/inc/wmi.h index e7fec58b29c4..6d760c150ff5 100644 --- a/target/inc/wmi.h +++ b/target/inc/wmi.h @@ -81,9 +81,16 @@ PREPACK struct host_app_area_s { #define WMI_SET_FIELD(_msg_buf, _msg_type, _f, _val) \ SET_FIELD(_msg_buf, _msg_type ## _ ## _f, _val) -#define WMI_EP_APASS 0x0 +/* TYPO: leave incorrect name as an alias for the correct name */ +#define WMI_EP_APASS WMI_EP_APSS +/* WLAN driver running on apps processor sub-system */ +#define WMI_EP_APSS 0x0 #define WMI_EP_LPASS 0x1 #define WMI_EP_SENSOR 0x2 +/* WLAN driver running on NANO Hub */ +#define WMI_EP_NANOHUB 0x3 +#define WMI_EP_MODEM 0x4 +#define WMI_EP_LOCATION 0x5 /* * Control Path diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index f30b422d8eba..63091490b89b 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -8581,6 +8581,7 @@ typedef enum wake_reason_e { WOW_REASON_TDLS_CONN_TRACKER_EVENT, WOW_REASON_CRITICAL_LOG, WOW_REASON_P2P_LISTEN_OFFLOAD, + WOW_REASON_NAN_EVENT_WAKE_HOST, WOW_REASON_DEBUG_TEST = 0xFF, } WOW_WAKE_REASON_TYPE; diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index 103f1660f571..3daffa3bce17 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_ 278 +#define __WMI_REVISION_ 279 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work