From 8cbdca9d91012e893b30808193685b17fb6d56cb Mon Sep 17 00:00:00 2001 From: sheenam monga Date: Wed, 10 Feb 2021 23:34:03 +0530 Subject: [PATCH] qcacmn: Add support to handle BIG_DATA_P2_EVENTID Fw advertise big data stats in response of host command WMI_VDEV_GET_BIG_DATA_P2_CMDID. Add support to handle BIG_DATA_P2_EVENTID. Change-Id: I550eb1c99ee1d8c102f9ad673841c410ff0829ef CRs-Fixed: 2868922 --- .../lmac_if/inc/wlan_lmac_if_def.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h index 0fcf77f140d4..ac4b880ad3bf 100644 --- a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h +++ b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h @@ -110,6 +110,13 @@ typedef struct request_info stats_req_info; */ typedef struct wake_lock_stats stats_wake_lock; +/** + * typedef struct big_data_stats_event - Definition of big data cp stats + * Define big_data_stats_event from external cp stats component to + * big_data_stats_event + */ +typedef struct big_data_stats_event stats_big_data_stats_event; + /** * struct wlan_lmac_if_cp_stats_tx_ops - defines southbound tx callbacks for * control plane statistics component @@ -125,6 +132,7 @@ typedef struct wake_lock_stats stats_wake_lock; * to FW * @send_req_infra_cp_stats: function pointer to send infra cp stats request * command to FW + * @send_req_big_data_stats: Function pointer to send big data stats */ struct wlan_lmac_if_cp_stats_tx_ops { QDF_STATUS (*cp_stats_attach)(struct wlan_objmgr_psoc *psoc); @@ -144,6 +152,11 @@ struct wlan_lmac_if_cp_stats_tx_ops { struct wlan_objmgr_psoc *psoc, struct infra_cp_stats_cmd_info *req); #endif +#ifdef WLAN_FEATURE_BIG_DATA_STATS + QDF_STATUS (*send_req_big_data_stats)( + struct wlan_objmgr_psoc *psoc, + stats_req_info *req); +#endif }; /** @@ -161,6 +174,11 @@ struct wlan_lmac_if_cp_stats_rx_ops { (*process_infra_stats_event)(struct wlan_objmgr_psoc *psoc, struct infra_cp_stats_event *infra_event); #endif /* WLAN_SUPPORT_INFRA_CTRL_PATH_STATS */ +#ifdef WLAN_FEATURE_BIG_DATA_STATS + QDF_STATUS (*process_big_data_stats_event)( + struct wlan_objmgr_psoc *psoc, + stats_big_data_stats_event *ev); +#endif }; #endif