diff --git a/dp/inc/cdp_txrx_cmn_struct.h b/dp/inc/cdp_txrx_cmn_struct.h index 6497483fb0..ffb9eb41dd 100644 --- a/dp/inc/cdp_txrx_cmn_struct.h +++ b/dp/inc/cdp_txrx_cmn_struct.h @@ -84,6 +84,7 @@ #define CDP_CREDIT_STATS 24 #define CDP_DISCONNECT_STATS 25 #define CDP_DP_RX_FISA_STATS 26 +#define CDP_DP_SWLM_STATS 27 #define WME_AC_TO_TID(_ac) ( \ ((_ac) == WME_AC_VO) ? 6 : \ diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 46fecefc5c..59c7915508 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -77,6 +77,9 @@ cdp_dump_flow_pool_info(struct cdp_soc_t *soc) #include #endif #endif +#ifdef WLAN_DP_FEATURE_SW_LATENCY_MGR +#include +#endif #ifdef WLAN_FEATURE_STATS_EXT #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 */ +#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 * @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); break; + case CDP_DP_SWLM_STATS: + dp_print_swlm_stats(soc); + break; + default: status = QDF_STATUS_E_INVAL; break;