Thread (1 message) 1 message, 1 author, 2013-12-16

Re: [PATCH] mac80211: fix TX device statistics for monitor interfaces

From: Johannes Berg <hidden>
Date: 2013-12-16 12:38:26
Also in: linux-wireless, lkml

On Sun, 2013-12-08 at 09:45 +0100, Pali Rohár wrote:
From: David Gnedt <redacted>

Count TX packets and bytes also for monitor interfaces.
+	dev->stats.tx_packets++;
+	dev->stats.tx_bytes += skb->len;
+
 	/*
 	 * fix up the pointers accounting for the radiotap
 	 * header still being in there.  We are being given
Should we really count the machine-local radiotap management stuff?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help