qcacld-3.0: Add support for TWT clear statistics

Add support to send TWT clear statistics request
to firmware.

Change-Id: I435b743955d44a02235b92f98beb302a6a21f036
CRs-Fixed: 2855624
This commit is contained in:
Rajasekaran Kalidoss
2021-01-15 12:21:05 +05:30
committed by snandini
parent 87e90432e3
commit 09157aa43a
3 changed files with 188 additions and 0 deletions

View File

@@ -153,6 +153,21 @@ QDF_STATUS ucfg_mc_cp_stats_send_stats_request(struct wlan_objmgr_vdev *vdev,
enum stats_req_type type,
struct request_info *info);
/**
* wlan_cfg80211_mc_twt_clear_infra_cp_stats() - send request to reset
* control path statistics
* @vdev: pointer to vdev object
* @dialog_id: dialod id of the twt session
* @twt_peer_mac: mac address of the peer
*
* Return: 0 for success or error code for failure
*/
int
wlan_cfg80211_mc_twt_clear_infra_cp_stats(
struct wlan_objmgr_vdev *vdev,
uint32_t dialog_id,
uint8_t twt_peer_mac[QDF_MAC_ADDR_SIZE]);
/**
* wlan_cfg80211_mc_twt_get_infra_cp_stats() - send twt get statistic request
* @vdev: pointer to vdev object