1 /* $OpenBSD: if_rtwnreg.h,v 1.3 2015/06/14 08:02:47 stsp Exp $ */
2
3 /*-
4 * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2015 Stefan Sperling <stsp@openbsd.org>
6 * Copyright (c) 2016 Andriy Voskoboinyk <avos@FreeBSD.org>
7 *
8 * Permission to use, copy, modify, and distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
10 * copyright notice and this permission notice appear in all copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 *
20 * $FreeBSD$
21 */
22
23 #ifndef R92CE_TX_DESC_H
24 #define R92CE_TX_DESC_H
25
26 #include <dev/rtwn/rtl8192c/r92c_tx_desc.h>
27
28 /* Tx MAC descriptor (PCIe). */
29 struct r92ce_tx_desc {
30 uint16_t pktlen;
31 uint8_t offset;
32 uint8_t flags0;
33
34 uint32_t txdw1;
35 uint32_t txdw2;
36 uint16_t txdw3;
37 uint16_t txdseq;
38
39 uint32_t txdw4;
40 uint32_t txdw5;
41 uint32_t txdw6;
42
43 uint16_t txbufsize;
44 uint16_t pad;
45
46 uint32_t txbufaddr;
47 uint32_t txbufaddr64;
48
49 uint32_t nextdescaddr;
50 uint32_t nextdescaddr64;
51
52 uint32_t reserved[4];
53 } __packed __attribute__((aligned(4)));
54
55 #endif /* R92CE_TX_DESC_H */
Cache object: 648d265cbbae9281f0f61359cb0c109a
|