Deleted Added
full compact
if_aironet_ieee.h (108401) if_aironet_ieee.h (119156)
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 108401 2002-12-29 19:22:07Z ambrisko $
32 * $FreeBSD: head/sys/dev/an/if_aironet_ieee.h 119156 2003-08-20 03:46:05Z ambrisko $
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

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

58#define AN_RID_TX_SPEED 0x1234
59
60/*
61 * Technically I don't think there's a limit to a record
62 * length. The largest record is the one that contains the CIS
63 * data, which is 240 words long, so 256 should be a safe
64 * value.
65 */
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

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

58#define AN_RID_TX_SPEED 0x1234
59
60/*
61 * Technically I don't think there's a limit to a record
62 * length. The largest record is the one that contains the CIS
63 * data, which is 240 words long, so 256 should be a safe
64 * value.
65 */
66#define AN_MAX_DATALEN 512
66#define AN_MAX_DATALEN 4096
67
68struct an_req {
69 u_int16_t an_len;
70 u_int16_t an_type;
71 u_int16_t an_val[AN_MAX_DATALEN];
72};
73
74/*

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

256 u_int32_t an_tx_poll_pkts; /* 0x164 */
257 u_int32_t an_host_retries; /* 0x168 */
258 u_int32_t an_lostsync_hostreq; /* 0x16C */
259 u_int32_t an_host_tx_bytes; /* 0x170 */
260 u_int32_t an_host_rx_bytes; /* 0x174 */
261 u_int32_t an_uptime_usecs; /* 0x178 */
262 u_int32_t an_uptime_secs; /* 0x17C */
263 u_int32_t an_lostsync_better_ap; /* 0x180 */
67
68struct an_req {
69 u_int16_t an_len;
70 u_int16_t an_type;
71 u_int16_t an_val[AN_MAX_DATALEN];
72};
73
74/*

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

256 u_int32_t an_tx_poll_pkts; /* 0x164 */
257 u_int32_t an_host_retries; /* 0x168 */
258 u_int32_t an_lostsync_hostreq; /* 0x16C */
259 u_int32_t an_host_tx_bytes; /* 0x170 */
260 u_int32_t an_host_rx_bytes; /* 0x174 */
261 u_int32_t an_uptime_usecs; /* 0x178 */
262 u_int32_t an_uptime_secs; /* 0x17C */
263 u_int32_t an_lostsync_better_ap; /* 0x180 */
264 u_int32_t an_rsvd[10];
264 u_int32_t an_rsvd[15];
265};
266
267/*
268 * General configuration information.
269 */
270struct an_ltv_genconfig {
271 /* General configuration. */
272 u_int16_t an_len; /* 0x00 */

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

332 u_int16_t an_arl_thresh; /* 0x90 */
333 u_int16_t an_arl_decay; /* 0x92 */
334 u_int16_t an_arl_delay; /* 0x94 */
335 u_int8_t an_rsvd7; /* 0x96 */
336 u_int8_t an_rsvd8; /* 0x97 */
337 u_int8_t an_magic_packet_action; /* 0x98 */
338 u_int8_t an_magic_packet_ctl; /* 0x99 */
339 u_int16_t an_rsvd9;
265};
266
267/*
268 * General configuration information.
269 */
270struct an_ltv_genconfig {
271 /* General configuration. */
272 u_int16_t an_len; /* 0x00 */

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

332 u_int16_t an_arl_thresh; /* 0x90 */
333 u_int16_t an_arl_decay; /* 0x92 */
334 u_int16_t an_arl_delay; /* 0x94 */
335 u_int8_t an_rsvd7; /* 0x96 */
336 u_int8_t an_rsvd8; /* 0x97 */
337 u_int8_t an_magic_packet_action; /* 0x98 */
338 u_int8_t an_magic_packet_ctl; /* 0x99 */
339 u_int16_t an_rsvd9;
340 u_int16_t an_spare[13];
340};
341
342#define AN_OPMODE_IBSS_ADHOC 0x0000
343#define AN_OPMODE_INFRASTRUCTURE_STATION 0x0001
344#define AN_OPMODE_AP 0x0002
345#define AN_OPMODE_AP_REPEATER 0x0003
346#define AN_OPMODE_UNMODIFIED_PAYLOAD 0x0100
347#define AN_OPMODE_AIRONET_EXTENSIONS 0x0200

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

412 u_int16_t an_ssid1_len;
413 char an_ssid1[32];
414 u_int16_t an_ssid2_len;
415 char an_ssid2[32];
416 u_int16_t an_ssid3_len;
417 char an_ssid3[32];
418};
419
341};
342
343#define AN_OPMODE_IBSS_ADHOC 0x0000
344#define AN_OPMODE_INFRASTRUCTURE_STATION 0x0001
345#define AN_OPMODE_AP 0x0002
346#define AN_OPMODE_AP_REPEATER 0x0003
347#define AN_OPMODE_UNMODIFIED_PAYLOAD 0x0100
348#define AN_OPMODE_AIRONET_EXTENSIONS 0x0200

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

