summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Chauhan <rajeshc@qca.qualcomm.com>2013-11-14 00:16:59 -0800
committerMadan Mohan Koyyalamudi <mkoyyala@qca.qualcomm.com>2013-11-27 20:02:22 -0800
commit4da6698d00a53d2eaab671c687649c4a167d5def (patch)
treec384748820fdf5dd0dfc3c523227cfb98d6865a5
parent4e4dd6b9d6605d436e939a23eda3a5840bcb2890 (diff)
qcacld: update fwcommon interface files
Update fwcommon interface files for WMI_P2P_NOA_EVENTID Change-Id: I03355f1206312952150d2397f790e00a7c4d4bbf CRs-Fixed: 575474
-rw-r--r--CORE/SERVICES/COMMON/wmi_tlv_defs.h10
-rw-r--r--CORE/SERVICES/COMMON/wmi_unified.h11
-rw-r--r--CORE/SERVICES/COMMON/wmi_version.h2
3 files changed, 21 insertions, 2 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_tlv_defs.h b/CORE/SERVICES/COMMON/wmi_tlv_defs.h
index 9c9f0c853406..8b7e68844d79 100644
--- a/CORE/SERVICES/COMMON/wmi_tlv_defs.h
+++ b/CORE/SERVICES/COMMON/wmi_tlv_defs.h
@@ -383,6 +383,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_mcc_sched_traffic_stats_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_mcc_sched_sta_traffic_stats,
WMITLV_TAG_STRUC_wmi_offload_bcn_tx_status_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_p2p_noa_event_fixed_param,
} WMITLV_TAG_ID;
/*
@@ -557,7 +558,8 @@ typedef enum {
OP(WMI_TDLS_PEER_EVENTID) \
OP(WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID) \
OP(WMI_BA_RSP_SSN_EVENTID) \
- OP(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID)
+ OP(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID) \
+ OP(WMI_P2P_NOA_EVENTID)
/* TLV definitions of WMI commands */
@@ -1543,6 +1545,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_offload_bcn_tx_status_event_fixed_param, wmi_offload_bcn_tx_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID);
+/* NOA Event */
+#define WMITLV_TABLE_WMI_P2P_NOA_EVENTID(id,op,buf,len) \
+WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_noa_event_fixed_param, wmi_p2p_noa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
+WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_noa_info, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_FIX)
+ WMITLV_CREATE_PARAM_STRUC(WMI_P2P_NOA_EVENTID);
+
#ifdef __cplusplus
}
#endif
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h
index 388a3c230ca8..552849be8558 100644
--- a/CORE/SERVICES/COMMON/wmi_unified.h
+++ b/CORE/SERVICES/COMMON/wmi_unified.h
@@ -602,6 +602,9 @@ typedef enum {
/** P2P disc found */
WMI_P2P_DISC_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_P2P),
+ /*send noa info to host when noa is changed for beacon tx offload enable*/
+ WMI_P2P_NOA_EVENTID,
+
/** 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),
@@ -5542,6 +5545,14 @@ typedef struct {
*/
} wmi_mcc_sched_traffic_stats_cmd_fixed_param;
+typedef struct {
+ A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_p2p_noa_event_fixed_param */
+ A_UINT32 vdev_id;
+ /* This TLV is followed by p2p_noa_info for vdev :
+ * wmi_p2p_noa_info p2p_noa_info;
+ */
+} wmi_p2p_noa_event_fixed_param;
+
#ifdef __cplusplus
}
#endif
diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h
index 4ce800710c27..c10dfe81bf02 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_ 17
+#define __WMI_REVISION_ 18
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work