qcacmn: [DP]TWT stats feature: add WMI Support for TWT stats event

Add WMI support for WMI_TWT_SESSION_STATS_EVENTID. This event
contains stats for a given TWT session.

Change-Id: I01d5f7b30da803ee713a14c1d1124b8af7161bca
CRs-Fixed: 2609951
This commit is contained in:
nwzhao
2020-07-26 23:43:17 -07:00
committed by snandini
parent fbe384b6ac
commit ca9a332c4a
6 changed files with 24 additions and 3 deletions

View File

@@ -980,11 +980,13 @@ struct cdp_soc_t {
* @CDP_CONFIG_NAWDS: Enable nawds mode
* @CDP_CONFIG_NAC: Enable nac
* @CDP_CONFIG_ISOLATION : Enable isolation
* @CDP_CONFIG_IN_TWT : In TWT session or not
*/
enum cdp_peer_param_type {
CDP_CONFIG_NAWDS,
CDP_CONFIG_NAC,
CDP_CONFIG_ISOLATION,
CDP_CONFIG_IN_TWT,
};
/*
@@ -1054,6 +1056,7 @@ enum cdp_pdev_param_type {
*
* @cdp_peer_param_nawds: Enable nawds mode
* @cdp_peer_param_isolation: Enable isolation
* @cdp_peer_param_in_twt: in TWT session or not
* @cdp_peer_param_nac: Enable nac
*
* @cdp_vdev_param_nawds: set nawds enable/disable
@@ -1110,6 +1113,7 @@ typedef union cdp_config_param_t {
bool cdp_peer_param_nawds;
bool cdp_peer_param_isolation;
uint8_t cdp_peer_param_nac;
bool cdp_peer_param_in_twt;
/* vdev params */
bool cdp_vdev_param_wds;