aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-08-31 08:49:56 -0400
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 08:25:21 -0500
commitf02579e3a81954c8f0944c7d2a95159ee48f052d (patch)
tree9708e5ba273967fb74588627da729e6ee1956422 /drivers/net/wireless/iwlegacy
parentf19ab370a7ba40570dcdb2c0c3cdaa8c20efde97 (diff)
iwlegacy: merge iwl-debug.h into common.h
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy')
-rw-r--r--drivers/net/wireless/iwlegacy/3945.h1
-rw-r--r--drivers/net/wireless/iwlegacy/4965.h2
-rw-r--r--drivers/net/wireless/iwlegacy/Kconfig2
-rw-r--r--drivers/net/wireless/iwlegacy/common.c1
-rw-r--r--drivers/net/wireless/iwlegacy/common.h191
-rw-r--r--drivers/net/wireless/iwlegacy/debug.c2
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-debug.h175
7 files changed, 165 insertions, 209 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945.h b/drivers/net/wireless/iwlegacy/3945.h
index ed367bb7878f..1a2430bb1889 100644
--- a/drivers/net/wireless/iwlegacy/3945.h
+++ b/drivers/net/wireless/iwlegacy/3945.h
@@ -35,7 +35,6 @@
35extern const struct pci_device_id il3945_hw_card_ids[]; 35extern const struct pci_device_id il3945_hw_card_ids[];
36 36
37#include "common.h" 37#include "common.h"
38#include "iwl-debug.h"
39 38
40/* Highest firmware API version supported */ 39/* Highest firmware API version supported */
41#define IL3945_UCODE_API_MAX 2 40#define IL3945_UCODE_API_MAX 2
diff --git a/drivers/net/wireless/iwlegacy/4965.h b/drivers/net/wireless/iwlegacy/4965.h
index 10d0b13e0e3c..a4e256bb5061 100644
--- a/drivers/net/wireless/iwlegacy/4965.h
+++ b/drivers/net/wireless/iwlegacy/4965.h
@@ -30,8 +30,6 @@
30#ifndef __il_4965_h__ 30#ifndef __il_4965_h__
31#define __il_4965_h__ 31#define __il_4965_h__
32 32
33#include "iwl-debug.h"
34
35struct il_rx_queue; 33struct il_rx_queue;
36struct il_rx_buf; 34struct il_rx_buf;
37struct il_rx_pkt; 35struct il_rx_pkt;
diff --git a/drivers/net/wireless/iwlegacy/Kconfig b/drivers/net/wireless/iwlegacy/Kconfig
index b4be3b44f0a0..05bd375cb845 100644
--- a/drivers/net/wireless/iwlegacy/Kconfig
+++ b/drivers/net/wireless/iwlegacy/Kconfig
@@ -29,7 +29,7 @@ config IWLEGACY_DEBUG
29 % echo 0x43fff > /sys/class/net/wlan0/device/debug_level 29 % echo 0x43fff > /sys/class/net/wlan0/device/debug_level
30 30
31 You can find the list of debug mask values in: 31 You can find the list of debug mask values in:
32 drivers/net/wireless/iwlegacy/iwl-debug.h 32 drivers/net/wireless/iwlegacy/common.h
33 33
34 If this is your first time using this driver, you should say Y here 34 If this is your first time using this driver, you should say Y here
35 as the debug information can assist others in helping you resolve 35 as the debug information can assist others in helping you resolve
diff --git a/drivers/net/wireless/iwlegacy/common.c b/drivers/net/wireless/iwlegacy/common.c
index 5d5efcb4045e..627ac9b32012 100644
--- a/drivers/net/wireless/iwlegacy/common.c
+++ b/drivers/net/wireless/iwlegacy/common.c
@@ -40,7 +40,6 @@
40#include <linux/skbuff.h> 40#include <linux/skbuff.h>
41#include <net/mac80211.h> 41#include <net/mac80211.h>
42 42
43#include "iwl-debug.h"
44#include "common.h" 43#include "common.h"
45 44
46const char *il_get_cmd_string(u8 cmd) 45const char *il_get_cmd_string(u8 cmd)
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h
index be057aa511b6..b1d237fc5fb7 100644
--- a/drivers/net/wireless/iwlegacy/common.h
+++ b/drivers/net/wireless/iwlegacy/common.h
@@ -37,12 +37,15 @@
37#include "commands.h" 37#include "commands.h"
38#include "csr.h" 38#include "csr.h"
39#include "prph.h" 39#include "prph.h"
40#include "iwl-debug.h"
41 40
42struct il_host_cmd; 41struct il_host_cmd;
43struct il_cmd; 42struct il_cmd;
44struct il_tx_queue; 43struct il_tx_queue;
45 44
45#define IL_ERR(f, a...) dev_err(&il->pci_dev->dev, f, ## a)
46#define IL_WARN(f, a...) dev_warn(&il->pci_dev->dev, f, ## a)
47#define IL_INFO(f, a...) dev_info(&il->pci_dev->dev, f, ## a)
48
46#define RX_QUEUE_SIZE 256 49#define RX_QUEUE_SIZE 256
47#define RX_QUEUE_MASK 255 50#define RX_QUEUE_MASK 255
48#define RX_QUEUE_SIZE_LOG 8 51#define RX_QUEUE_SIZE_LOG 8
@@ -1515,29 +1518,6 @@ static inline void il_txq_ctx_deactivate(struct il_priv *il, int txq_id)
1515 clear_bit(txq_id, &il->txq_ctx_active_msk); 1518 clear_bit(txq_id, &il->txq_ctx_active_msk);
1516} 1519}
1517 1520
1518#ifdef CONFIG_IWLEGACY_DEBUG
1519/*
1520 * il_get_debug_level: Return active debug level for device
1521 *
1522 * Using sysfs it is possible to set per device debug level. This debug
1523 * level will be used if set, otherwise the global debug level which can be
1524 * set via module parameter is used.
1525 */
1526static inline u32 il_get_debug_level(struct il_priv *il)
1527{
1528 if (il->debug_level)
1529 return il->debug_level;
1530 else
1531 return il_debug_level;
1532}
1533#else
1534static inline u32 il_get_debug_level(struct il_priv *il)
1535{
1536 return il_debug_level;
1537}
1538#endif
1539
1540
1541static inline struct ieee80211_hdr * 1521static inline struct ieee80211_hdr *
1542il_tx_queue_get_hdr(struct il_priv *il, 1522il_tx_queue_get_hdr(struct il_priv *il,
1543 int txq_id, int idx) 1523 int txq_id, int idx)
@@ -2736,18 +2716,15 @@ static inline void il_disable_interrupts(struct il_priv *il)
2736 * from uCode or flow handler (Rx/Tx DMA) */ 2716 * from uCode or flow handler (Rx/Tx DMA) */
2737 _il_wr(il, CSR_INT, 0xffffffff); 2717 _il_wr(il, CSR_INT, 0xffffffff);
2738 _il_wr(il, CSR_FH_INT_STATUS, 0xffffffff); 2718 _il_wr(il, CSR_FH_INT_STATUS, 0xffffffff);
2739 D_ISR("Disabled interrupts\n");
2740} 2719}
2741 2720
2742static inline void il_enable_rfkill_int(struct il_priv *il) 2721static inline void il_enable_rfkill_int(struct il_priv *il)
2743{ 2722{
2744 D_ISR("Enabling rfkill interrupt\n");
2745 _il_wr(il, CSR_INT_MASK, CSR_INT_BIT_RF_KILL); 2723 _il_wr(il, CSR_INT_MASK, CSR_INT_BIT_RF_KILL);
2746} 2724}
2747 2725
2748static inline void il_enable_interrupts(struct il_priv *il) 2726static inline void il_enable_interrupts(struct il_priv *il)
2749{ 2727{
2750 D_ISR("Enabling interrupts\n");
2751 set_bit(S_INT_ENABLED, &il->status); 2728 set_bit(S_INT_ENABLED, &il->status);
2752 _il_wr(il, CSR_INT_MASK, il->inta_mask); 2729 _il_wr(il, CSR_INT_MASK, il->inta_mask);
2753} 2730}
@@ -3304,4 +3281,164 @@ extern void il3945_rate_control_unregister(void);
3304extern int il_power_update_mode(struct il_priv *il, bool force); 3281extern int il_power_update_mode(struct il_priv *il, bool force);
3305extern void il_power_initialize(struct il_priv *il); 3282extern void il_power_initialize(struct il_priv *il);
3306 3283
3284extern u32 il_debug_level;
3285
3286#ifdef CONFIG_IWLEGACY_DEBUG
3287/*
3288 * il_get_debug_level: Return active debug level for device
3289 *
3290 * Using sysfs it is possible to set per device debug level. This debug
3291 * level will be used if set, otherwise the global debug level which can be
3292 * set via module parameter is used.
3293 */
3294static inline u32 il_get_debug_level(struct il_priv *il)
3295{
3296 if (il->debug_level)
3297 return il->debug_level;
3298 else
3299 return il_debug_level;
3300}
3301#else
3302static inline u32 il_get_debug_level(struct il_priv *il)
3303{
3304 return il_debug_level;
3305}
3306#endif
3307
3308#define il_print_hex_error(il, p, len) \
3309do { \
3310 print_hex_dump(KERN_ERR, "iwl data: ", \
3311 DUMP_PREFIX_OFFSET, 16, 1, p, len, 1); \
3312} while (0)
3313
3314#ifdef CONFIG_IWLEGACY_DEBUG
3315#define IL_DBG(level, fmt, args...) \
3316do { \
3317 if (il_get_debug_level(il) & level) \
3318 dev_printk(KERN_ERR, &il->hw->wiphy->dev, \
3319 "%c %s " fmt, in_interrupt() ? 'I' : 'U', \
3320 __func__ , ## args); \
3321} while (0)
3322
3323#define il_print_hex_dump(il, level, p, len) \
3324do { \
3325 if (il_get_debug_level(il) & level) \
3326 print_hex_dump(KERN_DEBUG, "iwl data: ", \
3327 DUMP_PREFIX_OFFSET, 16, 1, p, len, 1); \
3328} while (0)
3329
3330#else
3331#define IL_DBG(level, fmt, args...)
3332static inline void il_print_hex_dump(struct il_priv *il, int level,
3333 const void *p, u32 len)
3334{}
3335#endif /* CONFIG_IWLEGACY_DEBUG */
3336
3337#ifdef CONFIG_IWLEGACY_DEBUGFS
3338int il_dbgfs_register(struct il_priv *il, const char *name);
3339void il_dbgfs_unregister(struct il_priv *il);
3340#else
3341static inline int
3342il_dbgfs_register(struct il_priv *il, const char *name)
3343{
3344 return 0;
3345}
3346static inline void il_dbgfs_unregister(struct il_priv *il)
3347{
3348}
3349#endif /* CONFIG_IWLEGACY_DEBUGFS */
3350
3351/*
3352 * To use the debug system:
3353 *
3354 * If you are defining a new debug classification, simply add it to the #define
3355 * list here in the form of
3356 *
3357 * #define IL_DL_xxxx VALUE
3358 *
3359 * where xxxx should be the name of the classification (for example, WEP).
3360 *
3361 * You then need to either add a IL_xxxx_DEBUG() macro definition for your
3362 * classification, or use IL_DBG(IL_DL_xxxx, ...) whenever you want
3363 * to send output to that classification.
3364 *
3365 * The active debug levels can be accessed via files
3366 *
3367 * /sys/module/iwl4965/parameters/debug
3368 * /sys/module/iwl3945/parameters/debug
3369 * /sys/class/net/wlan0/device/debug_level
3370 *
3371 * when CONFIG_IWLEGACY_DEBUG=y.
3372 */
3373
3374/* 0x0000000F - 0x00000001 */
3375#define IL_DL_INFO (1 << 0)
3376#define IL_DL_MAC80211 (1 << 1)
3377#define IL_DL_HCMD (1 << 2)
3378#define IL_DL_STATE (1 << 3)
3379/* 0x000000F0 - 0x00000010 */
3380#define IL_DL_MACDUMP (1 << 4)
3381#define IL_DL_HCMD_DUMP (1 << 5)
3382#define IL_DL_EEPROM (1 << 6)
3383#define IL_DL_RADIO (1 << 7)
3384/* 0x00000F00 - 0x00000100 */
3385#define IL_DL_POWER (1 << 8)
3386#define IL_DL_TEMP (1 << 9)
3387#define IL_DL_NOTIF (1 << 10)
3388#define IL_DL_SCAN (1 << 11)
3389/* 0x0000F000 - 0x00001000 */
3390#define IL_DL_ASSOC (1 << 12)
3391#define IL_DL_DROP (1 << 13)
3392#define IL_DL_TXPOWER (1 << 14)
3393#define IL_DL_AP (1 << 15)
3394/* 0x000F0000 - 0x00010000 */
3395#define IL_DL_FW (1 << 16)
3396#define IL_DL_RF_KILL (1 << 17)
3397#define IL_DL_FW_ERRORS (1 << 18)
3398#define IL_DL_LED (1 << 19)
3399/* 0x00F00000 - 0x00100000 */
3400#define IL_DL_RATE (1 << 20)
3401#define IL_DL_CALIB (1 << 21)
3402#define IL_DL_WEP (1 << 22)
3403#define IL_DL_TX (1 << 23)
3404/* 0x0F000000 - 0x01000000 */
3405#define IL_DL_RX (1 << 24)
3406#define IL_DL_ISR (1 << 25)
3407#define IL_DL_HT (1 << 26)
3408/* 0xF0000000 - 0x10000000 */
3409#define IL_DL_11H (1 << 28)
3410#define IL_DL_STATS (1 << 29)
3411#define IL_DL_TX_REPLY (1 << 30)
3412#define IL_DL_QOS (1 << 31)
3413
3414#define D_INFO(f, a...) IL_DBG(IL_DL_INFO, f, ## a)
3415#define D_MAC80211(f, a...) IL_DBG(IL_DL_MAC80211, f, ## a)
3416#define D_MACDUMP(f, a...) IL_DBG(IL_DL_MACDUMP, f, ## a)
3417#define D_TEMP(f, a...) IL_DBG(IL_DL_TEMP, f, ## a)
3418#define D_SCAN(f, a...) IL_DBG(IL_DL_SCAN, f, ## a)
3419#define D_RX(f, a...) IL_DBG(IL_DL_RX, f, ## a)
3420#define D_TX(f, a...) IL_DBG(IL_DL_TX, f, ## a)
3421#define D_ISR(f, a...) IL_DBG(IL_DL_ISR, f, ## a)
3422#define D_LED(f, a...) IL_DBG(IL_DL_LED, f, ## a)
3423#define D_WEP(f, a...) IL_DBG(IL_DL_WEP, f, ## a)
3424#define D_HC(f, a...) IL_DBG(IL_DL_HCMD, f, ## a)
3425#define D_HC_DUMP(f, a...) IL_DBG(IL_DL_HCMD_DUMP, f, ## a)
3426#define D_EEPROM(f, a...) IL_DBG(IL_DL_EEPROM, f, ## a)
3427#define D_CALIB(f, a...) IL_DBG(IL_DL_CALIB, f, ## a)
3428#define D_FW(f, a...) IL_DBG(IL_DL_FW, f, ## a)
3429#define D_RF_KILL(f, a...) IL_DBG(IL_DL_RF_KILL, f, ## a)
3430#define D_DROP(f, a...) IL_DBG(IL_DL_DROP, f, ## a)
3431#define D_AP(f, a...) IL_DBG(IL_DL_AP, f, ## a)
3432#define D_TXPOWER(f, a...) IL_DBG(IL_DL_TXPOWER, f, ## a)
3433#define D_RATE(f, a...) IL_DBG(IL_DL_RATE, f, ## a)
3434#define D_NOTIF(f, a...) IL_DBG(IL_DL_NOTIF, f, ## a)
3435#define D_ASSOC(f, a...) IL_DBG(IL_DL_ASSOC, f, ## a)
3436#define D_HT(f, a...) IL_DBG(IL_DL_HT, f, ## a)
3437#define D_STATS(f, a...) IL_DBG(IL_DL_STATS, f, ## a)
3438#define D_TX_REPLY(f, a...) IL_DBG(IL_DL_TX_REPLY, f, ## a)
3439#define D_QOS(f, a...) IL_DBG(IL_DL_QOS, f, ## a)
3440#define D_RADIO(f, a...) IL_DBG(IL_DL_RADIO, f, ## a)
3441#define D_POWER(f, a...) IL_DBG(IL_DL_POWER, f, ## a)
3442#define D_11H(f, a...) IL_DBG(IL_DL_11H, f, ## a)
3443
3307#endif /* __il_core_h__ */ 3444#endif /* __il_core_h__ */
diff --git a/drivers/net/wireless/iwlegacy/debug.c b/drivers/net/wireless/iwlegacy/debug.c
index 62292a68567d..4e2b6c80849e 100644
--- a/drivers/net/wireless/iwlegacy/debug.c
+++ b/drivers/net/wireless/iwlegacy/debug.c
@@ -28,8 +28,6 @@
28#include <linux/ieee80211.h> 28#include <linux/ieee80211.h>
29#include <net/mac80211.h> 29#include <net/mac80211.h>
30 30
31
32#include "iwl-debug.h"
33#include "common.h" 31#include "common.h"
34 32
35/* create and remove of files */ 33/* create and remove of files */
diff --git a/drivers/net/wireless/iwlegacy/iwl-debug.h b/drivers/net/wireless/iwlegacy/iwl-debug.h
deleted file mode 100644
index c58003aa8185..000000000000
--- a/drivers/net/wireless/iwlegacy/iwl-debug.h
+++ /dev/null
@@ -1,175 +0,0 @@
1/******************************************************************************
2 *
3 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
4 *
5 * Portions of this file are derived from the ipw3945 project.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of version 2 of the GNU General Public License as
9 * published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 *
20 * The full GNU General Public License is included in this distribution in the
21 * file called LICENSE.
22 *
23 * Contact Information:
24 * Intel Linux Wireless <ilw@linux.intel.com>
25 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
26 *
27 *****************************************************************************/
28
29#ifndef __il_debug_h__
30#define __il_debug_h__
31
32struct il_priv;
33extern u32 il_debug_level;
34
35#define IL_ERR(f, a...) dev_err(&il->pci_dev->dev, f, ## a)
36#define IL_WARN(f, a...) dev_warn(&il->pci_dev->dev, f, ## a)
37#define IL_INFO(f, a...) dev_info(&il->pci_dev->dev, f, ## a)
38
39#define il_print_hex_error(il, p, len) \
40do { \
41 print_hex_dump(KERN_ERR, "iwl data: ", \
42 DUMP_PREFIX_OFFSET, 16, 1, p, len, 1); \
43} while (0)
44
45#ifdef CONFIG_IWLEGACY_DEBUG
46#define IL_DBG(level, fmt, args...) \
47do { \
48 if (il_get_debug_level(il) & level) \
49 dev_printk(KERN_ERR, &il->hw->wiphy->dev, \
50 "%c %s " fmt, in_interrupt() ? 'I' : 'U', \
51 __func__ , ## args); \
52} while (0)
53
54#define il_print_hex_dump(il, level, p, len) \
55do { \
56 if (il_get_debug_level(il) & level) \
57 print_hex_dump(KERN_DEBUG, "iwl data: ", \
58 DUMP_PREFIX_OFFSET, 16, 1, p, len, 1); \
59} while (0)
60
61#else
62#define IL_DBG(level, fmt, args...)
63static inline void il_print_hex_dump(struct il_priv *il, int level,
64 const void *p, u32 len)
65{}
66#endif /* CONFIG_IWLEGACY_DEBUG */
67
68#ifdef CONFIG_IWLEGACY_DEBUGFS
69int il_dbgfs_register(struct il_priv *il, const char *name);
70void il_dbgfs_unregister(struct il_priv *il);
71#else
72static inline int
73il_dbgfs_register(struct il_priv *il, const char *name)
74{
75 return 0;
76}
77static inline void il_dbgfs_unregister(struct il_priv *il)
78{
79}
80#endif /* CONFIG_IWLEGACY_DEBUGFS */
81
82/*
83 * To use the debug system:
84 *
85 * If you are defining a new debug classification, simply add it to the #define
86 * list here in the form of
87 *
88 * #define IL_DL_xxxx VALUE
89 *
90 * where xxxx should be the name of the classification (for example, WEP).
91 *
92 * You then need to either add a IL_xxxx_DEBUG() macro definition for your
93 * classification, or use IL_DBG(IL_DL_xxxx, ...) whenever you want
94 * to send output to that classification.
95 *
96 * The active debug levels can be accessed via files
97 *
98 * /sys/module/iwl4965/parameters/debug
99 * /sys/module/iwl3945/parameters/debug
100 * /sys/class/net/wlan0/device/debug_level
101 *
102 * when CONFIG_IWLEGACY_DEBUG=y.
103 */
104
105/* 0x0000000F - 0x00000001 */
106#define IL_DL_INFO (1 << 0)
107#define IL_DL_MAC80211 (1 << 1)
108#define IL_DL_HCMD (1 << 2)
109#define IL_DL_STATE (1 << 3)
110/* 0x000000F0 - 0x00000010 */
111#define IL_DL_MACDUMP (1 << 4)
112#define IL_DL_HCMD_DUMP (1 << 5)
113#define IL_DL_EEPROM (1 << 6)
114#define IL_DL_RADIO (1 << 7)
115/* 0x00000F00 - 0x00000100 */
116#define IL_DL_POWER (1 << 8)
117#define IL_DL_TEMP (1 << 9)
118#define IL_DL_NOTIF (1 << 10)
119#define IL_DL_SCAN (1 << 11)
120/* 0x0000F000 - 0x00001000 */
121#define IL_DL_ASSOC (1 << 12)
122#define IL_DL_DROP (1 << 13)
123#define IL_DL_TXPOWER (1 << 14)
124#define IL_DL_AP (1 << 15)
125/* 0x000F0000 - 0x00010000 */
126#define IL_DL_FW (1 << 16)
127#define IL_DL_RF_KILL (1 << 17)
128#define IL_DL_FW_ERRORS (1 << 18)
129#define IL_DL_LED (1 << 19)
130/* 0x00F00000 - 0x00100000 */
131#define IL_DL_RATE (1 << 20)
132#define IL_DL_CALIB (1 << 21)
133#define IL_DL_WEP (1 << 22)
134#define IL_DL_TX (1 << 23)
135/* 0x0F000000 - 0x01000000 */
136#define IL_DL_RX (1 << 24)
137#define IL_DL_ISR (1 << 25)
138#define IL_DL_HT (1 << 26)
139/* 0xF0000000 - 0x10000000 */
140#define IL_DL_11H (1 << 28)
141#define IL_DL_STATS (1 << 29)
142#define IL_DL_TX_REPLY (1 << 30)
143#define IL_DL_QOS (1 << 31)
144
145#define D_INFO(f, a...) IL_DBG(IL_DL_INFO, f, ## a)
146#define D_MAC80211(f, a...) IL_DBG(IL_DL_MAC80211, f, ## a)
147#define D_MACDUMP(f, a...) IL_DBG(IL_DL_MACDUMP, f, ## a)
148#define D_TEMP(f, a...) IL_DBG(IL_DL_TEMP, f, ## a)
149#define D_SCAN(f, a...) IL_DBG(IL_DL_SCAN, f, ## a)
150#define D_RX(f, a...) IL_DBG(IL_DL_RX, f, ## a)
151#define D_TX(f, a...) IL_DBG(IL_DL_TX, f, ## a)
152#define D_ISR(f, a...) IL_DBG(IL_DL_ISR, f, ## a)
153#define D_LED(f, a...) IL_DBG(IL_DL_LED, f, ## a)
154#define D_WEP(f, a...) IL_DBG(IL_DL_WEP, f, ## a)
155#define D_HC(f, a...) IL_DBG(IL_DL_HCMD, f, ## a)
156#define D_HC_DUMP(f, a...) IL_DBG(IL_DL_HCMD_DUMP, f, ## a)
157#define D_EEPROM(f, a...) IL_DBG(IL_DL_EEPROM, f, ## a)
158#define D_CALIB(f, a...) IL_DBG(IL_DL_CALIB, f, ## a)
159#define D_FW(f, a...) IL_DBG(IL_DL_FW, f, ## a)
160#define D_RF_KILL(f, a...) IL_DBG(IL_DL_RF_KILL, f, ## a)
161#define D_DROP(f, a...) IL_DBG(IL_DL_DROP, f, ## a)
162#define D_AP(f, a...) IL_DBG(IL_DL_AP, f, ## a)
163#define D_TXPOWER(f, a...) IL_DBG(IL_DL_TXPOWER, f, ## a)
164#define D_RATE(f, a...) IL_DBG(IL_DL_RATE, f, ## a)
165#define D_NOTIF(f, a...) IL_DBG(IL_DL_NOTIF, f, ## a)
166#define D_ASSOC(f, a...) IL_DBG(IL_DL_ASSOC, f, ## a)
167#define D_HT(f, a...) IL_DBG(IL_DL_HT, f, ## a)
168#define D_STATS(f, a...) IL_DBG(IL_DL_STATS, f, ## a)
169#define D_TX_REPLY(f, a...) IL_DBG(IL_DL_TX_REPLY, f, ## a)
170#define D_QOS(f, a...) IL_DBG(IL_DL_QOS, f, ## a)
171#define D_RADIO(f, a...) IL_DBG(IL_DL_RADIO, f, ## a)
172#define D_POWER(f, a...) IL_DBG(IL_DL_POWER, f, ## a)
173#define D_11H(f, a...) IL_DBG(IL_DL_11H, f, ## a)
174
175#endif