Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/iwn/if_iwn_debug.h
Show All 38 Lines | enum { | ||||
IWN_DEBUG_CALIBRATE = 0x00000200, /* periodic calibration */ | IWN_DEBUG_CALIBRATE = 0x00000200, /* periodic calibration */ | ||||
IWN_DEBUG_NODE = 0x00000400, /* node management */ | IWN_DEBUG_NODE = 0x00000400, /* node management */ | ||||
IWN_DEBUG_LED = 0x00000800, /* led management */ | IWN_DEBUG_LED = 0x00000800, /* led management */ | ||||
IWN_DEBUG_CMD = 0x00001000, /* cmd submission */ | IWN_DEBUG_CMD = 0x00001000, /* cmd submission */ | ||||
IWN_DEBUG_TXRATE = 0x00002000, /* TX rate debugging */ | IWN_DEBUG_TXRATE = 0x00002000, /* TX rate debugging */ | ||||
IWN_DEBUG_PWRSAVE = 0x00004000, /* Power save operations */ | IWN_DEBUG_PWRSAVE = 0x00004000, /* Power save operations */ | ||||
IWN_DEBUG_SCAN = 0x00008000, /* Scan related operations */ | IWN_DEBUG_SCAN = 0x00008000, /* Scan related operations */ | ||||
IWN_DEBUG_STATS = 0x00010000, /* Statistics updates */ | IWN_DEBUG_STATS = 0x00010000, /* Statistics updates */ | ||||
IWN_DEBUG_AMPDU = 0x00020000, /* A-MPDU specific Tx */ | |||||
IWN_DEBUG_REGISTER = 0x20000000, /* print chipset register */ | IWN_DEBUG_REGISTER = 0x20000000, /* print chipset register */ | ||||
IWN_DEBUG_TRACE = 0x40000000, /* Print begin and start driver function */ | IWN_DEBUG_TRACE = 0x40000000, /* Print begin and start driver function */ | ||||
IWN_DEBUG_FATAL = 0x80000000, /* fatal errors */ | IWN_DEBUG_FATAL = 0x80000000, /* fatal errors */ | ||||
IWN_DEBUG_ANY = 0xffffffff | IWN_DEBUG_ANY = 0xffffffff | ||||
}; | }; | ||||
#define DPRINTF(sc, m, fmt, ...) do { \ | #define DPRINTF(sc, m, fmt, ...) do { \ | ||||
if (sc->sc_debug & (m)) \ | if (sc->sc_debug & (m)) \ | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |