Deleted Added
full compact
if_ath_tx.h (227364) if_ath_tx.h (233227)
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 227364 2011-11-08 22:43:13Z adrian $
29 * $FreeBSD: head/sys/dev/ath/if_ath_tx.h 233227 2012-03-20 04:50:25Z 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)

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

104extern void ath_tx_normal_comp(struct ath_softc *sc, struct ath_buf *bf,
105 int fail);
106extern void ath_tx_aggr_comp(struct ath_softc *sc, struct ath_buf *bf,
107 int fail);
108extern void ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an,
109 struct ath_tid *tid, struct ath_buf *bf);
110extern struct ieee80211_tx_ampdu * ath_tx_get_tx_tid(struct ath_node *an,
111 int tid);
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)

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

104extern void ath_tx_normal_comp(struct ath_softc *sc, struct ath_buf *bf,
105 int fail);
106extern void ath_tx_aggr_comp(struct ath_softc *sc, struct ath_buf *bf,
107 int fail);
108extern void ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an,
109 struct ath_tid *tid, struct ath_buf *bf);
110extern struct ieee80211_tx_ampdu * ath_tx_get_tx_tid(struct ath_node *an,
111 int tid);
112extern int ath_tx_tid_seqno_assign(struct ath_softc *sc,
113 struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0);
112
113/* TX addba handling */
114extern int ath_addba_request(struct ieee80211_node *ni,
115 struct ieee80211_tx_ampdu *tap, int dialogtoken,
116 int baparamset, int batimeout);
117extern int ath_addba_response(struct ieee80211_node *ni,
118 struct ieee80211_tx_ampdu *tap, int dialogtoken,
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#endif
114
115/* TX addba handling */
116extern int ath_addba_request(struct ieee80211_node *ni,
117 struct ieee80211_tx_ampdu *tap, int dialogtoken,
118 int baparamset, int batimeout);
119extern int ath_addba_response(struct ieee80211_node *ni,
120 struct ieee80211_tx_ampdu *tap, int dialogtoken,
121 int code, int batimeout);
122extern void ath_addba_stop(struct ieee80211_node *ni,
123 struct ieee80211_tx_ampdu *tap);
124extern void ath_bar_response(struct ieee80211_node *ni,
125 struct ieee80211_tx_ampdu *tap, int status);
126extern void ath_addba_response_timeout(struct ieee80211_node *ni,
127 struct ieee80211_tx_ampdu *tap);
128
129#endif