qcacmn: avoid vdev stats aggregate for every ppdu stats event

Avoid vdev aggregate stats for every ppdu stats event as it is
consuming high CPU in veriwave max clients testcase. Instead
aggregate the stats when ifconfig athX command is issued. Add
CDP API to aggregate and update stats called when needed

Change-Id: I801d5f8fab0c275942b77a9975293f95bd4026b0
CRs-Fixed: 2220704
This commit is contained in:
Chaithanya Garrepalli
2018-04-09 12:34:20 +05:30
committad av nshrivas
förälder 46ffb86105
incheckning 2faa46fbfb
5 ändrade filer med 54 tillägg och 11 borttagningar

Visa fil

@@ -138,8 +138,8 @@ struct cdp_cmn_ops {
void (*txrx_vdev_tx_unlock)(struct cdp_vdev *vdev);
void (*txrx_ath_getstats)(struct cdp_pdev *pdev,
struct cdp_dev_stats *stats);
void (*txrx_ath_getstats)(void *pdev,
struct cdp_dev_stats *stats, uint8_t type);
void (*txrx_set_gid_flag)(struct cdp_pdev *pdev, u_int8_t *mem_status,
u_int8_t *user_position);