summaryrefslogtreecommitdiff
path: root/drivers/staging/cw1200/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/cw1200/debug.h')
-rw-r--r--drivers/staging/cw1200/debug.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/cw1200/debug.h b/drivers/staging/cw1200/debug.h
index e7fc4d2daef..6f7d8acab00 100644
--- a/drivers/staging/cw1200/debug.h
+++ b/drivers/staging/cw1200/debug.h
@@ -15,6 +15,7 @@ struct cw1200_debug_priv {
int tx_multi_frames;
int tx_cache_miss;
int tx_copy;
+ int tx_ttl;
};
int cw1200_debug_init(struct cw1200_common *priv);
@@ -57,6 +58,11 @@ static inline void cw1200_debug_tx_copy(struct cw1200_common *priv)
++priv->debug->tx_copy;
}
+static inline void cw1200_debug_tx_ttl(struct cw1200_common *priv)
+{
+ ++priv->debug->tx_ttl;
+}
+
#else /* CONFIG_CW1200_DEBUGFS */
static inline int cw1200_debug_init(struct cw1200_common *priv)
@@ -97,6 +103,10 @@ static inline void cw1200_debug_tx_copy(struct cw1200_common *priv)
{
}
+static inline void cw1200_debug_tx_ttl(struct cw1200_common *priv)
+{
+}
+
#endif /* CONFIG_CW1200_DEBUGFS */
#endif /* CW1200_DEBUG_H_INCLUDED */