if_ath_sysctl.c (239263) | if_ath_sysctl.c (240639) |
---|---|
1/*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_sysctl.c 239263 2012-08-14 22:34:22Z adrian $"); | 31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_sysctl.c 240639 2012-09-18 10:14:17Z adrian $"); |
32 33/* 34 * Driver for the Atheros Wireless LAN controller. 35 * 36 * This software is derived from work of Atsushi Onoe; his contribution 37 * is greatly appreciated. 38 */ 39 --- 892 unchanged lines hidden (view full) --- 932 &sc->sc_stats.ast_rx_intr, 0, "RX interrupts"); 933 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_intr", CTLFLAG_RD, 934 &sc->sc_stats.ast_tx_intr, 0, "TX interrupts"); 935 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_mcastq_overflow", 936 CTLFLAG_RD, &sc->sc_stats.ast_tx_mcastq_overflow, 0, 937 "Number of multicast frames exceeding maximum mcast queue depth"); 938 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_keymiss", CTLFLAG_RD, 939 &sc->sc_stats.ast_rx_keymiss, 0, ""); | 32 33/* 34 * Driver for the Atheros Wireless LAN controller. 35 * 36 * This software is derived from work of Atsushi Onoe; his contribution 37 * is greatly appreciated. 38 */ 39 --- 892 unchanged lines hidden (view full) --- 932 &sc->sc_stats.ast_rx_intr, 0, "RX interrupts"); 933 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_intr", CTLFLAG_RD, 934 &sc->sc_stats.ast_tx_intr, 0, "TX interrupts"); 935 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_mcastq_overflow", 936 CTLFLAG_RD, &sc->sc_stats.ast_tx_mcastq_overflow, 0, 937 "Number of multicast frames exceeding maximum mcast queue depth"); 938 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_keymiss", CTLFLAG_RD, 939 &sc->sc_stats.ast_rx_keymiss, 0, ""); |
940 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_swfiltered", CTLFLAG_RD, 941 &sc->sc_stats.ast_tx_swfiltered, 0, ""); |
|
940 941 /* Attach the RX phy error array */ 942 ath_sysctl_stats_attach_rxphyerr(sc, child); 943 944 /* Attach the interrupt statistics array */ 945 ath_sysctl_stats_attach_intr(sc, child); 946} 947 --- 51 unchanged lines hidden --- | 942 943 /* Attach the RX phy error array */ 944 ath_sysctl_stats_attach_rxphyerr(sc, child); 945 946 /* Attach the interrupt statistics array */ 947 ath_sysctl_stats_attach_intr(sc, child); 948} 949 --- 51 unchanged lines hidden --- |