Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Variables
debug.h File Reference
#include <linux/compiler.h>

Go to the source code of this file.

Data Structures

struct  ath5k_dbg_info
 

Enumerations

enum  ath5k_debug_level {
  ATH5K_DEBUG_RESET = 0x00000001, ATH5K_DEBUG_INTR = 0x00000002, ATH5K_DEBUG_MODE = 0x00000004, ATH5K_DEBUG_XMIT = 0x00000008,
  ATH5K_DEBUG_BEACON = 0x00000010, ATH5K_DEBUG_CALIBRATE = 0x00000020, ATH5K_DEBUG_TXPOWER = 0x00000040, ATH5K_DEBUG_LED = 0x00000080,
  ATH5K_DEBUG_DUMPBANDS = 0x00000400, ATH5K_DEBUG_DMA = 0x00000800, ATH5K_DEBUG_ANI = 0x00002000, ATH5K_DEBUG_DESC = 0x00004000,
  ATH5K_DEBUG_ANY = 0xffffffff
}
 

Variables

static unsigned int m
 
static unsigned int const charfmt
 

Enumeration Type Documentation

enum ath5k_debug_level - ath5k debug level

: reset processing : interrupt handling : mode init/setup : basic xmit operation : beacon handling : periodic calibration : transmit power setting : led management : print received skb content : print transmit skb content : dump bands : debug dma start/stop : trace function calls : descriptor setup : show at any debug level

The debug level is used to control the amount and type of debugging output we want to see. The debug level is given in calls to ATH5K_DBG to specify where the message should appear, and the user can control the debugging messages he wants to see, either by the module parameter 'debug' on module load, or dynamically by using debugfs 'ath5k/phyX/debug'. these levels can be combined together by bitwise OR.

Enumerator:
ATH5K_DEBUG_RESET 
ATH5K_DEBUG_INTR 
ATH5K_DEBUG_MODE 
ATH5K_DEBUG_XMIT 
ATH5K_DEBUG_BEACON 
ATH5K_DEBUG_CALIBRATE 
ATH5K_DEBUG_TXPOWER 
ATH5K_DEBUG_LED 
ATH5K_DEBUG_DUMPBANDS 
ATH5K_DEBUG_DMA 
ATH5K_DEBUG_ANI 
ATH5K_DEBUG_DESC 
ATH5K_DEBUG_ANY 

Definition at line 98 of file debug.h.

Variable Documentation

unsigned int const char* fmt

Definition at line 145 of file debug.h.

unsigned int m

Definition at line 145 of file debug.h.