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 RTL8812AU_H 287453645fSAndriy Voskoboinyk #define RTL8812AU_H 297453645fSAndriy Voskoboinyk 307453645fSAndriy Voskoboinyk #include <dev/rtwn/rtl8812a/r12a.h> 317453645fSAndriy Voskoboinyk 327453645fSAndriy Voskoboinyk /* 337453645fSAndriy Voskoboinyk * Function declarations. 347453645fSAndriy Voskoboinyk */ 357453645fSAndriy Voskoboinyk /* r12au_init.c */ 367453645fSAndriy Voskoboinyk void r12au_init_rx_agg(struct rtwn_softc *); 37*02e3fed5SAndriy Voskoboinyk void r12au_init_burstlen_usb2(struct rtwn_softc *); 387453645fSAndriy Voskoboinyk void r12au_init_burstlen(struct rtwn_softc *); 397453645fSAndriy Voskoboinyk void r12au_init_ampdu_fwhw(struct rtwn_softc *); 407453645fSAndriy Voskoboinyk void r12au_init_ampdu(struct rtwn_softc *); 417453645fSAndriy Voskoboinyk void r12au_post_init(struct rtwn_softc *); 427453645fSAndriy Voskoboinyk 437453645fSAndriy Voskoboinyk /* r12au_rx.c */ 447453645fSAndriy Voskoboinyk int r12au_classify_intr(struct rtwn_softc *, void *, int); 457453645fSAndriy Voskoboinyk int r12au_align_rx(int, int); 467453645fSAndriy Voskoboinyk 477453645fSAndriy Voskoboinyk /* r12au_tx.c */ 487453645fSAndriy Voskoboinyk void r12au_dump_tx_desc(struct rtwn_softc *, const void *); 497453645fSAndriy Voskoboinyk 507453645fSAndriy Voskoboinyk #endif /* RTL8812AU_H */ 51