qcacmn: cdp support enable/disable dp debug logging

Added cdp support to get/set
dp debug logging in per packet path.
Enable debug logs only if dp debug logging
is enabled.
With this change there is benefit of all CPU
average around 1% to 1.5%

Change-Id: Ibe0ca4c75211cace4c5fca9ec0bce1c594ca8a6b
CRs-Fixed: 3623910
This commit is contained in:
Sushant Butta
2023-09-25 11:29:34 +05:30
committed by Rahul Choudhary
parent d6ee46a496
commit 41e5a457c0
4 changed files with 49 additions and 34 deletions

View File

@@ -1569,6 +1569,7 @@ typedef union cdp_config_param_t {
int cdp_psoc_param_preferred_hw_mode;
bool cdp_psoc_param_pext_stats;
bool cdp_psoc_param_jitter_stats;
bool cdp_psoc_param_dp_debug_log;
bool cdp_skip_bar_update;
bool cdp_ipa_enabled;
@@ -1776,6 +1777,7 @@ enum cdp_vdev_param_type {
* @CDP_CFG_AST_INDICATION_DISABLE: AST indication disable
* @CDP_CFG_GET_MLO_OPER_MODE: Get MLO operation mode
* @CDP_CFG_PEER_JITTER_STATS: Peer Jitter Stats
* @CDP_CONFIG_DP_DEBUG_LOG: set/get dp debug logging
*/
enum cdp_psoc_param_type {
CDP_ENABLE_RATE_STATS,
@@ -1805,6 +1807,7 @@ enum cdp_psoc_param_type {
CDP_CFG_AST_INDICATION_DISABLE,
CDP_CFG_GET_MLO_OPER_MODE,
CDP_CFG_PEER_JITTER_STATS,
CDP_CONFIG_DP_DEBUG_LOG,
};
#ifdef CONFIG_AP_PLATFORM