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_RX_DESC_H
24#define R92CE_RX_DESC_H
25
26#include <dev/rtwn/rtl8192c/r92c_rx_desc.h>
27
28/* Rx MAC descriptor (PCIe). */
29struct r92ce_rx_stat {
30	uint32_t	rxdw0;
31	uint32_t	rxdw1;
32	uint32_t	rxdw2;
33	uint32_t	rxdw3;
34	uint32_t	rxdw4;
35	uint32_t	tsf_low;
36
37	uint32_t	rxbufaddr;
38	uint32_t	rxbufaddr64;
39} __packed __attribute__((aligned(4)));
40
41#endif	/* R92CE_RX_DESC_H */
42