From 0987650471b2a7d3b300219bb9622d8dbebe7f6d Mon Sep 17 00:00:00 2001 From: snandini Date: Fri, 14 Jul 2017 10:05:47 -0700 Subject: [PATCH] fw-api: CL 3261339 - update fw common interface files Expand WMI_WOW_SET_ACTION_WAKE_UP_CMD to support action per cateogory up to 32. Change-Id: I846b8be8deb35d8ec8f2b65327afeb2a8a6c38ec CRs-Fixed: 1107600 --- fw/wmi_tlv_defs.h | 3 ++- fw/wmi_unified.h | 6 ++++-- fw/wmi_version.h | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index b416a70b3ac2..5882d58ecd24 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -1856,7 +1856,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_WOW_UDP_SVC_OFLD_CMDID); WMITLV_CREATE_PARAM_STRUC(WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID); #define WMITLV_TABLE_WMI_WOW_SET_ACTION_WAKE_UP_CMDID(id,op,buf,len) \ - WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wow_set_action_wake_up_cmd_fixed_param, WMI_WOW_SET_ACTION_WAKE_UP_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wow_set_action_wake_up_cmd_fixed_param, WMI_WOW_SET_ACTION_WAKE_UP_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, action_bitmaps_per_category, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_WOW_SET_ACTION_WAKE_UP_CMDID); /* Wow enable/disable wake up Cmd */ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index eb743fa45284..e593add1c6bb 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -10665,13 +10665,15 @@ 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 - + /* This fixed_param TLV is followed by these additional TLV's + * 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[]; <-- variable length array */ - 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/fw/wmi_version.h b/fw/wmi_version.h index 9cda5343903a..d7e78e2dd657 100644 --- a/fw/wmi_version.h +++ b/fw/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_ 414 +#define __WMI_REVISION_ 415 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work