xref: /freebsd/sys/dev/rtwn/usb/rtwn_usb_tx.h (revision 7453645f2a9411a3f9d982b768bcc323f41cf906)
1*7453645fSAndriy Voskoboinyk /*-
2*7453645fSAndriy Voskoboinyk  * Copyright (c) 2016 Andriy Voskoboinyk <avos@FreeBSD.org>
3*7453645fSAndriy Voskoboinyk  *
4*7453645fSAndriy Voskoboinyk  * Permission to use, copy, modify, and distribute this software for any
5*7453645fSAndriy Voskoboinyk  * purpose with or without fee is hereby granted, provided that the above
6*7453645fSAndriy Voskoboinyk  * copyright notice and this permission notice appear in all copies.
7*7453645fSAndriy Voskoboinyk  *
8*7453645fSAndriy Voskoboinyk  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9*7453645fSAndriy Voskoboinyk  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10*7453645fSAndriy Voskoboinyk  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11*7453645fSAndriy Voskoboinyk  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12*7453645fSAndriy Voskoboinyk  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13*7453645fSAndriy Voskoboinyk  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14*7453645fSAndriy Voskoboinyk  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*7453645fSAndriy Voskoboinyk  *
16*7453645fSAndriy Voskoboinyk  * $FreeBSD$
17*7453645fSAndriy Voskoboinyk  */
18*7453645fSAndriy Voskoboinyk 
19*7453645fSAndriy Voskoboinyk #ifndef RTWN_USB_TX_H
20*7453645fSAndriy Voskoboinyk #define RTWN_USB_TX_H
21*7453645fSAndriy Voskoboinyk 
22*7453645fSAndriy Voskoboinyk void	rtwn_bulk_tx_callback(struct usb_xfer *, usb_error_t);
23*7453645fSAndriy Voskoboinyk int	rtwn_usb_tx_start(struct rtwn_softc *, struct ieee80211_node *,
24*7453645fSAndriy Voskoboinyk 	    struct mbuf *, uint8_t *, uint8_t, int);
25*7453645fSAndriy Voskoboinyk 
26*7453645fSAndriy Voskoboinyk #endif	/* RTWN_USB_TX_H */
27