if_ath_tx.h (236872) | if_ath_tx.h (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 --- 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 236872 2012-06-11 06:59:28Z adrian $ | 29 * $FreeBSD: head/sys/dev/ath/if_ath_tx.h 238710 2012-07-23 03:52:18Z 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) --- 119 int code, int batimeout); 120extern void ath_addba_stop(struct ieee80211_node *ni, 121 struct ieee80211_tx_ampdu *tap); 122extern void ath_bar_response(struct ieee80211_node *ni, 123 struct ieee80211_tx_ampdu *tap, int status); 124extern void ath_addba_response_timeout(struct ieee80211_node *ni, 125 struct ieee80211_tx_ampdu *tap); 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) --- 119 int code, int batimeout); 120extern void ath_addba_stop(struct ieee80211_node *ni, 121 struct ieee80211_tx_ampdu *tap); 122extern void ath_bar_response(struct ieee80211_node *ni, 123 struct ieee80211_tx_ampdu *tap, int status); 124extern void ath_addba_response_timeout(struct ieee80211_node *ni, 125 struct ieee80211_tx_ampdu *tap); 126 |
127/* 128 * Setup path 129 */ 130#define ath_txdma_setup(_sc) \ 131 (_sc)->sc_tx.xmit_setup(_sc) 132#define ath_txdma_teardown(_sc) \ 133 (_sc)->sc_tx.xmit_teardown(_sc) 134extern void ath_xmit_setup_legacy(struct ath_softc *sc); 135 |
|
127#endif | 136#endif |