master/device.h
changeset 1857 ed8b490b5bc3
parent 1856 10175d5f35ea
child 1863 8ea4a79dfe84
equal deleted inserted replaced
1856:10175d5f35ea 1857:ed8b490b5bc3
    98     unsigned long jiffies_poll; /**< jiffies of last poll */
    98     unsigned long jiffies_poll; /**< jiffies of last poll */
    99 
    99 
   100     // Frame statistics
   100     // Frame statistics
   101     unsigned int tx_count; /**< Number of frames sent. */
   101     unsigned int tx_count; /**< Number of frames sent. */
   102     unsigned int rx_count; /**< Number of frames received. */
   102     unsigned int rx_count; /**< Number of frames received. */
       
   103     unsigned int tx_bytes; /**< Number of frames sent. */
       
   104     unsigned int tx_errors; /**< Number of transmit errors. */
       
   105     unsigned int tx_frame_rates[EC_RATE_COUNT]; /**< Transmit rates in
       
   106                                                   frames/s for different
       
   107                                                   statistics cycle periods. */
       
   108     unsigned int tx_byte_rates[EC_RATE_COUNT]; /**< Transmit rates in byte/s
       
   109                                                  for different statistics
       
   110                                                  cycle periods. */
   103     unsigned int last_tx_count; /**< Number of frames sent of last statistics
   111     unsigned int last_tx_count; /**< Number of frames sent of last statistics
   104                                   cycle. */
   112                                   cycle. */
   105     unsigned int tx_rates[EC_RATE_COUNT]; /**< Transmit rates for different
   113     unsigned int last_tx_bytes; /**< Number of bytes sent of last statistics
   106                                             statistics cycle periods. */
   114                                   cycle. */
   107     int last_loss; /**< Tx/Rx difference of last statistics cycle. */
   115     int last_loss; /**< Tx/Rx difference of last statistics cycle. */
   108     int loss_rates[EC_RATE_COUNT]; /**< Frame loss rates for different
   116     int loss_rates[EC_RATE_COUNT]; /**< Frame loss rates for different
   109                                      statistics cycle periods. */
   117                                      statistics cycle periods. */
   110     unsigned long stats_jiffies; /**< Jiffies of last statistic cycle. */
   118     unsigned long stats_jiffies; /**< Jiffies of last statistic cycle. */
   111 
   119