qcacmn: Add support to get jitter stats on peer level

Add support to get jitter stats on peer level

Change-Id: I5e37a24e93cde5e34e561b26c0834d9cfe42bf9f
CRs-Fixed: 3296380
This commit is contained in:
Amrit Sahai
2022-08-26 12:11:59 +05:30
committed by Madan Koyyalamudi
parent db0def4e98
commit 9313b57907
7 changed files with 310 additions and 20 deletions

View File

@@ -401,6 +401,7 @@ struct wlan_cfg_dp_soc_ctxt {
uint8_t radio1_rx_default_reo;
uint8_t radio2_rx_default_reo;
bool wow_check_rx_pending_enable;
bool jitter_stats_enabled;
#ifdef IPA_OFFLOAD
uint32_t ipa_tx_ring_size;
uint32_t ipa_tx_comp_ring_size;
@@ -1791,6 +1792,18 @@ void
wlan_cfg_set_peer_ext_stats(struct wlan_cfg_dp_soc_ctxt *cfg,
bool val);
/**
* wlan_cfg_set_peer_jitter_stats() - set peer jitter stats
*
* @wlan_cfg_dp_soc_ctxt: soc configuration context
* @val: Flag value read from INI
*
* Return: bool
*/
void
wlan_cfg_set_peer_jitter_stats(struct wlan_cfg_dp_soc_ctxt *cfg,
bool val);
/**
* wlan_cfg_is_peer_ext_stats_enabled() - Check if peer extended
* stats are enabled
@@ -1802,6 +1815,16 @@ wlan_cfg_set_peer_ext_stats(struct wlan_cfg_dp_soc_ctxt *cfg,
bool
wlan_cfg_is_peer_ext_stats_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_is_peer_jitter_stats_enabled() - check if jitter stats are enabled
*
* @wlan_cfg_dp_soc_ctxt: soc configuration context
*
* Return: bool
*/
bool
wlan_cfg_is_peer_jitter_stats_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_is_poll_mode_enabled() - Check if poll mode is enabled
*