diff -r 10175d5f35ea -r ed8b490b5bc3 master/device.h --- a/master/device.h Tue Mar 09 09:59:32 2010 +0100 +++ b/master/device.h Tue Mar 09 10:22:32 2010 +0100 @@ -100,10 +100,18 @@ // Frame statistics unsigned int tx_count; /**< Number of frames sent. */ unsigned int rx_count; /**< Number of frames received. */ + unsigned int tx_bytes; /**< Number of frames sent. */ + unsigned int tx_errors; /**< Number of transmit errors. */ + unsigned int tx_frame_rates[EC_RATE_COUNT]; /**< Transmit rates in + frames/s for different + statistics cycle periods. */ + unsigned int tx_byte_rates[EC_RATE_COUNT]; /**< Transmit rates in byte/s + for different statistics + cycle periods. */ unsigned int last_tx_count; /**< Number of frames sent of last statistics cycle. */ - unsigned int tx_rates[EC_RATE_COUNT]; /**< Transmit rates for different - statistics cycle periods. */ + unsigned int last_tx_bytes; /**< Number of bytes sent of last statistics + cycle. */ int last_loss; /**< Tx/Rx difference of last statistics cycle. */ int loss_rates[EC_RATE_COUNT]; /**< Frame loss rates for different statistics cycle periods. */