• Home
  • Raw
  • Download

Lines Matching refs:pstats

296 	const struct cmac_statistics *pstats;  in t1_get_stats()  local
299 pstats = p->mac->ops->statistics_update(p->mac, in t1_get_stats()
302 ns->tx_packets = pstats->TxUnicastFramesOK + in t1_get_stats()
303 pstats->TxMulticastFramesOK + pstats->TxBroadcastFramesOK; in t1_get_stats()
305 ns->rx_packets = pstats->RxUnicastFramesOK + in t1_get_stats()
306 pstats->RxMulticastFramesOK + pstats->RxBroadcastFramesOK; in t1_get_stats()
308 ns->tx_bytes = pstats->TxOctetsOK; in t1_get_stats()
309 ns->rx_bytes = pstats->RxOctetsOK; in t1_get_stats()
311 ns->tx_errors = pstats->TxLateCollisions + pstats->TxLengthErrors + in t1_get_stats()
312 pstats->TxUnderrun + pstats->TxFramesAbortedDueToXSCollisions; in t1_get_stats()
313 ns->rx_errors = pstats->RxDataErrors + pstats->RxJabberErrors + in t1_get_stats()
314 pstats->RxFCSErrors + pstats->RxAlignErrors + in t1_get_stats()
315 pstats->RxSequenceErrors + pstats->RxFrameTooLongErrors + in t1_get_stats()
316 pstats->RxSymbolErrors + pstats->RxRuntErrors; in t1_get_stats()
318 ns->multicast = pstats->RxMulticastFramesOK; in t1_get_stats()
319 ns->collisions = pstats->TxTotalCollisions; in t1_get_stats()
322 ns->rx_length_errors = pstats->RxFrameTooLongErrors + in t1_get_stats()
323 pstats->RxJabberErrors; in t1_get_stats()
325 ns->rx_crc_errors = pstats->RxFCSErrors; in t1_get_stats()
326 ns->rx_frame_errors = pstats->RxAlignErrors; in t1_get_stats()
331 ns->tx_aborted_errors = pstats->TxFramesAbortedDueToXSCollisions; in t1_get_stats()
333 ns->tx_fifo_errors = pstats->TxUnderrun; in t1_get_stats()
335 ns->tx_window_errors = pstats->TxLateCollisions; in t1_get_stats()