Deleted Added
full compact
if_urtwnreg.h (256281) if_urtwnreg.h (263256)
1/*-
2 * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 *
16 * $OpenBSD: if_urtwnreg.h,v 1.3 2010/11/16 18:02:59 damien Exp $
1/*-
2 * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 *
16 * $OpenBSD: if_urtwnreg.h,v 1.3 2010/11/16 18:02:59 damien Exp $
17 * $FreeBSD: stable/10/sys/dev/usb/wlan/if_urtwnreg.h 253757 2013-07-29 05:54:13Z hselasky $
17 * $FreeBSD: stable/10/sys/dev/usb/wlan/if_urtwnreg.h 263256 2014-03-17 02:14:13Z kevlo $
18 */
19
20#define URTWN_CONFIG_INDEX 0
21#define URTWN_IFACE_INDEX 0
22
23#define URTWN_NOISE_FLOOR -95
24
25#define R92C_MAX_CHAINS 2

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

1114struct urtwn_softc {
1115 struct ifnet *sc_ifp;
1116 device_t sc_dev;
1117 struct usb_device *sc_udev;
1118
1119 int ac2idx[WME_NUM_AC];
1120 u_int sc_flags;
1121#define URTWN_FLAG_CCK_HIPWR 0x01
18 */
19
20#define URTWN_CONFIG_INDEX 0
21#define URTWN_IFACE_INDEX 0
22
23#define URTWN_NOISE_FLOOR -95
24
25#define R92C_MAX_CHAINS 2

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

1114struct urtwn_softc {
1115 struct ifnet *sc_ifp;
1116 device_t sc_dev;
1117 struct usb_device *sc_udev;
1118
1119 int ac2idx[WME_NUM_AC];
1120 u_int sc_flags;
1121#define URTWN_FLAG_CCK_HIPWR 0x01
1122#define URTWN_DETACHED 0x02
1122
1123 u_int chip;
1124#define URTWN_CHIP_92C 0x01
1125#define URTWN_CHIP_92C_1T2R 0x02
1126#define URTWN_CHIP_UMC 0x04
1127#define URTWN_CHIP_UMC_A_CUT 0x08
1128
1129 uint8_t board_type;

--- 767 unchanged lines hidden ---
1123
1124 u_int chip;
1125#define URTWN_CHIP_92C 0x01
1126#define URTWN_CHIP_92C_1T2R 0x02
1127#define URTWN_CHIP_UMC 0x04
1128#define URTWN_CHIP_UMC_A_CUT 0x08
1129
1130 uint8_t board_type;

--- 767 unchanged lines hidden ---