Support for setting default VAP debug flags at module load time, so you can
[madwifi/.git] / tools / athdebug.c
index 9865ed6aabf3ebbf78bb325296fd5016d6fbb2ee..35ef0d0d6b0b840f63b4fae69a1396ea76c48ee8 100644 (file)
@@ -83,6 +83,8 @@ enum {
        ATH_DEBUG_DOTHFILTVBSE  = 0x04000000,   /* 11.h radar pulse analysis - verbose */
        ATH_DEBUG_DOTHFILTNOSC  = 0x08000000,   /* 11.h radar pulse analysis - don't short circuit analysis when detected */
        ATH_DEBUG_DOTHPULSES    = 0x10000000,   /* 11.h radar pulse events */
+       ATH_DEBUG_TXBUF         = 0x20000000,   /* TX buffer usage/leak debugging */
+       ATH_DEBUG_SKB           = 0x40000000,   /* SKB usage/leak debugging [applies to all vaps] */
        ATH_DEBUG_FATAL         = 0x80000000,   /* fatal errors */
        ATH_DEBUG_ANY           = 0xffffffff
 };
@@ -109,6 +111,8 @@ static struct {
        { "keycache",    ATH_DEBUG_KEYCACHE,    "key cache management" },
        { "state",       ATH_DEBUG_STATE,       "802.11 state transitions" },
        { "node",        ATH_DEBUG_NODE,        "node management" },
+       { "txbuf",       ATH_DEBUG_TXBUF,       "ath_buf management" },
+       { "skb",         ATH_DEBUG_SKB,         "skb management (affects all devs)" },
        { "led",         ATH_DEBUG_LED,         "led management" },
        { "ff",          ATH_DEBUG_FF,          "fast frame handling" },
        { "turbo",       ATH_DEBUG_TURBO,       "dynamic turbo handling" },