Forráskód Böngészése

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.
<Describe here the change summary in detail>

Change-Id: I846b8be8deb35d8ec8f2b65327afeb2a8a6c38ec
CRs-Fixed: 1107600
snandini 7 éve
szülő
commit
0987650471
3 módosított fájl, 7 hozzáadás és 4 törlés
  1. 2 1
      fw/wmi_tlv_defs.h
  2. 4 2
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 2 - 1
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 */

+ 4 - 2
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 {

+ 1 - 1
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