All of lore.kernel.org
 help / color / mirror / Atom feed
* Is there an utility analog athstat in madwifi for linux wireless???
@ 2013-09-11 16:32 Beat Meier
  2013-09-11 21:00 ` Dan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Beat Meier @ 2013-09-11 16:32 UTC (permalink / raw)
  To: linux-wireless

Hello

Is there any tool for wireless debugging like athstat for madwifi which
tells you CRC errors, long retries etc.??

Thanks

Beat

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is there an utility analog athstat in madwifi for linux wireless???
  2013-09-11 16:32 Is there an utility analog athstat in madwifi for linux wireless??? Beat Meier
@ 2013-09-11 21:00 ` Dan Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2013-09-11 21:00 UTC (permalink / raw)
  To: Beat Meier; +Cc: linux-wireless

On Wed, 2013-09-11 at 13:32 -0300, Beat Meier wrote:
> Hello
> 
> Is there any tool for wireless debugging like athstat for madwifi which
> tells you CRC errors, long retries etc.??

You're probably looking for 'debugfs', which has the following counters:

	DEBUGFS_ADD_COUNTER(rx_packets, rx_packets);
	DEBUGFS_ADD_COUNTER(tx_packets, tx_packets);
	DEBUGFS_ADD_COUNTER(rx_bytes, rx_bytes);
	DEBUGFS_ADD_COUNTER(tx_bytes, tx_bytes);
	DEBUGFS_ADD_COUNTER(rx_duplicates, num_duplicates);
	DEBUGFS_ADD_COUNTER(rx_fragments, rx_fragments);
	DEBUGFS_ADD_COUNTER(rx_dropped, rx_dropped);
	DEBUGFS_ADD_COUNTER(tx_fragments, tx_fragments);
	DEBUGFS_ADD_COUNTER(tx_filtered, tx_filtered_count);
	DEBUGFS_ADD_COUNTER(tx_retry_failed, tx_retry_failed);
	DEBUGFS_ADD_COUNTER(tx_retry_count, tx_retry_count);
	DEBUGFS_ADD_COUNTER(wep_weak_iv_count, wep_weak_iv_count);

CRC errors might be represented by rx_dropped, but I'm not sure, as the
code doesn't split CRC errors out from other RX decryption errors.

Dan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-11 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 16:32 Is there an utility analog athstat in madwifi for linux wireless??? Beat Meier
2013-09-11 21:00 ` Dan Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.