ah_debug.h revision 185377
1185377Ssam/*
2185377Ssam * Copyright (c) 2008 Sam Leffler, Errno Consulting
3185377Ssam * Copyright (c) 2008 Atheros Communications, Inc.
4185377Ssam *
5185377Ssam * Permission to use, copy, modify, and/or distribute this software for any
6185377Ssam * purpose with or without fee is hereby granted, provided that the above
7185377Ssam * copyright notice and this permission notice appear in all copies.
8185377Ssam *
9185377Ssam * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10185377Ssam * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11185377Ssam * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12185377Ssam * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13185377Ssam * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14185377Ssam * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15185377Ssam * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16185377Ssam *
17185377Ssam * $Id: ah_debug.h,v 1.1 2008/10/12 16:44:34 sam Exp $
18185377Ssam */
19185377Ssam#ifndef _ATH_AH_DEBUG_H_
20185377Ssam#define _ATH_AH_DEBUG_H_
21185377Ssam/*
22185377Ssam * Atheros Device Hardware Access Layer (HAL).
23185377Ssam *
24185377Ssam * Debug mask definitions.
25185377Ssam */
26185377Ssamenum {
27185377Ssam	HAL_DEBUG_REGDOMAIN	= 0x00000001,	/* regulatory handling */
28185377Ssam	HAL_DEBUG_ATTACH	= 0x00000002,	/* work done in attach */
29185377Ssam	HAL_DEBUG_RESET		= 0x00000004,	/* reset work */
30185377Ssam	HAL_DEBUG_NFCAL		= 0x00000008,	/* noise floor calibration */
31185377Ssam	HAL_DEBUG_PERCAL	= 0x00000010,	/* periodic calibration */
32185377Ssam	HAL_DEBUG_ANI		= 0x00000020,	/* ANI operation */
33185377Ssam	HAL_DEBUG_PHYIO		= 0x00000040,	/* phy i/o operations */
34185377Ssam	HAL_DEBUG_REGIO		= 0x00000080,	/* register i/o operations */
35185377Ssam	HAL_DEBUG_RFPARAM	= 0x00000100,
36185377Ssam	HAL_DEBUG_TXQUEUE	= 0x00000200,	/* tx queue handling */
37185377Ssam	HAL_DEBUG_TX		= 0x00000400,
38185377Ssam	HAL_DEBUG_TXDESC	= 0x00000800,
39185377Ssam	HAL_DEBUG_RX		= 0x00001000,
40185377Ssam	HAL_DEBUG_RXDESC	= 0x00002000,
41185377Ssam	HAL_DEBUG_KEYCACHE	= 0x00004000,	/* keycache handling */
42185377Ssam	HAL_DEBUG_EEPROM	= 0x00008000,
43185377Ssam	HAL_DEBUG_BEACON	= 0x00010000,	/* beacon setup work */
44185377Ssam	HAL_DEBUG_POWER		= 0x00020000,	/* power management */
45185377Ssam	HAL_DEBUG_INTERRUPT	= 0x00000080,	/* interrupt handling */
46185377Ssam
47185377Ssam	HAL_DEBUG_ANY		= 0xffffffff
48185377Ssam};
49185377Ssam#endif /* _ATH_AH_DEBUG_H_ */
50