Deleted Added
full compact
if_otusreg.h (288975) if_otusreg.h (289168)
1/* $OpenBSD: if_otusreg.h,v 1.9 2013/11/26 20:33:18 deraadt Exp $ */
2
3/*-
4 * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2007-2008 Atheros Communications, Inc.
6 * Copyright (c) 2015 Adrian Chadd <adrian@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 *
1/* $OpenBSD: if_otusreg.h,v 1.9 2013/11/26 20:33:18 deraadt Exp $ */
2
3/*-
4 * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2007-2008 Atheros Communications, Inc.
6 * Copyright (c) 2015 Adrian Chadd <adrian@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: head/sys/dev/otus/if_otusreg.h 288975 2015-10-07 03:33:25Z kevlo $
20 * $FreeBSD: head/sys/dev/otus/if_otusreg.h 289168 2015-10-12 05:21:51Z adrian $
21 */
22#ifndef __IF_OTUSREG_H__
23#define __IF_OTUSREG_H__
24
25/* USB Endpoints addresses. */
26#define AR_EPT_BULK_TX_NO (UE_DIR_OUT | 1)
27#define AR_EPT_BULK_RX_NO (UE_DIR_IN | 2)
28#define AR_EPT_INTR_RX_NO (UE_DIR_IN | 3)

--- 983 unchanged lines hidden (view full) ---

1012 STAILQ_HEAD(, otus_tx_cmd) sc_cmd_pending;
1013 STAILQ_HEAD(, otus_tx_cmd) sc_cmd_waiting;
1014
1015 union {
1016 struct otus_rx_radiotap_header th;
1017 uint8_t pad[64];
1018 } sc_rxtapu;
1019#define sc_rxtap sc_rxtapu.th
21 */
22#ifndef __IF_OTUSREG_H__
23#define __IF_OTUSREG_H__
24
25/* USB Endpoints addresses. */
26#define AR_EPT_BULK_TX_NO (UE_DIR_OUT | 1)
27#define AR_EPT_BULK_RX_NO (UE_DIR_IN | 2)
28#define AR_EPT_INTR_RX_NO (UE_DIR_IN | 3)

--- 983 unchanged lines hidden (view full) ---

1012 STAILQ_HEAD(, otus_tx_cmd) sc_cmd_pending;
1013 STAILQ_HEAD(, otus_tx_cmd) sc_cmd_waiting;
1014
1015 union {
1016 struct otus_rx_radiotap_header th;
1017 uint8_t pad[64];
1018 } sc_rxtapu;
1019#define sc_rxtap sc_rxtapu.th
1020 int sc_rxtap_len;
1021
1022 union {
1023 struct otus_tx_radiotap_header th;
1024 uint8_t pad[64];
1025 } sc_txtapu;
1026#define sc_txtap sc_txtapu.th
1020
1021 union {
1022 struct otus_tx_radiotap_header th;
1023 uint8_t pad[64];
1024 } sc_txtapu;
1025#define sc_txtap sc_txtapu.th
1027 int sc_txtap_len;
1028};
1029
1030#endif /* __IF_OTUSREG_H__ */
1026};
1027
1028#endif /* __IF_OTUSREG_H__ */