Is there an utility analog athstat in madwifi for linux wireless???
Hello
Is there any tool for wireless debugging like athstat for madwifi which tells you CRC errors, long retries etc.??
Thanks
Beat
Quoted 4 lines · Beat Meier
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