diff --git a/dp/inc/cdp_txrx_cmn_struct.h b/dp/inc/cdp_txrx_cmn_struct.h index b67dcbff31..33cc986f70 100644 --- a/dp/inc/cdp_txrx_cmn_struct.h +++ b/dp/inc/cdp_txrx_cmn_struct.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2011-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -1210,6 +1210,7 @@ enum cdp_pdev_param_type { CDP_SET_ATF_STATS_ENABLE, CDP_CONFIG_SPECIAL_VAP, CDP_RESET_SCAN_SPCL_VAP_STATS_ENABLE, + CDP_CONFIG_ENHANCED_STATS_ENABLE, }; /* @@ -1348,6 +1349,7 @@ typedef union cdp_config_param_t { bool cdp_pdev_param_atf_stats_enable; bool cdp_pdev_param_config_special_vap; bool cdp_pdev_param_reset_scan_spcl_vap_stats_enable; + bool cdp_pdev_param_enhanced_stats_enable; /* psoc params */ bool cdp_psoc_param_en_rate_stats; diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index f0ab60c688..83f2721741 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -9397,6 +9397,9 @@ static QDF_STATUS dp_set_pdev_param(struct cdp_soc_t *cdp_soc, uint8_t pdev_id, dp_monitor_pdev_reset_scan_spcl_vap_stats_enable(pdev, val.cdp_pdev_param_reset_scan_spcl_vap_stats_enable); break; + case CDP_CONFIG_ENHANCED_STATS_ENABLE: + pdev->enhanced_stats_en = val.cdp_pdev_param_enhanced_stats_enable; + break; default: return QDF_STATUS_E_INVAL; }