qcacmn: Ini and Config command Support for MLO Link Peer Stats

Add support to enable/disable MLO Link Peer stats through
ini and cfg80211tool enable_ol stats command

Change-Id: Id1229a149befa416d060e1b07eee150e6b295abf
CRs-Fixed: 3397721
This commit is contained in:
Kenvish Butani
2023-01-26 14:33:16 +05:30
committed by Madan Koyyalamudi
parent 4c88b99fe7
commit bad3898323
18 changed files with 207 additions and 53 deletions

View File

@@ -1064,7 +1064,7 @@ struct dp_mon_pdev {
/* Neighnour peer list */
TAILQ_HEAD(, dp_neighbour_peer) neighbour_peers_list;
/* Enhanced Stats is enabled */
bool enhanced_stats_en;
uint8_t enhanced_stats_en;
qdf_nbuf_queue_t rx_status_q;
/* 128 bytes mpdu header queue per user for ppdu */
@@ -4293,7 +4293,29 @@ QDF_STATUS dp_pdev_get_rx_mon_stats(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
bool dp_enable_mon_reap_timer(struct cdp_soc_t *soc_hdl,
enum cdp_mon_reap_source source, bool enable);
#ifdef QCA_ENHANCED_STATS_SUPPORT
/**
* dp_enable_enhanced_stats() - enable enhanced and MLD Link Peer stats
* @soc: Datapath soc handle
* @pdev_id: Pdev Id on which stats will get enable
*
* Return: status success/failure
*/
QDF_STATUS
dp_enable_enhanced_stats(struct cdp_soc_t *soc, uint8_t pdev_id);
/**
* dp_disable_enhanced_stats() - disable enhanced and MLD Link Peer stats
* @soc: Datapath soc handle
* @pdev_id: Pdev Id on which stats will get disable
*
* Return: status success/failure
*/
QDF_STATUS
dp_disable_enhanced_stats(struct cdp_soc_t *soc, uint8_t pdev_id);
#endif /* QCA_ENHANCED_STATS_SUPPORT */
/*
* dp_monitor_lite_mon_disable_rx() - disables rx lite mon
* @pdev: dp pdev
*