Deleted Added
full compact
if_rumvar.h (253757) if_rumvar.h (286410)
1/* $FreeBSD: head/sys/dev/usb/wlan/if_rumvar.h 253757 2013-07-29 05:54:13Z hselasky $ */
1/* $FreeBSD: head/sys/dev/usb/wlan/if_rumvar.h 286410 2015-08-07 11:43:14Z glebius $ */
2
3/*-
4 * Copyright (c) 2005, 2006 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2006 Niall O'Higgins <niallo@openbsd.org>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

80
81enum {
82 RUM_BULK_WR,
83 RUM_BULK_RD,
84 RUM_N_TRANSFER = 2,
85};
86
87struct rum_softc {
2
3/*-
4 * Copyright (c) 2005, 2006 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2006 Niall O'Higgins <niallo@openbsd.org>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

80
81enum {
82 RUM_BULK_WR,
83 RUM_BULK_RD,
84 RUM_N_TRANSFER = 2,
85};
86
87struct rum_softc {
88 struct ifnet *sc_ifp;
88 struct ieee80211com sc_ic;
89 struct mbufq sc_snd;
89 device_t sc_dev;
90 struct usb_device *sc_udev;
91
92 struct usb_xfer *sc_xfer[RUM_N_TRANSFER];
93
94 uint8_t rf_rev;
95 uint8_t rffreq;
96
97 struct rum_tx_data tx_data[RUM_TX_LIST_COUNT];
98 rum_txdhead tx_q;
99 rum_txdhead tx_free;
100 int tx_nfree;
101 struct rum_rx_desc sc_rx_desc;
102
103 struct mtx sc_mtx;
104
105 uint32_t sta[6];
106 uint32_t rf_regs[4];
107 uint8_t txpow[44];
90 device_t sc_dev;
91 struct usb_device *sc_udev;
92
93 struct usb_xfer *sc_xfer[RUM_N_TRANSFER];
94
95 uint8_t rf_rev;
96 uint8_t rffreq;
97
98 struct rum_tx_data tx_data[RUM_TX_LIST_COUNT];
99 rum_txdhead tx_q;
100 rum_txdhead tx_free;
101 int tx_nfree;
102 struct rum_rx_desc sc_rx_desc;
103
104 struct mtx sc_mtx;
105
106 uint32_t sta[6];
107 uint32_t rf_regs[4];
108 uint8_t txpow[44];
108 uint8_t sc_bssid[6];
109 uint8_t sc_detached;
109 u_int sc_detached:1,
110 sc_running:1;
110
111 struct {
112 uint8_t val;
113 uint8_t reg;
114 } __packed bbp_prom[16];
115
116 int hw_radio;
117 int rx_ant;

--- 18 unchanged lines hidden ---
111
112 struct {
113 uint8_t val;
114 uint8_t reg;
115 } __packed bbp_prom[16];
116
117 int hw_radio;
118 int rx_ant;

--- 18 unchanged lines hidden ---