Deleted Added
full compact
if_aironet_ieee.h (69771) if_aironet_ieee.h (74698)
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/an/if_aironet_ieee.h 69771 2000-12-08 19:00:10Z archie $
32 * $FreeBSD: head/sys/dev/an/if_aironet_ieee.h 74698 2001-03-23 17:46:32Z archie $
33 */
34
35#ifndef _IF_AIRONET_IEEE_H
36#define _IF_AIRONET_IEEE_H
37
38/*
39 * This header defines a simple command interface to the FreeBSD
40 * Aironet driver (an) driver, which is used to set certain

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

387#define AN_DIVERSITY_ANTENNA_2_ONLY 0x0002
388#define AN_DIVERSITY_ANTENNA_1_AND_2 0x0003
389
390#define AN_TXPOWER_FACTORY_DEFAULT 0x0000
391#define AN_TXPOWER_50MW 50
392#define AN_TXPOWER_100MW 100
393#define AN_TXPOWER_250MW 250
394
33 */
34
35#ifndef _IF_AIRONET_IEEE_H
36#define _IF_AIRONET_IEEE_H
37
38/*
39 * This header defines a simple command interface to the FreeBSD
40 * Aironet driver (an) driver, which is used to set certain

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

387#define AN_DIVERSITY_ANTENNA_2_ONLY 0x0002
388#define AN_DIVERSITY_ANTENNA_1_AND_2 0x0003
389
390#define AN_TXPOWER_FACTORY_DEFAULT 0x0000
391#define AN_TXPOWER_50MW 50
392#define AN_TXPOWER_100MW 100
393#define AN_TXPOWER_250MW 250
394
395#define AN_HOME_NETWORK 0x0001
396#define AN_HOME_INSTALL_AP 0x0002
397
395struct an_ltv_ssidlist {
396 u_int16_t an_len;
397 u_int16_t an_type;
398 u_int16_t an_ssid1_len;
399 char an_ssid1[32];
400 u_int16_t an_ssid2_len;
401 char an_ssid2[32];
402 u_int16_t an_ssid3_len;

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

518 u_int16_t an_current_tx_rate; /* 0x6E */
519 u_int16_t an_ap_device; /* 0x70 */
520 u_int16_t an_normalized_rssi; /* 0x72 */
521 u_int16_t an_short_pre_in_use; /* 0x74 */
522 u_int8_t an_ap_ip_addr[4]; /* 0x76 */
523 u_int16_t an_max_noise_prev_sec; /* 0x7A */
524 u_int16_t an_avg_noise_prev_min; /* 0x7C */
525 u_int16_t an_max_noise_prev_min; /* 0x7E */
398struct an_ltv_ssidlist {
399 u_int16_t an_len;
400 u_int16_t an_type;
401 u_int16_t an_ssid1_len;
402 char an_ssid1[32];
403 u_int16_t an_ssid2_len;
404 char an_ssid2[32];
405 u_int16_t an_ssid3_len;

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

521 u_int16_t an_current_tx_rate; /* 0x6E */
522 u_int16_t an_ap_device; /* 0x70 */
523 u_int16_t an_normalized_rssi; /* 0x72 */
524 u_int16_t an_short_pre_in_use; /* 0x74 */
525 u_int8_t an_ap_ip_addr[4]; /* 0x76 */
526 u_int16_t an_max_noise_prev_sec; /* 0x7A */
527 u_int16_t an_avg_noise_prev_min; /* 0x7C */
528 u_int16_t an_max_noise_prev_min; /* 0x7E */
526 u_int16_t an_spare[2];
529 u_int16_t an_spare[3];
527};
528
529#define AN_STATUS_OPMODE_CONFIGURED 0x0001
530#define AN_STATUS_OPMODE_MAC_ENABLED 0x0002
531#define AN_STATUS_OPMODE_RX_ENABLED 0x0004
532#define AN_STATUS_OPMODE_IN_SYNC 0x0010
533#define AN_STATUS_OPMODE_ASSOCIATED 0x0020
534#define AN_STATUS_OPMODE_ERROR 0x8000

--- 51 unchanged lines hidden ---
530};
531
532#define AN_STATUS_OPMODE_CONFIGURED 0x0001
533#define AN_STATUS_OPMODE_MAC_ENABLED 0x0002
534#define AN_STATUS_OPMODE_RX_ENABLED 0x0004
535#define AN_STATUS_OPMODE_IN_SYNC 0x0010
536#define AN_STATUS_OPMODE_ASSOCIATED 0x0020
537#define AN_STATUS_OPMODE_ERROR 0x8000

--- 51 unchanged lines hidden ---