diff --git a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h index 56d186968e43..9ae156a81eee 100644 --- a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h +++ b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h @@ -27,6 +27,7 @@ #ifdef QCA_SUPPORT_CP_STATS #include #include +#include #include "../../core/src/wlan_cp_stats_defs.h" #ifdef WLAN_ATF_ENABLE #include @@ -660,5 +661,16 @@ wlan_ucfg_get_atf_peer_cp_stats_from_mac(struct wlan_objmgr_vdev *vdev, #endif +/** + * wlan_ucfg_get_dcs_chan_stats() - ucfg API to set dcs chan stats + * @pdev_obj: pointer to pdev object + * @dcs_chan_stats: pointer to dcs chan stats structure + * + * Return: QDF_STATUS - Success or Failure + */ +QDF_STATUS +wlan_ucfg_get_dcs_chan_stats(struct wlan_objmgr_pdev *pdev, + struct pdev_dcs_chan_stats *dcs_chan_stats); + #endif /* QCA_SUPPORT_CP_STATS */ #endif /* __WLAN_CP_STATS_IC_UCFG_API_H__ */ diff --git a/umac/cp_stats/dispatcher/src/wlan_cp_stats_ic_ucfg_api.c b/umac/cp_stats/dispatcher/src/wlan_cp_stats_ic_ucfg_api.c index 4e6dbb9ed3b9..a8a8ca582dbd 100644 --- a/umac/cp_stats/dispatcher/src/wlan_cp_stats_ic_ucfg_api.c +++ b/umac/cp_stats/dispatcher/src/wlan_cp_stats_ic_ucfg_api.c @@ -28,6 +28,7 @@ #include #endif #include +#include #include "../../core/src/wlan_cp_stats_cmn_api_i.h" #include @@ -338,3 +339,10 @@ wlan_ucfg_get_atf_peer_cp_stats_from_mac(struct wlan_objmgr_vdev *vdev, return status; } #endif + +QDF_STATUS +wlan_ucfg_get_dcs_chan_stats(struct wlan_objmgr_pdev *pdev, + struct pdev_dcs_chan_stats *dcs_chan_stats) +{ + return QDF_STATUS_E_INVAL; +}