if_ath.c (232752) | if_ath.c (232764) |
---|---|
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 232752 2012-03-09 22:41:09Z adrian $"); | 31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath.c 232764 2012-03-10 04:14:04Z 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 --- 592 unchanged lines hidden (view full) --- 632#ifdef IEEE80211_SUPPORT_TDMA 633 if (ath_hal_macversion(ah) > 0x78) { 634 ic->ic_caps |= IEEE80211_C_TDMA; /* capable of TDMA */ 635 ic->ic_tdma_update = ath_tdma_update; 636 } 637#endif 638 639 /* | 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 --- 592 unchanged lines hidden (view full) --- 632#ifdef IEEE80211_SUPPORT_TDMA 633 if (ath_hal_macversion(ah) > 0x78) { 634 ic->ic_caps |= IEEE80211_C_TDMA; /* capable of TDMA */ 635 ic->ic_tdma_update = ath_tdma_update; 636 } 637#endif 638 639 /* |
640 * TODO: enforce that at least this many frames are available 641 * in the txbuf list before allowing data frames (raw or 642 * otherwise) to be transmitted. 643 */ 644 sc->sc_txq_data_minfree = 10; 645 /* 646 * Leave this as default to maintain legacy behaviour. 647 * Shortening the cabq/mcastq may end up causing some 648 * undesirable behaviour. 649 */ 650 sc->sc_txq_mcastq_maxdepth = ath_txbuf; 651 652 /* |
|
640 * Allow the TX and RX chainmasks to be overridden by 641 * environment variables and/or device.hints. 642 * 643 * This must be done early - before the hardware is 644 * calibrated or before the 802.11n stream calculation 645 * is done. 646 */ 647 if (resource_int_value(device_get_name(sc->sc_dev), --- 6150 unchanged lines hidden --- | 653 * Allow the TX and RX chainmasks to be overridden by 654 * environment variables and/or device.hints. 655 * 656 * This must be done early - before the hardware is 657 * calibrated or before the 802.11n stream calculation 658 * is done. 659 */ 660 if (resource_int_value(device_get_name(sc->sc_dev), --- 6150 unchanged lines hidden --- |