xref: /freebsd/sys/dev/rtwn/rtl8821a/usb/r21au.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
17453645fSAndriy Voskoboinyk /*-
27453645fSAndriy Voskoboinyk  * Copyright (c) 2016 Andriy Voskoboinyk <avos@FreeBSD.org>
37453645fSAndriy Voskoboinyk  * All rights reserved.
47453645fSAndriy Voskoboinyk  *
57453645fSAndriy Voskoboinyk  * Redistribution and use in source and binary forms, with or without
67453645fSAndriy Voskoboinyk  * modification, are permitted provided that the following conditions
77453645fSAndriy Voskoboinyk  * are met:
87453645fSAndriy Voskoboinyk  * 1. Redistributions of source code must retain the above copyright
97453645fSAndriy Voskoboinyk  *    notice, this list of conditions and the following disclaimer.
107453645fSAndriy Voskoboinyk  * 2. Redistributions in binary form must reproduce the above copyright
117453645fSAndriy Voskoboinyk  *    notice, this list of conditions and the following disclaimer in the
127453645fSAndriy Voskoboinyk  *    documentation and/or other materials provided with the distribution.
137453645fSAndriy Voskoboinyk  *
147453645fSAndriy Voskoboinyk  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
157453645fSAndriy Voskoboinyk  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
167453645fSAndriy Voskoboinyk  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
177453645fSAndriy Voskoboinyk  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
187453645fSAndriy Voskoboinyk  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
197453645fSAndriy Voskoboinyk  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
207453645fSAndriy Voskoboinyk  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
217453645fSAndriy Voskoboinyk  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
227453645fSAndriy Voskoboinyk  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
237453645fSAndriy Voskoboinyk  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
247453645fSAndriy Voskoboinyk  * SUCH DAMAGE.
257453645fSAndriy Voskoboinyk  */
267453645fSAndriy Voskoboinyk 
277453645fSAndriy Voskoboinyk #ifndef RTL8821AU_H
287453645fSAndriy Voskoboinyk #define RTL8821AU_H
297453645fSAndriy Voskoboinyk 
307453645fSAndriy Voskoboinyk #include <dev/rtwn/rtl8821a/r21a.h>
317453645fSAndriy Voskoboinyk 
327453645fSAndriy Voskoboinyk /*
337453645fSAndriy Voskoboinyk  * Function declarations.
347453645fSAndriy Voskoboinyk  */
357453645fSAndriy Voskoboinyk /* r21au_init.c */
367453645fSAndriy Voskoboinyk void	r21au_init_tx_agg(struct rtwn_softc *);
377453645fSAndriy Voskoboinyk 
38*b8ad00b0SAndriy Voskoboinyk /* r21au_dfs.c */
39*b8ad00b0SAndriy Voskoboinyk void	r21au_chan_check(void *, int);
40*b8ad00b0SAndriy Voskoboinyk int	r21au_newstate(struct ieee80211vap *, enum ieee80211_state, int);
41*b8ad00b0SAndriy Voskoboinyk void	r21au_scan_start(struct ieee80211com *);
42*b8ad00b0SAndriy Voskoboinyk void	r21au_scan_end(struct ieee80211com *);
43*b8ad00b0SAndriy Voskoboinyk 
447453645fSAndriy Voskoboinyk #endif	/* RTL8821AU_H */
45