Deleted Added
full compact
if_aironet_ieee.h (80449) if_aironet_ieee.h (83270)
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 80449 2001-07-27 16:05:21Z brooks $
32 * $FreeBSD: head/sys/dev/an/if_aironet_ieee.h 83270 2001-09-10 02:36:18Z brooks $
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

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

106#define AN_STYPE_MGMT_PROBEREQ 0x0040 /* probe request */
107#define AN_STYPE_MGMT_PROBERESP 0x0050 /* probe response */
108#define AN_STYPE_MGMT_BEACON 0x0080 /* beacon */
109#define AN_STYPE_MGMT_ATIM 0x0090 /* announcement traffic ind msg */
110#define AN_STYPE_MGMT_DISAS 0x00A0 /* disassociation */
111#define AN_STYPE_MGMT_AUTH 0x00B0 /* authentication */
112#define AN_STYPE_MGMT_DEAUTH 0x00C0 /* deauthentication */
113
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

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

106#define AN_STYPE_MGMT_PROBEREQ 0x0040 /* probe request */
107#define AN_STYPE_MGMT_PROBERESP 0x0050 /* probe response */
108#define AN_STYPE_MGMT_BEACON 0x0080 /* beacon */
109#define AN_STYPE_MGMT_ATIM 0x0090 /* announcement traffic ind msg */
110#define AN_STYPE_MGMT_DISAS 0x00A0 /* disassociation */
111#define AN_STYPE_MGMT_AUTH 0x00B0 /* authentication */
112#define AN_STYPE_MGMT_DEAUTH 0x00C0 /* deauthentication */
113
114/*
114/*
115 * Aironet IEEE signal strength cache
116 *
117 * driver keeps cache of last
118 * MAXANCACHE packets to arrive including signal strength info.
119 * daemons may read this via ioctl
120 *
121 * Each entry in the wi_sigcache has a unique macsrc.
122 */

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

534 u_int16_t an_channel_set; /* 0x60 */
535 u_int16_t an_hops_to_backbone; /* 0x64 */
536 u_int16_t an_ap_total_load; /* 0x66 */
537 u_int16_t an_our_generated_load; /* 0x68 */
538 u_int16_t an_accumulated_arl; /* 0x6A */
539 u_int16_t an_cur_signal_quality; /* 0x6C */
540 u_int16_t an_current_tx_rate; /* 0x6E */
541 u_int16_t an_ap_device; /* 0x70 */
115 * Aironet IEEE signal strength cache
116 *
117 * driver keeps cache of last
118 * MAXANCACHE packets to arrive including signal strength info.
119 * daemons may read this via ioctl
120 *
121 * Each entry in the wi_sigcache has a unique macsrc.
122 */

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

534 u_int16_t an_channel_set; /* 0x60 */
535 u_int16_t an_hops_to_backbone; /* 0x64 */
536 u_int16_t an_ap_total_load; /* 0x66 */
537 u_int16_t an_our_generated_load; /* 0x68 */
538 u_int16_t an_accumulated_arl; /* 0x6A */
539 u_int16_t an_cur_signal_quality; /* 0x6C */
540 u_int16_t an_current_tx_rate; /* 0x6E */
541 u_int16_t an_ap_device; /* 0x70 */
542 u_int16_t an_normalized_rssi; /* 0x72 */
542 u_int16_t an_normalized_rssi; /* 0x72 */
543 u_int16_t an_short_pre_in_use; /* 0x74 */
544 u_int8_t an_ap_ip_addr[4]; /* 0x76 */
545 u_int16_t an_max_noise_prev_sec; /* 0x7A */
546 u_int16_t an_avg_noise_prev_min; /* 0x7C */
547 u_int16_t an_max_noise_prev_min; /* 0x7E */
548 u_int16_t an_spare[5];
549};
550

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

587
588/*
589 * Reporting (read only)
590 */
591#define AN_RID_CAPABILITIES 0xFF00 /* PC 4500/4800 capabilities */
592#define AN_RID_AP_INFO 0xFF01 /* Access point info */
593#define AN_RID_RADIO_INFO 0xFF02 /* Radio info */
594#define AN_RID_STATUS 0xFF50 /* Current status info */
543 u_int16_t an_short_pre_in_use; /* 0x74 */
544 u_int8_t an_ap_ip_addr[4]; /* 0x76 */
545 u_int16_t an_max_noise_prev_sec; /* 0x7A */
546 u_int16_t an_avg_noise_prev_min; /* 0x7C */
547 u_int16_t an_max_noise_prev_min; /* 0x7E */
548 u_int16_t an_spare[5];
549};
550

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

587
588/*
589 * Reporting (read only)
590 */
591#define AN_RID_CAPABILITIES 0xFF00 /* PC 4500/4800 capabilities */
592#define AN_RID_AP_INFO 0xFF01 /* Access point info */
593#define AN_RID_RADIO_INFO 0xFF02 /* Radio info */
594#define AN_RID_STATUS 0xFF50 /* Current status info */
595#define AN_RID_BEACONS_HST 0xFF51
596#define AN_RID_BUSY_HST 0xFF52
597#define AN_RID_RETRIES_HST 0xFF53
595#define AN_RID_BEACONS_HST 0xFF51
596#define AN_RID_BUSY_HST 0xFF52
597#define AN_RID_RETRIES_HST 0xFF53
598
599/*
600 * Statistics
601 */
602#define AN_RID_16BITS_CUM 0xFF60 /* Cumulative 16-bit stats counters */
603#define AN_RID_16BITS_DELTA 0xFF61 /* 16-bit stats (since last clear) */
604#define AN_RID_16BITS_DELTACLR 0xFF62 /* 16-bit stats, clear on read */
605#define AN_RID_32BITS_CUM 0xFF68 /* Cumulative 32-bit stats counters */

--- 30 unchanged lines hidden ---
598
599/*
600 * Statistics
601 */
602#define AN_RID_16BITS_CUM 0xFF60 /* Cumulative 16-bit stats counters */
603#define AN_RID_16BITS_DELTA 0xFF61 /* 16-bit stats (since last clear) */
604#define AN_RID_16BITS_DELTACLR 0xFF62 /* 16-bit stats, clear on read */
605#define AN_RID_32BITS_CUM 0xFF68 /* Cumulative 32-bit stats counters */

--- 30 unchanged lines hidden ---