if_ath_misc.h (227361) | if_ath_misc.h (227364) |
---|---|
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_misc.h 227361 2011-11-08 21:49:33Z adrian $ | 29 * $FreeBSD: head/sys/dev/ath/if_ath_misc.h 227364 2011-11-08 22:43:13Z adrian $ |
30 */ 31#ifndef __IF_ATH_MISC_H__ 32#define __IF_ATH_MISC_H__ 33 34/* 35 * This is where definitions for "public things" in if_ath.c 36 * will go for the time being. 37 * --- 17 unchanged lines hidden (view full) --- 55extern struct ath_buf * ath_buf_clone(struct ath_softc *sc, 56 const struct ath_buf *bf); 57extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf); 58 59extern int ath_reset(struct ifnet *, ATH_RESET_TYPE); 60extern void ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq); 61extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf, 62 int fail); | 30 */ 31#ifndef __IF_ATH_MISC_H__ 32#define __IF_ATH_MISC_H__ 33 34/* 35 * This is where definitions for "public things" in if_ath.c 36 * will go for the time being. 37 * --- 17 unchanged lines hidden (view full) --- 55extern struct ath_buf * ath_buf_clone(struct ath_softc *sc, 56 const struct ath_buf *bf); 57extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf); 58 59extern int ath_reset(struct ifnet *, ATH_RESET_TYPE); 60extern void ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq); 61extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf, 62 int fail); |
63extern void ath_tx_update_ratectrl(struct ath_softc *sc, 64 struct ieee80211_node *ni, struct ath_rc_series *rc, 65 struct ath_tx_status *ts, int frmlen, int nframes, int nbad); |
|
63 64extern void ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf, 65 int status); 66 67#endif | 66 67extern void ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf, 68 int status); 69 70#endif |