qcacmn: Add dp ini param for sawf stats

Add dp ini-param to configure sawf_stats.

CRs-Fixed: 3300948
Change-Id: Ifeb6935e2309be1f974c4da30b33a5caca308569
This commit is contained in:
Vivek
2022-10-11 09:39:45 +05:30
committed by Madan Koyyalamudi
parent 63d8ecaa0f
commit 3b1f7ced17
6 changed files with 117 additions and 2 deletions

View File

@@ -438,6 +438,9 @@ struct wlan_cfg_dp_soc_ctxt {
#endif
#ifdef CONFIG_SAWF
bool sawf_enabled;
#endif
#ifdef CONFIG_SAWF_STATS
uint8_t sawf_stats;
#endif
uint8_t mpdu_retry_threshold_1;
uint8_t mpdu_retry_threshold_2;
@@ -2122,6 +2125,25 @@ wlan_cfg_set_sawf_config(struct wlan_cfg_dp_soc_ctxt *cfg, bool value);
bool
wlan_cfg_get_sawf_config(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_set_sawf_stats_config() - Set SAWF stats config
* @cfg: config context
* @value: value to be set
*
* Return: void
*/
void
wlan_cfg_set_sawf_stats_config(struct wlan_cfg_dp_soc_ctxt *cfg, uint8_t value);
/**
* wlan_cfg_get_sawf_stats_config() - Get SAWF stats config
* @cfg: config context
*
* Return: value for sawf_stats_config
*/
uint8_t
wlan_cfg_get_sawf_stats_config(struct wlan_cfg_dp_soc_ctxt *cfg);
#if defined(WLAN_FEATURE_11BE_MLO) && defined(WLAN_MLO_MULTI_CHIP)
/**
* wlan_cfg_mlo_rx_ring_map_get() - get rx ring map