Home | History | Annotate | Line # | Download | only in dist
      1  1.1  alc /*
      2  1.1  alc  * Copyright (c) 2008 Sam Leffler, Errno Consulting
      3  1.1  alc  * Copyright (c) 2008 Atheros Communications, Inc.
      4  1.1  alc  *
      5  1.1  alc  * Permission to use, copy, modify, and/or distribute this software for any
      6  1.1  alc  * purpose with or without fee is hereby granted, provided that the above
      7  1.1  alc  * copyright notice and this permission notice appear in all copies.
      8  1.1  alc  *
      9  1.1  alc  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
     10  1.1  alc  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
     11  1.1  alc  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
     12  1.1  alc  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
     13  1.1  alc  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
     14  1.1  alc  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
     15  1.1  alc  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
     16  1.1  alc  *
     17  1.1  alc  * $Id: ah_debug.h,v 1.1.1.1 2008/12/11 04:46:23 alc Exp $
     18  1.1  alc  */
     19  1.1  alc #ifndef _ATH_AH_DEBUG_H_
     20  1.1  alc #define _ATH_AH_DEBUG_H_
     21  1.1  alc /*
     22  1.1  alc  * Atheros Device Hardware Access Layer (HAL).
     23  1.1  alc  *
     24  1.1  alc  * Debug mask definitions.
     25  1.1  alc  */
     26  1.1  alc enum {
     27  1.1  alc 	HAL_DEBUG_REGDOMAIN	= 0x00000001,	/* regulatory handling */
     28  1.1  alc 	HAL_DEBUG_ATTACH	= 0x00000002,	/* work done in attach */
     29  1.1  alc 	HAL_DEBUG_RESET		= 0x00000004,	/* reset work */
     30  1.1  alc 	HAL_DEBUG_NFCAL		= 0x00000008,	/* noise floor calibration */
     31  1.1  alc 	HAL_DEBUG_PERCAL	= 0x00000010,	/* periodic calibration */
     32  1.1  alc 	HAL_DEBUG_ANI		= 0x00000020,	/* ANI operation */
     33  1.1  alc 	HAL_DEBUG_PHYIO		= 0x00000040,	/* phy i/o operations */
     34  1.1  alc 	HAL_DEBUG_REGIO		= 0x00000080,	/* register i/o operations */
     35  1.1  alc 	HAL_DEBUG_RFPARAM	= 0x00000100,
     36  1.1  alc 	HAL_DEBUG_TXQUEUE	= 0x00000200,	/* tx queue handling */
     37  1.1  alc 	HAL_DEBUG_TX		= 0x00000400,
     38  1.1  alc 	HAL_DEBUG_TXDESC	= 0x00000800,
     39  1.1  alc 	HAL_DEBUG_RX		= 0x00001000,
     40  1.1  alc 	HAL_DEBUG_RXDESC	= 0x00002000,
     41  1.1  alc 	HAL_DEBUG_KEYCACHE	= 0x00004000,	/* keycache handling */
     42  1.1  alc 	HAL_DEBUG_EEPROM	= 0x00008000,
     43  1.1  alc 	HAL_DEBUG_BEACON	= 0x00010000,	/* beacon setup work */
     44  1.1  alc 	HAL_DEBUG_POWER		= 0x00020000,	/* power management */
     45  1.1  alc 	HAL_DEBUG_INTERRUPT	= 0x00000080,	/* interrupt handling */
     46  1.1  alc 
     47  1.1  alc 	HAL_DEBUG_ANY		= 0xffffffff
     48  1.1  alc };
     49  1.1  alc #endif /* _ATH_AH_DEBUG_H_ */
     50