summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrishna Kumaar Natarajan <kknatara@qca.qualcomm.com>2014-11-21 11:43:24 -0800
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2014-11-24 18:13:05 +0530
commitf88e82c9fb694d47e0ac1c50554eee2cf13e91b5 (patch)
tree4752bfc0a70f8cdf8a69aad60d69bafed3a1ab12
parent4da394ba0393b80b9ae344fe075767d107ead8ce (diff)
qcacld: CL 1133654 - update fw common interface files
This change set add wmi_pdev_resume_event which is generated in response to wmi_pdev_resume_cmd from host. Change-Id: Icb0968be7a12ff47bfdcaef1440c2a0e7efe5ab6 CRs-Fixed: 761102
-rw-r--r--CORE/SERVICES/COMMON/wmi_tlv_defs.h11
-rw-r--r--CORE/SERVICES/COMMON/wmi_unified.h10
-rw-r--r--CORE/SERVICES/COMMON/wmi_version.h2
3 files changed, 20 insertions, 3 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_tlv_defs.h b/CORE/SERVICES/COMMON/wmi_tlv_defs.h
index 5dee8b4618bf..1800a1e7e4ca 100644
--- a/CORE/SERVICES/COMMON/wmi_tlv_defs.h
+++ b/CORE/SERVICES/COMMON/wmi_tlv_defs.h
@@ -519,7 +519,8 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_mdns_set_resp_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_mdns_get_stats_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_mdns_stats_event_fixed_param,
- WMITLV_TAG_STRUC_wmi_roam_invoke_cmd_fixed_param
+ WMITLV_TAG_STRUC_wmi_roam_invoke_cmd_fixed_param,
+ WMITLV_TAG_STRUC_wmi_pdev_resume_event_fixed_param
} WMITLV_TAG_ID;
/*
@@ -808,7 +809,8 @@ typedef enum {
OP(WMI_UPDATE_VDEV_RATE_STATS_EVENTID) \
OP(WMI_PDEV_TEMPERATURE_EVENTID) \
OP(WMI_DIAG_EVENTID) \
- OP(WMI_MDNS_STATS_EVENTID)
+ OP(WMI_MDNS_STATS_EVENTID) \
+ OP(WMI_PDEV_RESUME_EVENTID)
/* TLV definitions of WMI commands */
@@ -2455,6 +2457,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TEMPERATURE_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mdns_stats_event_fixed_param, wmi_mdns_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_STATS_EVENTID);
+/* pdev resume event */
+#define WMITLV_TABLE_WMI_PDEV_RESUME_EVENTID(id,op,buf,len) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_resume_event_fixed_param, wmi_pdev_resume_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RESUME_EVENTID);
+
#ifdef __cplusplus
}
#endif
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h
index bd570d67f347..9ab14e837bcb 100644
--- a/CORE/SERVICES/COMMON/wmi_unified.h
+++ b/CORE/SERVICES/COMMON/wmi_unified.h
@@ -812,6 +812,9 @@ typedef enum {
/*send noa info to host when noa is changed for beacon tx offload enable*/
WMI_P2P_NOA_EVENTID,
+ /* send pdev resume event to host after pdev resume. */
+ WMI_PDEV_RESUME_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_SUSPEND),
+
/** WOW wake up host event.generated in response to WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID.
will cary wake reason */
WMI_WOW_WAKEUP_HOST_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_WOW),
@@ -8856,6 +8859,13 @@ typedef struct{
A_UINT32 reserved0; /* for future need */
} wmi_d0_wow_disable_ack_event_fixed_param;
+/** WMI_PDEV_RESUME_EVENTID : generated in response to WMI_PDEV_RESUME_CMDID */
+typedef struct {
+ A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_resume_event_fixed_param */
+ A_UINT32 rsvd; /* for future need */
+} wmi_pdev_resume_event_fixed_param;
+
+
/** value representing all modules */
#define WMI_DEBUG_LOG_MODULE_ALL 0xffff
diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h
index bff9376e8bd1..fea4cfb05a2b 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_ 77
+#define __WMI_REVISION_ 78
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work