summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortinlin <tinlin@codeaurora.org>2017-11-20 19:40:10 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-11-28 02:36:19 -0800
commitbf48639728aa0b2141a5bc75be5e325eee741fe7 (patch)
tree1990ad755a3faf1ec9e5c5b8ef5b5347bab87c0f
parente497f4781eedc6c48ea0d3eee861132275a25fe7 (diff)
qcacld-2.0: CL 3237175 - Update fw common interface files
Add action_bitmaps_per_category and define MAX_SUPPORTED_ACTION_SUBCATEGORY Change-Id: I71361f0efc4b2df70b1fa14225d9f7565d109dc1 CRs-fixed: 865207
-rw-r--r--CORE/SERVICES/COMMON/wmi_unified.h8
-rw-r--r--CORE/SERVICES/COMMON/wmi_version.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h
index 1bf7a461c8a8..8f297dfee8f7 100644
--- a/CORE/SERVICES/COMMON/wmi_unified.h
+++ b/CORE/SERVICES/COMMON/wmi_unified.h
@@ -10706,6 +10706,7 @@ typedef struct {
} WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMD_fixed_param;
#define MAX_SUPPORTED_ACTION_CATEGORY 256
+#define MAX_SUPPORTED_ACTION_SUBCATEGORY 32
#define MAX_SUPPORTED_ACTION_CATEGORY_ELE_LIST (MAX_SUPPORTED_ACTION_CATEGORY/32)
typedef enum {
@@ -10720,6 +10721,13 @@ typedef struct {
A_UINT32 vdev_id;
A_UINT32 operation; /* 0 reset to fw default, 1 set the bits, 2 add the setting bits, 3 delete the setting bits */
A_UINT32 action_category_map[MAX_SUPPORTED_ACTION_CATEGORY_ELE_LIST];
+ /* action_bitmaps_per_category -
+ * Each element is a 32-bit bitmap indicating which subcategories
+ * for that particular action category are considered for WoW wakeup
+ * (if the subcategory's bit is 0) or ignored for WoW wakeup (if the
+ * subcategory's bit is 1).
+ */
+ A_UINT32 action_bitmaps_per_category[MAX_SUPPORTED_ACTION_CATEGORY];
} WMI_WOW_SET_ACTION_WAKE_UP_CMD_fixed_param;
typedef struct wow_event_info_s {
diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h
index 0128c4527b49..17b1f96975c9 100644
--- a/CORE/SERVICES/COMMON/wmi_version.h
+++ b/CORE/SERVICES/COMMON/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_ 411
+#define __WMI_REVISION_ 412
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work