Date: Tue, 30 Nov 2004 00:59:28 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 66075 for review Message-ID: <200411300059.iAU0xSlQ048506@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=66075 Change 66075 by sam@sam_ebb on 2004/11/30 00:59:11 add shadows of if_ipackets and if_opackets to the ath stats structure so apps get a consistent snapshot of state and so they don't need to drag in -lkvm Affected files ... .. //depot/projects/wifi/sys/dev/ath/if_athioctl.h#3 edit Differences ... ==== //depot/projects/wifi/sys/dev/ath/if_athioctl.h#3 (text+ko) ==== @@ -51,6 +51,7 @@ u_int32_t ast_txurn; /* tx underrun interrupts */ u_int32_t ast_mib; /* mib interrupts */ u_int32_t ast_intrcoal; /* interrupts coalesced */ + u_int32_t ast_tx_packets; /* packet sent on the interface */ u_int32_t ast_tx_mgmt; /* management frames transmitted */ u_int32_t ast_tx_discard; /* frames discarded prior to assoc */ u_int32_t ast_tx_qstop; /* output stopped 'cuz no buffer */ @@ -84,6 +85,7 @@ u_int32_t ast_rx_phy[32]; /* rx PHY error per-code counts */ u_int32_t ast_rx_tooshort;/* rx discarded 'cuz frame too short */ u_int32_t ast_rx_toobig; /* rx discarded 'cuz frame too large */ + u_int32_t ast_rx_packets; /* packet recv on the interface */ u_int32_t ast_rx_mgt; /* management frames received */ u_int32_t ast_rx_ctl; /* rx discarded 'cuz ctl frame */ int8_t ast_tx_rssi; /* tx rssi of last ack */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411300059.iAU0xSlQ048506>