1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
10 /* Allow files to override DRV_NAME */
12 #define DRV_NAME "rtllib_92e"
15 extern u32 rt_global_debug_component;
17 /* These are the defines for rt_global_debug_component */
19 COMP_TRACE = (1 << 0),
23 COMP_POWER = (1 << 6),
28 COMP_RATE = (1 << 12),
29 COMP_RXDESC = (1 << 13),
32 COMP_TXAGC = (1 << 16),
33 COMP_HALDM = (1 << 17),
34 COMP_POWER_TRACKING = (1 << 18),
37 COMP_FIRMWARE = (1 << 21),
38 COMP_RESET = (1 << 23),
39 COMP_CMDPKT = (1 << 24),
40 COMP_SCAN = (1 << 25),
42 COMP_DOWN = (1 << 27),
43 COMP_INTR = (1 << 28),
47 #define RT_TRACE(component, x, args...) \
49 if (rt_global_debug_component & component) \
50 printk(KERN_DEBUG DRV_NAME ":" x "\n", ##args);\