413 u_int16_t an_ssid1_len;
414 char an_ssid1[32];
415 u_int16_t an_ssid2_len;
416 char an_ssid2[32];
417 u_int16_t an_ssid3_len;
418 char an_ssid3[32];
419};
420
421struct an_ltv_ssid_entry{
422 u_int16_t an_len;
423 char an_ssid[32];
424};
425
426#define MAX_SSIDS 25
427struct an_ltv_ssidlist_new {
428 u_int16_t an_len;
429 u_int16_t an_type;
430 struct an_ltv_ssid_entry an_entry[MAX_SSIDS];
431};
432
420/*
421 * Valid AP list.
422 */
423struct an_ltv_aplist {
424 u_int16_t an_len;
425 u_int16_t an_type;
426 u_int8_t an_ap1[8];
427 u_int8_t an_ap2[8];

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

496 u_int16_t an_hwcaps; /* 0x72 */
497 u_int16_t an_temprange; /* 0x74 */
498 u_int16_t an_fwrev; /* 0x76 */
499 u_int16_t an_fwsubrev; /* 0x78 */
500 u_int16_t an_ifacerev; /* 0x7A */
501 u_int16_t an_softcaps; /* 0x7C */
502 u_int16_t an_bootblockrev; /* 0x7E */
503 u_int16_t an_req_hw_support; /* 0x80 */
433/*
434 * Valid AP list.
435 */
436struct an_ltv_aplist {
437 u_int16_t an_len;
438 u_int16_t an_type;
439 u_int8_t an_ap1[8];
440 u_int8_t an_ap2[8];

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

509 u_int16_t an_hwcaps; /* 0x72 */
510 u_int16_t an_temprange; /* 0x74 */
511 u_int16_t an_fwrev; /* 0x76 */
512 u_int16_t an_fwsubrev; /* 0x78 */
513 u_int16_t an_ifacerev; /* 0x7A */
514 u_int16_t an_softcaps; /* 0x7C */
515 u_int16_t an_bootblockrev; /* 0x7E */
516 u_int16_t an_req_hw_support; /* 0x80 */
504 u_int16_t an_unknown; /* 0x82 */
517 u_int16_t an_unknown[31]; /* 0x82 */
505};
506
507/*
508 * Access point (read only)
509 */
510struct an_ltv_apinfo {
511 u_int16_t an_len;
512 u_int16_t an_type;

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

575 u_int16_t an_short_pre_in_use; /* 0x74 */
576 u_int8_t an_ap_ip_addr[4]; /* 0x76 */
577 u_int8_t an_noise_prev_sec_pc; /* 0x7A */
578 u_int8_t an_noise_prev_sec_db; /* 0x7B */
579 u_int8_t an_avg_noise_prev_min_pc; /* 0x7C */
580 u_int8_t an_avg_noise_prev_min_db; /* 0x7D */
581 u_int8_t an_max_noise_prev_min_pc; /* 0x7E */
582 u_int8_t an_max_noise_prev_min_db; /* 0x7F */
518};
519
520/*
521 * Access point (read only)
522 */
523struct an_ltv_apinfo {
524 u_int16_t an_len;
525 u_int16_t an_type;

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

588 u_int16_t an_short_pre_in_use; /* 0x74 */
589 u_int8_t an_ap_ip_addr[4]; /* 0x76 */
590 u_int8_t an_noise_prev_sec_pc; /* 0x7A */
591 u_int8_t an_noise_prev_sec_db; /* 0x7B */
592 u_int8_t an_avg_noise_prev_min_pc; /* 0x7C */
593 u_int8_t an_avg_noise_prev_min_db; /* 0x7D */
594 u_int8_t an_max_noise_prev_min_pc; /* 0x7E */
595 u_int8_t an_max_noise_prev_min_db; /* 0x7F */
583 u_int16_t an_spare[5];
596 u_int16_t an_spare[8];
584};
585
586#define AN_STATUS_OPMODE_CONFIGURED 0x0001
587#define AN_STATUS_OPMODE_MAC_ENABLED 0x0002
588#define AN_STATUS_OPMODE_RX_ENABLED 0x0004
589#define AN_STATUS_OPMODE_IN_SYNC 0x0010
590#define AN_STATUS_OPMODE_ASSOCIATED 0x0020
591#define AN_STATUS_OPMODE_LEAP 0x0040

--- 194 unchanged lines hidden ---
597};
598
599#define AN_STATUS_OPMODE_CONFIGURED 0x0001
600#define AN_STATUS_OPMODE_MAC_ENABLED 0x0002
601#define AN_STATUS_OPMODE_RX_ENABLED 0x0004
602#define AN_STATUS_OPMODE_IN_SYNC 0x0010
603#define AN_STATUS_OPMODE_ASSOCIATED 0x0020
604#define AN_STATUS_OPMODE_LEAP 0x0040

--- 194 unchanged lines hidden ---