Deleted Added
full compact
if_wavelan_ieee.h (56965) if_wavelan_ieee.h (77217)
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/dev/wi/if_wavelan_ieee.h 56965 2000-02-02 17:59:13Z wpaul $
32 * $FreeBSD: head/sys/dev/wi/if_wavelan_ieee.h 77217 2001-05-26 09:27:08Z phk $
33 */
34
35#ifndef _IF_WAVELAN_IEEE_H
36#define _IF_WAVELAN_IEEE_H
37
38/*
39 * This header defines a simple command interface to the FreeBSD
40 * WaveLAN/IEEE driver (wi) driver, which is used to set certain

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

164 u_int32_t wi_rx_multicast_octets;
165 u_int32_t wi_rx_fcs_errors;
166 u_int32_t wi_rx_discards_nobuf;
167 u_int32_t wi_tx_discards_wrong_sa;
168 u_int32_t wi_rx_WEP_cant_decrypt;
169 u_int32_t wi_rx_msg_in_msg_frags;
170 u_int32_t wi_rx_msg_in_bad_msg_frags;
171};
33 */
34
35#ifndef _IF_WAVELAN_IEEE_H
36#define _IF_WAVELAN_IEEE_H
37
38/*
39 * This header defines a simple command interface to the FreeBSD
40 * WaveLAN/IEEE driver (wi) driver, which is used to set certain

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

164 u_int32_t wi_rx_multicast_octets;
165 u_int32_t wi_rx_fcs_errors;
166 u_int32_t wi_rx_discards_nobuf;
167 u_int32_t wi_tx_discards_wrong_sa;
168 u_int32_t wi_rx_WEP_cant_decrypt;
169 u_int32_t wi_rx_msg_in_msg_frags;
170 u_int32_t wi_rx_msg_in_bad_msg_frags;
171};
172#endif
172
173/*
174 * These are all the LTV record types that we can read or write
175 * from the WaveLAN. Not all of them are temendously useful, but I
176 * list as many as I know about here for completeness.
177 */
178
179#define WI_RID_DNLD_BUF 0xFD01

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

242#define WI_RID_TX_RATE3 0xFCA1
243#define WI_RID_TX_RATE4 0xFCA2
244#define WI_RID_TX_RATE5 0xFCA3
245#define WI_RID_TX_RATE6 0xFCA4
246#define WI_RID_DEFLT_CRYPT_KEYS 0xFCB0
247#define WI_RID_TX_CRYPT_KEY 0xFCB1
248#define WI_RID_TICK_TIME 0xFCE0
249
173
174/*
175 * These are all the LTV record types that we can read or write
176 * from the WaveLAN. Not all of them are temendously useful, but I
177 * list as many as I know about here for completeness.
178 */
179
180#define WI_RID_DNLD_BUF 0xFD01

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

243#define WI_RID_TX_RATE3 0xFCA1
244#define WI_RID_TX_RATE4 0xFCA2
245#define WI_RID_TX_RATE5 0xFCA3
246#define WI_RID_TX_RATE6 0xFCA4
247#define WI_RID_DEFLT_CRYPT_KEYS 0xFCB0
248#define WI_RID_TX_CRYPT_KEY 0xFCB1
249#define WI_RID_TICK_TIME 0xFCE0
250
251#ifndef _KERNEL
250struct wi_key {
251 u_int16_t wi_keylen;
252 u_int8_t wi_keydat[14];
253};
254
255struct wi_ltv_keys {
256 u_int16_t wi_len;
257 u_int16_t wi_type;
258 struct wi_key wi_keys[4];
259};
252struct wi_key {
253 u_int16_t wi_keylen;
254 u_int8_t wi_keydat[14];
255};
256
257struct wi_ltv_keys {
258 u_int16_t wi_len;
259 u_int16_t wi_type;
260 struct wi_key wi_keys[4];
261};
262#endif
260
261/*
262 * NIC information
263 */
264#define WI_RID_FIRM_ID 0xFD02 /* Primary func firmware ID. */
265#define WI_RID_PRI_SUP_RANGE 0xFD03 /* primary supplier compatibility */
266#define WI_RID_CIF_ACT_RANGE 0xFD04 /* controller sup. compatibility */
267#define WI_RID_SERIALNO 0xFD0A /* card serial number */

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

310 */
311#define WI_RID_PHY_TYPE 0xFDC0 /* phys layer type indication */
312#define WI_RID_CURRENT_CHAN 0xFDC1 /* current frequency */
313#define WI_RID_PWR_STATE 0xFDC2 /* pwr consumption status */
314#define WI_RID_CCA_MODE 0xFDC3 /* clear chan assess mode indication */
315#define WI_RID_CCA_TIME 0xFDC4 /* clear chan assess time */
316#define WI_RID_MAC_PROC_DELAY 0xFDC5 /* MAC processing delay time */
317#define WI_RID_DATA_RATES 0xFDC6 /* supported data rates */
263
264/*
265 * NIC information
266 */
267#define WI_RID_FIRM_ID 0xFD02 /* Primary func firmware ID. */
268#define WI_RID_PRI_SUP_RANGE 0xFD03 /* primary supplier compatibility */
269#define WI_RID_CIF_ACT_RANGE 0xFD04 /* controller sup. compatibility */
270#define WI_RID_SERIALNO 0xFD0A /* card serial number */

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

313 */
314#define WI_RID_PHY_TYPE 0xFDC0 /* phys layer type indication */
315#define WI_RID_CURRENT_CHAN 0xFDC1 /* current frequency */
316#define WI_RID_PWR_STATE 0xFDC2 /* pwr consumption status */
317#define WI_RID_CCA_MODE 0xFDC3 /* clear chan assess mode indication */
318#define WI_RID_CCA_TIME 0xFDC4 /* clear chan assess time */
319#define WI_RID_MAC_PROC_DELAY 0xFDC5 /* MAC processing delay time */
320#define WI_RID_DATA_RATES 0xFDC6 /* supported data rates */
318#endif
319
320
321#endif
321
322
323#endif