qcacmn: populate vdev extension statistics

populated fils discovery, unsolicited probe response from
vdev extension stats and populated to APSTATS.

Change-Id: I762d7f36fa45f9048cf591bde3550a415e23bdcb
This commit is contained in:
nobelj
2020-07-30 14:44:35 -07:00
committed by snandini
parent ec3e25bf03
commit 908218f1fa
6 changed files with 139 additions and 39 deletions

View File

@@ -799,6 +799,7 @@ typedef enum {
WMI_HOST_REQUEST_PEER_RETRY_STAT = 0x2000,
WMI_HOST_REQUEST_PEER_ADV_STATS = 0x4000,
WMI_HOST_REQUEST_PMF_BCN_PROTECT_STAT = 0x8000,
WMI_HOST_REQUEST_VDEV_PRB_FILS_STAT = 0x10000,
} wmi_host_stats_id;
typedef struct {
@@ -3900,6 +3901,7 @@ struct rx_reorder_queue_remove_params {
* @num_mib_stats: number of mib stats
* @num_mib_extd_stats: number of extended mib stats
* @num_peer_stats_info_ext: number of peer extended stats info
* @num_vdev_extd_stats: number of vdev extended stats info
* @last_event: specify if the current event is the last event
*/
typedef struct {
@@ -3918,6 +3920,7 @@ typedef struct {
uint32_t num_mib_stats;
uint32_t num_mib_extd_stats;
uint32_t num_peer_stats_info_ext;
uint32_t num_vdev_extd_stats;
uint32_t last_event;
} wmi_host_stats_event;
@@ -4327,6 +4330,22 @@ typedef struct {
uint32_t reserved[13];
} wmi_host_vdev_extd_stats;
/**
* struct wmi_host_vdev_prb_fils_stats - VDEV probe response fils stats
* @vdev_id: unique id identifying the VDEV, generated by the caller
* @fd_succ_cnt: Total number of successfully transmitted Fils Discovery frames
* @fd_fail_cnt: Toatl number of Fils discovery failed count
* @unsolicited_prb_succ_cnt: Successful unsolicited probe response frames cnt
* @unsolicited_prb_fail_cnt: Failed unsolictied probe response frames cnt
*/
struct wmi_host_vdev_prb_fils_stats {
uint32_t vdev_id;
uint32_t fd_succ_cnt;
uint32_t fd_fail_cnt;
uint32_t unsolicited_prb_succ_cnt;
uint32_t unsolicited_prb_fail_cnt;
};
/**
* struct wmi_host_vdev_nac_rssi_event - VDEV nac rssi stats
* @vdev_id: unique id identifying the VDEV, generated by the caller