PERFORCE change 66075 for review
Sam Leffler
sam at FreeBSD.org
Mon Nov 29 16:59:29 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=66075
Change 66075 by sam at 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 */
More information about the p4-projects
mailing list