From owner-p4-projects@FreeBSD.ORG Tue Nov 30 00:59:29 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 414EC16A4D0; Tue, 30 Nov 2004 00:59:29 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 050E916A4CE for ; Tue, 30 Nov 2004 00:59:28 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8D5243D58 for ; Tue, 30 Nov 2004 00:59:28 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iAU0xSR7048509 for ; Tue, 30 Nov 2004 00:59:28 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iAU0xSlQ048506 for perforce@freebsd.org; Tue, 30 Nov 2004 00:59:28 GMT (envelope-from sam@freebsd.org) Date: Tue, 30 Nov 2004 00:59:28 GMT Message-Id: <200411300059.iAU0xSlQ048506@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Subject: PERFORCE change 66075 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 00:59:29 -0000 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 */