if_ath_tx.h (239205) | if_ath_tx.h (241170) |
---|---|
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 --- 12 unchanged lines hidden (view full) --- 21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 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 * | 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 --- 12 unchanged lines hidden (view full) --- 21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 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 * $FreeBSD: head/sys/dev/ath/if_ath_tx.h 239205 2012-08-12 00:46:15Z adrian $ | 29 * $FreeBSD: head/sys/dev/ath/if_ath_tx.h 241170 2012-10-03 23:23:45Z adrian $ |
30 */ 31#ifndef __IF_ATH_TX_H__ 32#define __IF_ATH_TX_H__ 33 34/* 35 * some general macros 36 */ 37#define INCR(_l, _sz) (_l) ++; (_l) &= ((_sz) - 1) --- 81 unchanged lines hidden (view full) --- 119extern void ath_addba_stop(struct ieee80211_node *ni, 120 struct ieee80211_tx_ampdu *tap); 121extern void ath_bar_response(struct ieee80211_node *ni, 122 struct ieee80211_tx_ampdu *tap, int status); 123extern void ath_addba_response_timeout(struct ieee80211_node *ni, 124 struct ieee80211_tx_ampdu *tap); 125 126/* | 30 */ 31#ifndef __IF_ATH_TX_H__ 32#define __IF_ATH_TX_H__ 33 34/* 35 * some general macros 36 */ 37#define INCR(_l, _sz) (_l) ++; (_l) &= ((_sz) - 1) --- 81 unchanged lines hidden (view full) --- 119extern void ath_addba_stop(struct ieee80211_node *ni, 120 struct ieee80211_tx_ampdu *tap); 121extern void ath_bar_response(struct ieee80211_node *ni, 122 struct ieee80211_tx_ampdu *tap, int status); 123extern void ath_addba_response_timeout(struct ieee80211_node *ni, 124 struct ieee80211_tx_ampdu *tap); 125 126/* |
127 * AP mode power save handling (of stations) 128 */ 129extern void ath_tx_node_sleep(struct ath_softc *sc, struct ath_node *an); 130extern void ath_tx_node_wakeup(struct ath_softc *sc, struct ath_node *an); 131 132/* |
|
127 * Setup path 128 */ 129#define ath_txdma_setup(_sc) \ 130 (_sc)->sc_tx.xmit_setup(_sc) 131#define ath_txdma_teardown(_sc) \ 132 (_sc)->sc_tx.xmit_teardown(_sc) 133#define ath_txq_restart_dma(_sc, _txq) \ 134 (_sc)->sc_tx.xmit_dma_restart((_sc), (_txq)) 135#define ath_tx_handoff(_sc, _txq, _bf) \ 136 (_sc)->sc_tx.xmit_handoff((_sc), (_txq), (_bf)) 137#define ath_draintxq(_sc, _rtype) \ 138 (_sc)->sc_tx.xmit_drain((_sc), (_rtype)) 139 140extern void ath_xmit_setup_legacy(struct ath_softc *sc); 141 142#endif | 133 * Setup path 134 */ 135#define ath_txdma_setup(_sc) \ 136 (_sc)->sc_tx.xmit_setup(_sc) 137#define ath_txdma_teardown(_sc) \ 138 (_sc)->sc_tx.xmit_teardown(_sc) 139#define ath_txq_restart_dma(_sc, _txq) \ 140 (_sc)->sc_tx.xmit_dma_restart((_sc), (_txq)) 141#define ath_tx_handoff(_sc, _txq, _bf) \ 142 (_sc)->sc_tx.xmit_handoff((_sc), (_txq), (_bf)) 143#define ath_draintxq(_sc, _rtype) \ 144 (_sc)->sc_tx.xmit_drain((_sc), (_rtype)) 145 146extern void ath_xmit_setup_legacy(struct ath_softc *sc); 147 148#endif |