qcacmn: add periodic data traffic stats
Add support for periodic stats for data packets to be displayed in wlan driver logs. Change-Id: Ifb8fc5cabb8ecd31da83b5d307721c1d41a30f9d CRs-Fixed: 2118581
This commit is contained in:
@@ -961,7 +961,8 @@ static inline void cdp_txrx_intr_detach(ol_txrx_soc_handle soc)
|
||||
* @value: statistics option
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
cdp_display_stats(ol_txrx_soc_handle soc, uint16_t value)
|
||||
cdp_display_stats(ol_txrx_soc_handle soc, uint16_t value,
|
||||
enum qdf_stats_verbosity_level level)
|
||||
{
|
||||
if (!soc || !soc->ops) {
|
||||
QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
|
||||
@@ -974,7 +975,7 @@ cdp_display_stats(ol_txrx_soc_handle soc, uint16_t value)
|
||||
!soc->ops->cmn_drv_ops->display_stats)
|
||||
return 0;
|
||||
|
||||
return soc->ops->cmn_drv_ops->display_stats(soc, value);
|
||||
return soc->ops->cmn_drv_ops->display_stats(soc, value, level);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user