if_ath.c (250865) | if_ath.c (250866) |
---|---|
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.c 250865 2013-05-21 18:02:54Z adrian $"); | 31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath.c 250866 2013-05-21 18:13:57Z 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 --- 794 unchanged lines hidden (view full) --- 834 device_printf(sc->sc_dev, 835 "[HT] %d RX streams; %d TX streams\n", rxs, txs); 836 } 837#endif 838 839 /* 840 * Initial aggregation settings. 841 */ | 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 --- 794 unchanged lines hidden (view full) --- 834 device_printf(sc->sc_dev, 835 "[HT] %d RX streams; %d TX streams\n", rxs, txs); 836 } 837#endif 838 839 /* 840 * Initial aggregation settings. 841 */ |
842 sc->sc_hwq_limit = ATH_AGGR_MIN_QDEPTH; | 842 sc->sc_hwq_limit_aggr = ATH_AGGR_MIN_QDEPTH; 843 sc->sc_hwq_limit_nonaggr = ATH_NONAGGR_MIN_QDEPTH; |
843 sc->sc_tid_hwq_lo = ATH_AGGR_SCHED_LOW; 844 sc->sc_tid_hwq_hi = ATH_AGGR_SCHED_HIGH; 845 sc->sc_aggr_limit = ATH_AGGR_MAXSIZE; 846 sc->sc_delim_min_pad = 0; 847 848 /* 849 * Check if the hardware requires PCI register serialisation. 850 * Some of the Owl based MACs require this. --- 5581 unchanged lines hidden --- | 844 sc->sc_tid_hwq_lo = ATH_AGGR_SCHED_LOW; 845 sc->sc_tid_hwq_hi = ATH_AGGR_SCHED_HIGH; 846 sc->sc_aggr_limit = ATH_AGGR_MAXSIZE; 847 sc->sc_delim_min_pad = 0; 848 849 /* 850 * Check if the hardware requires PCI register serialisation. 851 * Some of the Owl based MACs require this. --- 5581 unchanged lines hidden --- |