qcacmn: Add support to dump SWLM stats
Add the support to print the software latency manager statistics. Change-Id: I7b6f77eefc6f4f800996dc868d41e7e0f7dd3331 CRs-Fixed: 2769020
This commit is contained in:

committed by
snandini

vanhempi
156a7ecfc0
commit
b6835a9413
@@ -84,6 +84,7 @@
|
|||||||
#define CDP_CREDIT_STATS 24
|
#define CDP_CREDIT_STATS 24
|
||||||
#define CDP_DISCONNECT_STATS 25
|
#define CDP_DISCONNECT_STATS 25
|
||||||
#define CDP_DP_RX_FISA_STATS 26
|
#define CDP_DP_RX_FISA_STATS 26
|
||||||
|
#define CDP_DP_SWLM_STATS 27
|
||||||
|
|
||||||
#define WME_AC_TO_TID(_ac) ( \
|
#define WME_AC_TO_TID(_ac) ( \
|
||||||
((_ac) == WME_AC_VO) ? 6 : \
|
((_ac) == WME_AC_VO) ? 6 : \
|
||||||
|
@@ -77,6 +77,9 @@ cdp_dump_flow_pool_info(struct cdp_soc_t *soc)
|
|||||||
#include <pktlog_ac.h>
|
#include <pktlog_ac.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WLAN_DP_FEATURE_SW_LATENCY_MGR
|
||||||
|
#include <dp_swlm.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WLAN_FEATURE_STATS_EXT
|
#ifdef WLAN_FEATURE_STATS_EXT
|
||||||
#define INIT_RX_HW_STATS_LOCK(_soc) \
|
#define INIT_RX_HW_STATS_LOCK(_soc) \
|
||||||
@@ -5030,6 +5033,13 @@ static void dp_rx_dump_fisa_table(struct dp_soc *soc)
|
|||||||
}
|
}
|
||||||
#endif /* !WLAN_SUPPORT_RX_FISA */
|
#endif /* !WLAN_SUPPORT_RX_FISA */
|
||||||
|
|
||||||
|
#ifndef WLAN_DP_FEATURE_SW_LATENCY_MGR
|
||||||
|
static inline QDF_STATUS dp_print_swlm_stats(struct dp_soc *soc)
|
||||||
|
{
|
||||||
|
return QDF_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
#endif /* !WLAN_DP_FEATURE_SW_LATENCY_MGR */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* dp_soc_attach_target_wifi3() - SOC initialization in the target
|
* dp_soc_attach_target_wifi3() - SOC initialization in the target
|
||||||
* @cdp_soc: Opaque Datapath SOC handle
|
* @cdp_soc: Opaque Datapath SOC handle
|
||||||
@@ -9522,6 +9532,10 @@ static QDF_STATUS dp_txrx_dump_stats(struct cdp_soc_t *psoc, uint16_t value,
|
|||||||
dp_rx_dump_fisa_stats(soc);
|
dp_rx_dump_fisa_stats(soc);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case CDP_DP_SWLM_STATS:
|
||||||
|
dp_print_swlm_stats(soc);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
status = QDF_STATUS_E_INVAL;
|
status = QDF_STATUS_E_INVAL;
|
||||||
break;
|
break;
|
||||||
|
Viittaa uudesa ongelmassa
Block a user