summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/debug.h
diff options
context:
space:
mode:
authorNick Kossifidis <mickflemm@gmail.com>2010-11-23 20:47:31 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-11-30 13:52:31 -0500
commitb3a28e68d5c8d788a4e538a119a5d326545add8a (patch)
tree2c055f98eefb31b4fcb10e908112b92ec4efd36a /drivers/net/wireless/ath/ath5k/debug.h
parent80dac9eecbdb95f61b9b3c7081e02412155982b7 (diff)
downloadlinux-stable-b3a28e68d5c8d788a4e538a119a5d326545add8a.tar.gz
linux-stable-b3a28e68d5c8d788a4e538a119a5d326545add8a.tar.bz2
linux-stable-b3a28e68d5c8d788a4e538a119a5d326545add8a.zip
ath5k: Debug DMA timeouts
* Increase timeouts on ath5k_hw_stop_tx_dma and also wait for tx queue to stop before checking for pending frames * Add a new debug level to debug dma start/stop Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/debug.h b/drivers/net/wireless/ath/ath5k/debug.h
index 236edbd2507d..3e34428d5126 100644
--- a/drivers/net/wireless/ath/ath5k/debug.h
+++ b/drivers/net/wireless/ath/ath5k/debug.h
@@ -95,6 +95,7 @@ struct ath5k_dbg_info {
* @ATH5K_DEBUG_DUMP_RX: print received skb content
* @ATH5K_DEBUG_DUMP_TX: print transmit skb content
* @ATH5K_DEBUG_DUMPBANDS: dump bands
+ * @ATH5K_DEBUG_DMA: debug dma start/stop
* @ATH5K_DEBUG_TRACE: trace function calls
* @ATH5K_DEBUG_DESC: descriptor setup
* @ATH5K_DEBUG_ANY: show at any debug level
@@ -118,6 +119,7 @@ enum ath5k_debug_level {
ATH5K_DEBUG_DUMP_RX = 0x00000100,
ATH5K_DEBUG_DUMP_TX = 0x00000200,
ATH5K_DEBUG_DUMPBANDS = 0x00000400,
+ ATH5K_DEBUG_DMA = 0x00000800,
ATH5K_DEBUG_ANI = 0x00002000,
ATH5K_DEBUG_DESC = 0x00004000,
ATH5K_DEBUG_ANY = 0xffffffff