Deleted Added
full compact
if_ath_tx.c (236877) if_ath_tx.c (236878)
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 236877 2012-06-11 07:29:25Z adrian $");
31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_tx.c 236878 2012-06-11 07:31:50Z 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

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

2313 /* XXX don't sched - we're paused! */
2314 return;
2315 }
2316
2317 /* outside baw? queue */
2318 if (bf->bf_state.bfs_dobaw &&
2319 (! BAW_WITHIN(tap->txa_start, tap->txa_wnd,
2320 SEQNO(bf->bf_state.bfs_seqno)))) {
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

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

2313 /* XXX don't sched - we're paused! */
2314 return;
2315 }
2316
2317 /* outside baw? queue */
2318 if (bf->bf_state.bfs_dobaw &&
2319 (! BAW_WITHIN(tap->txa_start, tap->txa_wnd,
2320 SEQNO(bf->bf_state.bfs_seqno)))) {
2321 ATH_TXQ_INSERT_TAIL(tid, bf, bf_list);
2321 ATH_TXQ_INSERT_HEAD(tid, bf, bf_list);
2322 ath_tx_tid_sched(sc, tid);
2323 return;
2324 }
2325
2326 /* Direct dispatch to hardware */
2327 ath_tx_do_ratelookup(sc, bf);
2328 ath_tx_calc_duration(sc, bf);
2329 ath_tx_calc_protection(sc, bf);

--- 2043 unchanged lines hidden ---
2322 ath_tx_tid_sched(sc, tid);
2323 return;
2324 }
2325
2326 /* Direct dispatch to hardware */
2327 ath_tx_do_ratelookup(sc, bf);
2328 ath_tx_calc_duration(sc, bf);
2329 ath_tx_calc_protection(sc, bf);

--- 2043 unchanged lines hidden ---