qcacmn: Add implementation of dcs chan stats
Add change to provide API to get DCS chan stats structure from within cp stats component Change-Id: Ie67725931f8c9b4870c711e560b06b41854a1af0 CRs-Fixed: 2236328
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#ifdef QCA_SUPPORT_CP_STATS
|
||||
#include <wlan_objmgr_cmn.h>
|
||||
#include <wlan_cp_stats_ic_defs.h>
|
||||
#include <wlan_cp_stats_ic_dcs_defs.h>
|
||||
#include "../../core/src/wlan_cp_stats_defs.h"
|
||||
#ifdef WLAN_ATF_ENABLE
|
||||
#include <wlan_cp_stats_ic_atf_defs.h>
|
||||
@@ -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__ */
|
||||
|
@@ -28,6 +28,7 @@
|
||||
#include <wlan_cp_stats_ic_atf_defs.h>
|
||||
#endif
|
||||
#include <wlan_cp_stats_ic_defs.h>
|
||||
#include <wlan_cp_stats_ic_dcs_defs.h>
|
||||
#include "../../core/src/wlan_cp_stats_cmn_api_i.h"
|
||||
#include <qdf_module.h>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user