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
This commit is contained in:
sheenam monga 2021-02-10 23:34:03 +05:30 • committed by snandini
commit 8cbdca9d91

View file

@ -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