Deleted Added
full compact
if_ath_tx.c (238708) if_ath_tx.c (238710)
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 238708 2012-07-23 02:26:33Z adrian $");
31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_tx.c 238710 2012-07-23 03:52: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

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

4458 /* Note: This updates the aggregate state to (again) pending */
4459 sc->sc_addba_response_timeout(ni, tap);
4460
4461 /* Unpause the TID; which reschedules it */
4462 ATH_TXQ_LOCK(sc->sc_ac2q[atid->ac]);
4463 ath_tx_tid_resume(sc, atid);
4464 ATH_TXQ_UNLOCK(sc->sc_ac2q[atid->ac]);
4465}
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

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

4458 /* Note: This updates the aggregate state to (again) pending */
4459 sc->sc_addba_response_timeout(ni, tap);
4460
4461 /* Unpause the TID; which reschedules it */
4462 ATH_TXQ_LOCK(sc->sc_ac2q[atid->ac]);
4463 ath_tx_tid_resume(sc, atid);
4464 ATH_TXQ_UNLOCK(sc->sc_ac2q[atid->ac]);
4465}
4466
4467static int
4468ath_legacy_dma_txsetup(struct ath_softc *sc)
4469{
4470
4471 /* nothing new needed */
4472 return (0);
4473}
4474
4475static int
4476ath_legacy_dma_txteardown(struct ath_softc *sc)
4477{
4478
4479 /* nothing new needed */
4480 return (0);
4481}
4482
4483void
4484ath_xmit_setup_legacy(struct ath_softc *sc)
4485{
4486
4487 sc->sc_tx.xmit_setup = ath_legacy_dma_txsetup;
4488 sc->sc_tx.xmit_teardown = ath_legacy_dma_txteardown;
4489}