if_ath_tx.c (233514) | if_ath_tx.c (233673) |
---|---|
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_tx.c 233514 2012-03-26 16:05:19Z adrian $"); | 31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_tx.c 233673 2012-03-29 17:39:18Z 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 --- 2578 unchanged lines hidden (view full) --- 2618 __func__, tid->paused); 2619 2620 if (tid->paused || tid->axq_depth == 0) { 2621 return; 2622 } 2623 2624 ath_tx_tid_sched(sc, tid); 2625 /* Punt some frames to the hardware if needed */ | 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 --- 2578 unchanged lines hidden (view full) --- 2618 __func__, tid->paused); 2619 2620 if (tid->paused || tid->axq_depth == 0) { 2621 return; 2622 } 2623 2624 ath_tx_tid_sched(sc, tid); 2625 /* Punt some frames to the hardware if needed */ |
2626 ath_txq_sched(sc, sc->sc_ac2q[tid->ac]); | 2626 //ath_txq_sched(sc, sc->sc_ac2q[tid->ac]); 2627 taskqueue_enqueue(sc->sc_tq, &sc->sc_txqtask); |
2627} 2628 2629/* 2630 * Free any packets currently pending in the software TX queue. 2631 * 2632 * This will be called when a node is being deleted. 2633 * 2634 * It can also be called on an active node during an interface --- 1608 unchanged lines hidden --- | 2628} 2629 2630/* 2631 * Free any packets currently pending in the software TX queue. 2632 * 2633 * This will be called when a node is being deleted. 2634 * 2635 * It can also be called on an active node during an interface --- 1608 unchanged lines hidden --- |