xref: /freebsd/sys/dev/rtwn/usb/rtwn_usb_tx.h (revision d99eb8230eb717ab0b2eba948614d0f2f2b5dd2b)
17453645fSAndriy Voskoboinyk /*-
27453645fSAndriy Voskoboinyk  * Copyright (c) 2016 Andriy Voskoboinyk <avos@FreeBSD.org>
37453645fSAndriy Voskoboinyk  *
47453645fSAndriy Voskoboinyk  * Permission to use, copy, modify, and distribute this software for any
57453645fSAndriy Voskoboinyk  * purpose with or without fee is hereby granted, provided that the above
67453645fSAndriy Voskoboinyk  * copyright notice and this permission notice appear in all copies.
77453645fSAndriy Voskoboinyk  *
87453645fSAndriy Voskoboinyk  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
97453645fSAndriy Voskoboinyk  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
107453645fSAndriy Voskoboinyk  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
117453645fSAndriy Voskoboinyk  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
127453645fSAndriy Voskoboinyk  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
137453645fSAndriy Voskoboinyk  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
147453645fSAndriy Voskoboinyk  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
157453645fSAndriy Voskoboinyk  */
167453645fSAndriy Voskoboinyk 
177453645fSAndriy Voskoboinyk #ifndef RTWN_USB_TX_H
187453645fSAndriy Voskoboinyk #define RTWN_USB_TX_H
197453645fSAndriy Voskoboinyk 
20*d99eb823SAdrian Chadd void	rtwn_bulk_tx_callback_bk(struct usb_xfer *, usb_error_t);
21*d99eb823SAdrian Chadd void	rtwn_bulk_tx_callback_be(struct usb_xfer *, usb_error_t);
22*d99eb823SAdrian Chadd void	rtwn_bulk_tx_callback_vi(struct usb_xfer *, usb_error_t);
23*d99eb823SAdrian Chadd void	rtwn_bulk_tx_callback_vo(struct usb_xfer *, usb_error_t);
247453645fSAndriy Voskoboinyk int	rtwn_usb_tx_start(struct rtwn_softc *, struct ieee80211_node *,
257453645fSAndriy Voskoboinyk 	    struct mbuf *, uint8_t *, uint8_t, int);
267453645fSAndriy Voskoboinyk 
277453645fSAndriy Voskoboinyk #endif	/* RTWN_USB_TX_H */
28