qcacmn: Add dump stats feature for Lithium

Add support for dump statistics in Lithium.
Statistics include:
	1. Tx path packet flow
	2. Tx Histogram stats per interrupt
	3. Rx path packet flow
	4. Rx Histogram stats per interrupt

Change-Id: I7f399b717a9fb29a3d6ab672b669c6e323f61e27
CRs-Fixed: 2023386
Цей коміт міститься в:
Venkata Sharath Chandra Manchala
2017-03-06 14:35:00 -08:00
зафіксовано Sandeep Puligilla
джерело 5adc058835
коміт a405eb741b
10 змінених файлів з 356 додано та 28 видалено

Переглянути файл

@@ -474,4 +474,17 @@ int cdp_txrx_stats(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
return 0;
}
/**
* cdp_display_stats(): function to map to dump stats
* @soc: soc handle
* @value: statistics option
*/
static inline QDF_STATUS
cdp_display_stats(ol_txrx_soc_handle soc, uint16_t value)
{
if (soc->ops->cmn_drv_ops->display_stats)
return soc->ops->cmn_drv_ops->display_stats(soc, value);
return 0;
}
#endif /* _CDP_TXRX_CMN_H_ */