mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: CL 1498085 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation. WMI changes to handle action frames of different category in WoW mode Change-Id: Icbf9ad7cac93dd75ddb976a0f781e20b60201896 CRs-Fixed: 865207
This commit is contained in:
parent
2d5c12c8e0
commit
86eab9be3d
3 changed files with 37 additions and 2 deletions
|
|
@ -702,6 +702,7 @@ typedef enum {
|
|||
WMITLV_TAG_STRUC_wmi_tx_power_level_stats_evt_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_scan_adaptive_dwell_parameters_tlv,
|
||||
WMITLV_TAG_STRUC_wmi_scan_adaptive_dwell_config_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_wow_set_action_wake_up_cmd_fixed_param,
|
||||
} WMITLV_TAG_ID;
|
||||
|
||||
/*
|
||||
|
|
@ -985,7 +986,8 @@ typedef enum {
|
|||
OP(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID) \
|
||||
OP(WMI_PDEV_WAL_POWER_DEBUG_CMDID) \
|
||||
OP(WMI_VDEV_WISA_CMDID) \
|
||||
OP(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID)
|
||||
OP(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID) \
|
||||
OP(WMI_WOW_SET_ACTION_WAKE_UP_CMDID)
|
||||
|
||||
/*
|
||||
* IMPORTANT: Please add _ALL_ WMI Events Here.
|
||||
|
|
@ -1594,6 +1596,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_WOW_UDP_SVC_OFLD_CMDID);
|
|||
WMITLV_SIZE_FIX)
|
||||
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_CREATE_PARAM_STRUC(WMI_WOW_SET_ACTION_WAKE_UP_CMDID);
|
||||
|
||||
/* Wow enable/disable wake up Cmd */
|
||||
#define WMITLV_TABLE_WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_ADD_DEL_EVT_CMD_fixed_param, WMI_WOW_ADD_DEL_EVT_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
|
|
|
|||
|
|
@ -633,6 +633,9 @@ typedef enum {
|
|||
/* configure WOW host wakeup PIN pattern */
|
||||
WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID,
|
||||
|
||||
/* Set which action category should wake the host from suspend */
|
||||
WMI_WOW_SET_ACTION_WAKE_UP_CMDID,
|
||||
|
||||
/* RTT measurement related cmd */
|
||||
/** request to make an RTT measurement */
|
||||
WMI_RTT_MEASREQ_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_RTT),
|
||||
|
|
@ -8421,6 +8424,32 @@ typedef struct {
|
|||
A_UINT32 repeat_cnt;
|
||||
} WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMD_fixed_param;
|
||||
|
||||
#define MAX_SUPPORTED_ACTION_CATEGORY 256
|
||||
#define MAX_SUPPORTED_ACTION_CATEGORY_ELE_LIST (MAX_SUPPORTED_ACTION_CATEGORY/32)
|
||||
|
||||
typedef enum {
|
||||
WOW_ACTION_WAKEUP_OPERATION_RESET = 0,
|
||||
WOW_ACTION_WAKEUP_OPERATION_SET,
|
||||
WOW_ACTION_WAKEUP_OPERATION_ADD_SET,
|
||||
WOW_ACTION_WAKEUP_OPERATION_DELETE_SET,
|
||||
} WOW_ACTION_WAKEUP_OPERATION;
|
||||
|
||||
typedef struct {
|
||||
/*
|
||||
* TLV tag and len; tag equals
|
||||
* WMITLV_TAG_STRUC_WMI_WOW_SET_ACTION_WAKE_UP_CMD_fixed_param
|
||||
*/
|
||||
A_UINT32 tlv_header;
|
||||
A_UINT32 vdev_id;
|
||||
/*
|
||||
* 0 reset to fw default, 1 set the bits, 2 add the setting bits,
|
||||
* 3 delete the setting bits
|
||||
*/
|
||||
A_UINT32 operation;
|
||||
A_UINT32 action_category_map[MAX_SUPPORTED_ACTION_CATEGORY_ELE_LIST];
|
||||
} WMI_WOW_SET_ACTION_WAKE_UP_CMD_fixed_param;
|
||||
|
||||
|
||||
typedef struct wow_event_info_s {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_WOW_EVENT_INFO_fixed_param */
|
||||
A_UINT32 vdev_id;
|
||||
|
|
|
|||
|
|
@ -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_ 239
|
||||
#define __WMI_REVISION_ 240
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue