ieee80211_ioctl.h (190579) | ieee80211_ioctl.h (193239) |
---|---|
1/*- 2 * Copyright (c) 2001 Atsushi Onoe 3 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2001 Atsushi Onoe 3 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/net80211/ieee80211_ioctl.h 190579 2009-03-30 21:53:27Z sam $ | 26 * $FreeBSD: head/sys/net80211/ieee80211_ioctl.h 193239 2009-06-01 16:36:28Z sam $ |
27 */ 28#ifndef _NET80211_IEEE80211_IOCTL_H_ 29#define _NET80211_IEEE80211_IOCTL_H_ 30 31/* 32 * IEEE 802.11 ioctls. 33 */ 34#include <net80211/_ieee80211.h> --- 24 unchanged lines hidden (view full) --- 59 uint32_t ns_rx_action; /* rx action */ 60 uint32_t ns_rx_decryptcrc; /* rx decrypt failed on crc */ 61 uint32_t ns_rx_unauth; /* rx on unauthorized port */ 62 uint32_t ns_rx_unencrypted; /* rx unecrypted w/ privacy */ 63 uint32_t ns_rx_drop; /* rx discard other reason */ 64 65 uint32_t ns_tx_data; /* tx data frames */ 66 uint32_t ns_tx_mgmt; /* tx management frames */ | 27 */ 28#ifndef _NET80211_IEEE80211_IOCTL_H_ 29#define _NET80211_IEEE80211_IOCTL_H_ 30 31/* 32 * IEEE 802.11 ioctls. 33 */ 34#include <net80211/_ieee80211.h> --- 24 unchanged lines hidden (view full) --- 59 uint32_t ns_rx_action; /* rx action */ 60 uint32_t ns_rx_decryptcrc; /* rx decrypt failed on crc */ 61 uint32_t ns_rx_unauth; /* rx on unauthorized port */ 62 uint32_t ns_rx_unencrypted; /* rx unecrypted w/ privacy */ 63 uint32_t ns_rx_drop; /* rx discard other reason */ 64 65 uint32_t ns_tx_data; /* tx data frames */ 66 uint32_t ns_tx_mgmt; /* tx management frames */ |
67 uint32_t ns_tx_ctrl; /* tx control frames */ |
|
67 uint32_t ns_tx_ucast; /* tx unicast frames */ 68 uint32_t ns_tx_mcast; /* tx multi/broadcast frames */ 69 uint64_t ns_tx_bytes; /* tx data count (bytes) */ 70 uint32_t ns_tx_probereq; /* tx probe request frames */ 71 72 uint32_t ns_tx_novlantag; /* tx discard 'cuz no tag */ 73 uint32_t ns_tx_vlanmismatch; /* tx discard 'cuz bad tag */ 74 75 uint32_t ns_ps_discard; /* ps discard 'cuz of age */ 76 77 /* MIB-related state */ 78 uint32_t ns_tx_assoc; /* [re]associations */ 79 uint32_t ns_tx_assoc_fail; /* [re]association failures */ 80 uint32_t ns_tx_auth; /* [re]authentications */ 81 uint32_t ns_tx_auth_fail; /* [re]authentication failures*/ 82 uint32_t ns_tx_deauth; /* deauthentications */ 83 uint32_t ns_tx_deauth_code; /* last deauth reason */ 84 uint32_t ns_tx_disassoc; /* disassociations */ 85 uint32_t ns_tx_disassoc_code; /* last disassociation reason */ | 68 uint32_t ns_tx_ucast; /* tx unicast frames */ 69 uint32_t ns_tx_mcast; /* tx multi/broadcast frames */ 70 uint64_t ns_tx_bytes; /* tx data count (bytes) */ 71 uint32_t ns_tx_probereq; /* tx probe request frames */ 72 73 uint32_t ns_tx_novlantag; /* tx discard 'cuz no tag */ 74 uint32_t ns_tx_vlanmismatch; /* tx discard 'cuz bad tag */ 75 76 uint32_t ns_ps_discard; /* ps discard 'cuz of age */ 77 78 /* MIB-related state */ 79 uint32_t ns_tx_assoc; /* [re]associations */ 80 uint32_t ns_tx_assoc_fail; /* [re]association failures */ 81 uint32_t ns_tx_auth; /* [re]authentications */ 82 uint32_t ns_tx_auth_fail; /* [re]authentication failures*/ 83 uint32_t ns_tx_deauth; /* deauthentications */ 84 uint32_t ns_tx_deauth_code; /* last deauth reason */ 85 uint32_t ns_tx_disassoc; /* disassociations */ 86 uint32_t ns_tx_disassoc_code; /* last disassociation reason */ |
87 uint32_t ns_spare[8]; |
|
86}; 87 88/* 89 * Summary statistics. 90 */ 91struct ieee80211_stats { 92 uint32_t is_rx_badversion; /* rx frame with bad version */ 93 uint32_t is_rx_tooshort; /* rx frame too short */ 94 uint32_t is_rx_wrongbss; /* rx from wrong bssid */ 95 uint32_t is_rx_dup; /* rx discard 'cuz dup */ 96 uint32_t is_rx_wrongdir; /* rx w/ wrong direction */ 97 uint32_t is_rx_mcastecho; /* rx discard 'cuz mcast echo */ 98 uint32_t is_rx_notassoc; /* rx discard 'cuz sta !assoc */ 99 uint32_t is_rx_noprivacy; /* rx w/ wep but privacy off */ 100 uint32_t is_rx_unencrypted; /* rx w/o wep and privacy on */ 101 uint32_t is_rx_wepfail; /* rx wep processing failed */ 102 uint32_t is_rx_decap; /* rx decapsulation failed */ 103 uint32_t is_rx_mgtdiscard; /* rx discard mgt frames */ | 88}; 89 90/* 91 * Summary statistics. 92 */ 93struct ieee80211_stats { 94 uint32_t is_rx_badversion; /* rx frame with bad version */ 95 uint32_t is_rx_tooshort; /* rx frame too short */ 96 uint32_t is_rx_wrongbss; /* rx from wrong bssid */ 97 uint32_t is_rx_dup; /* rx discard 'cuz dup */ 98 uint32_t is_rx_wrongdir; /* rx w/ wrong direction */ 99 uint32_t is_rx_mcastecho; /* rx discard 'cuz mcast echo */ 100 uint32_t is_rx_notassoc; /* rx discard 'cuz sta !assoc */ 101 uint32_t is_rx_noprivacy; /* rx w/ wep but privacy off */ 102 uint32_t is_rx_unencrypted; /* rx w/o wep and privacy on */ 103 uint32_t is_rx_wepfail; /* rx wep processing failed */ 104 uint32_t is_rx_decap; /* rx decapsulation failed */ 105 uint32_t is_rx_mgtdiscard; /* rx discard mgt frames */ |
104 uint32_t is_rx_ctl; /* rx discard ctrl frames */ | 106 uint32_t is_rx_ctl; /* rx ctrl frames */ |
105 uint32_t is_rx_beacon; /* rx beacon frames */ 106 uint32_t is_rx_rstoobig; /* rx rate set truncated */ 107 uint32_t is_rx_elem_missing; /* rx required element missing*/ 108 uint32_t is_rx_elem_toobig; /* rx element too big */ 109 uint32_t is_rx_elem_toosmall; /* rx element too small */ 110 uint32_t is_rx_elem_unknown; /* rx element unknown */ 111 uint32_t is_rx_badchan; /* rx frame w/ invalid chan */ 112 uint32_t is_rx_chanmismatch; /* rx frame chan mismatch */ --- 100 unchanged lines hidden (view full) --- 213 uint32_t is_ampdu_rx_reorder; /* A-MPDU held for rx reorder */ 214 uint32_t is_scan_bg; /* background scans started */ 215 uint8_t is_rx_deauth_code; /* last rx'd deauth reason */ 216 uint8_t is_rx_disassoc_code; /* last rx'd disassoc reason */ 217 uint8_t is_rx_authfail_code; /* last rx'd auth fail reason */ 218 uint32_t is_beacon_miss; /* beacon miss notification */ 219 uint32_t is_rx_badstate; /* rx discard state != RUN */ 220 uint32_t is_ff_flush; /* ff's flush'd from stageq */ | 107 uint32_t is_rx_beacon; /* rx beacon frames */ 108 uint32_t is_rx_rstoobig; /* rx rate set truncated */ 109 uint32_t is_rx_elem_missing; /* rx required element missing*/ 110 uint32_t is_rx_elem_toobig; /* rx element too big */ 111 uint32_t is_rx_elem_toosmall; /* rx element too small */ 112 uint32_t is_rx_elem_unknown; /* rx element unknown */ 113 uint32_t is_rx_badchan; /* rx frame w/ invalid chan */ 114 uint32_t is_rx_chanmismatch; /* rx frame chan mismatch */ --- 100 unchanged lines hidden (view full) --- 215 uint32_t is_ampdu_rx_reorder; /* A-MPDU held for rx reorder */ 216 uint32_t is_scan_bg; /* background scans started */ 217 uint8_t is_rx_deauth_code; /* last rx'd deauth reason */ 218 uint8_t is_rx_disassoc_code; /* last rx'd disassoc reason */ 219 uint8_t is_rx_authfail_code; /* last rx'd auth fail reason */ 220 uint32_t is_beacon_miss; /* beacon miss notification */ 221 uint32_t is_rx_badstate; /* rx discard state != RUN */ 222 uint32_t is_ff_flush; /* ff's flush'd from stageq */ |
221 uint32_t is_spare[11]; | 223 uint32_t is_tx_ctl; /* tx ctrl frames */ 224 uint32_t is_ampdu_rexmt; /* A-MPDU frames rexmt ok */ 225 uint32_t is_ampdu_rexmt_fail; /* A-MPDU frames rexmt fail */ 226 uint32_t is_spare[16]; |
222}; 223 224/* 225 * Max size of optional information elements. We artificially 226 * constrain this; it's limited only by the max frame size (and 227 * the max parameter size of the wireless extensions). 228 */ 229#define IEEE80211_MAX_OPT_IE 256 --- 537 unchanged lines hidden --- | 227}; 228 229/* 230 * Max size of optional information elements. We artificially 231 * constrain this; it's limited only by the max frame size (and 232 * the max parameter size of the wireless extensions). 233 */ 234#define IEEE80211_MAX_OPT_IE 256 --- 537 unchanged lines hidden --- |