1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
5 * Contact Information: wlanfae <wlanfae@realtek.com>
10 #include <linux/bits.h>
12 /* Allow files to override DRV_NAME */
14 #define DRV_NAME "rtllib_92e"
17 extern u32 rt_global_debug_component;
19 /* These are the defines for rt_global_debug_component */
31 COMP_RXDESC = BIT(13),
36 COMP_POWER_TRACKING = BIT(18),
39 COMP_FIRMWARE = BIT(21),
41 COMP_CMDPKT = BIT(24),
49 #define RT_TRACE(component, x, args...) \
51 if (rt_global_debug_component & component) \
52 printk(KERN_DEBUG DRV_NAME ":" x "\n", ##args);\