Lines Matching refs:hwstat
1635 struct b44_hw_stats *hwstat = &bp->hw_stats;
1638 nstat->rx_packets = hwstat->rx_pkts;
1639 nstat->tx_packets = hwstat->tx_pkts;
1640 nstat->rx_bytes = hwstat->rx_octets;
1641 nstat->tx_bytes = hwstat->tx_octets;
1642 nstat->tx_errors = (hwstat->tx_jabber_pkts +
1643 hwstat->tx_oversize_pkts +
1644 hwstat->tx_underruns +
1645 hwstat->tx_excessive_cols +
1646 hwstat->tx_late_cols);
1647 nstat->multicast = hwstat->tx_multicast_pkts;
1648 nstat->collisions = hwstat->tx_total_cols;
1650 nstat->rx_length_errors = (hwstat->rx_oversize_pkts +
1651 hwstat->rx_undersize);
1652 nstat->rx_over_errors = hwstat->rx_missed_pkts;
1653 nstat->rx_frame_errors = hwstat->rx_align_errs;
1654 nstat->rx_crc_errors = hwstat->rx_crc_errs;
1655 nstat->rx_errors = (hwstat->rx_jabber_pkts +
1656 hwstat->rx_oversize_pkts +
1657 hwstat->rx_missed_pkts +
1658 hwstat->rx_crc_align_errs +
1659 hwstat->rx_undersize +
1660 hwstat->rx_crc_errs +
1661 hwstat->rx_align_errs +
1662 hwstat->rx_symbol_errs);
1664 nstat->tx_aborted_errors = hwstat->tx_underruns;