1 /* 2 * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. 3 * SPDX-License-Identifier: ISC 4 */ 5 6 /** 7 * DOC: This file contains centralized definitions of CP Stats component 8 */ 9 #ifndef __CONFIG_CP_STATS_H 10 #define __CONFIG_CP_STATS_H 11 12 #include "cfg_define.h" 13 14 #ifdef WLAN_CHIPSET_STATS 15 /* 16 * <ini> 17 * chipset_stats_enable - Enable/Disable chipset stats logging feature 18 * @Min: 0 19 * @Max: 1 20 * @Default: 0 21 * 22 * This ini is used to enable/disable Chipset Stats Logging. Configurations 23 * are as follows: 24 * 0 - Disable Chipset Stats logging 25 * 1 - Enable Chipset Stats logging 26 * 27 * Related: None 28 * 29 * Usage: External 30 * 31 * </ini> 32 */ 33 #define CHIPSET_STATS_ENABLE CFG_INI_BOOL(\ 34 "chipset_stats_enable", false,\ 35 "Enable Chipset stats logging feature") 36 37 #define CFG_CP_STATS_CSTATS CFG(CHIPSET_STATS_ENABLE) 38 #else 39 #define CFG_CP_STATS_CSTATS 40 #endif /* WLAN_CHIPSET_STATS */ 41 42 #define CFG_CP_STATS_ALL \ 43 CFG_CP_STATS_CSTATS 44 45 #endif /* __CONFIG_CP_STATS_H */ 46