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

2013-10-28 Thread Johannes Berg
On Sat, 2013-10-26 at 22:34 +0200, Pali Rohár wrote: > + dev->stats.tx_packets++; > + dev->stats.tx_bytes += skb->len; We can still easily drop the packet after this - we can't guarantee it'll go out but maybe we shouldn't do it here? johannes -- To unsubscribe from this list: send the

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

2013-10-28 Thread Johannes Berg
On Sat, 2013-10-26 at 22:34 +0200, Pali Rohár wrote: + dev-stats.tx_packets++; + dev-stats.tx_bytes += skb-len; We can still easily drop the packet after this - we can't guarantee it'll go out but maybe we shouldn't do it here? johannes -- To unsubscribe from this list: send the line

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

2013-10-27 Thread Kalle Valo
Pali Rohár writes: > From: David Gnedt > > Count TX packets and bytes also for monitor interfaces. > > Signed-of-by: David Gnedt You should send mac80211 patches separately, not inside a wl1251 patchset. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe

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

2013-10-27 Thread Kalle Valo
Pali Rohár pali.ro...@gmail.com writes: From: David Gnedt david.gn...@davizone.at Count TX packets and bytes also for monitor interfaces. Signed-of-by: David Gnedt david.gn...@davizone.at You should send mac80211 patches separately, not inside a wl1251 patchset. -- Kalle Valo -- To

[PATCH 01/16] mac80211: fix TX device statistics for monitor interfaces

2013-10-26 Thread Pali Rohár
From: David Gnedt Count TX packets and bytes also for monitor interfaces. Signed-of-by: David Gnedt --- net/mac80211/tx.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 3456c04..674db8e 100644 --- a/net/mac80211/tx.c +++

[PATCH 01/16] mac80211: fix TX device statistics for monitor interfaces

2013-10-26 Thread Pali Rohár
From: David Gnedt david.gn...@davizone.at Count TX packets and bytes also for monitor interfaces. Signed-of-by: David Gnedt david.gn...@davizone.at --- net/mac80211/tx.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 3456c04..674db8e 100644