Deleted Added
full compact
if_ath_sysctl.c (245465) if_ath_sysctl.c (247085)
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 245465 2013-01-15 18:01:23Z adrian $");
31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_sysctl.c 247085 2013-02-21 06:18:40Z 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

--- 659 unchanged lines hidden (view full) ---

699 }
700 sc->sc_monpass = HAL_RXERR_DECRYPT | HAL_RXERR_MIC;
701 SYSCTL_ADD_UINT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
702 "monpass", CTLFLAG_RW, &sc->sc_monpass, 0,
703 "mask of error frames to pass when monitoring");
704
705 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
706 "hwq_limit", CTLFLAG_RW, &sc->sc_hwq_limit, 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

--- 659 unchanged lines hidden (view full) ---

699 }
700 sc->sc_monpass = HAL_RXERR_DECRYPT | HAL_RXERR_MIC;
701 SYSCTL_ADD_UINT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
702 "monpass", CTLFLAG_RW, &sc->sc_monpass, 0,
703 "mask of error frames to pass when monitoring");
704
705 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
706 "hwq_limit", CTLFLAG_RW, &sc->sc_hwq_limit, 0,
707 "");
707 "Hardware queue depth before software-queuing TX frames");
708 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
709 "tid_hwq_lo", CTLFLAG_RW, &sc->sc_tid_hwq_lo, 0,
710 "");
711 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
712 "tid_hwq_hi", CTLFLAG_RW, &sc->sc_tid_hwq_hi, 0,
713 "");
714
708 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
709 "tid_hwq_lo", CTLFLAG_RW, &sc->sc_tid_hwq_lo, 0,
710 "");
711 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
712 "tid_hwq_hi", CTLFLAG_RW, &sc->sc_tid_hwq_hi, 0,
713 "");
714
715 /* Aggregate length twiddles */
715 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
716 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
717 "aggr_limit", CTLFLAG_RW, &sc->sc_aggr_limit, 0, "");
718 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
719 "rts_aggr_limit", CTLFLAG_RW, &sc->sc_rts_aggr_limit, 0, "");
720
721 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
716 "txq_data_minfree", CTLFLAG_RW, &sc->sc_txq_data_minfree,
717 0, "Minimum free buffers before adding a data frame"
718 " to the TX queue");
719
720 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
721 "txq_mcastq_maxdepth", CTLFLAG_RW,
722 &sc->sc_txq_mcastq_maxdepth, 0,
723 "Maximum buffer depth for multicast/broadcast frames");

--- 372 unchanged lines hidden ---
722 "txq_data_minfree", CTLFLAG_RW, &sc->sc_txq_data_minfree,
723 0, "Minimum free buffers before adding a data frame"
724 " to the TX queue");
725
726 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
727 "txq_mcastq_maxdepth", CTLFLAG_RW,
728 &sc->sc_txq_mcastq_maxdepth, 0,
729 "Maximum buffer depth for multicast/broadcast frames");

--- 372 unchanged lines hidden ---