ieee80211.h (239142) | ieee80211.h (246807) |
---|---|
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.h 239142 2012-08-08 17:16:06Z adrian $ | 26 * $FreeBSD: head/sys/net80211/ieee80211.h 246807 2013-02-14 20:00:38Z monthadar $ |
27 */ 28#ifndef _NET80211_IEEE80211_H_ 29#define _NET80211_IEEE80211_H_ 30 31/* 32 * 802.11 protocol definitions. 33 */ 34 --- 160 unchanged lines hidden (view full) --- 195#define IEEE80211_QOS_ACKPOLICY 0x60 196#define IEEE80211_QOS_ACKPOLICY_S 5 197#define IEEE80211_QOS_ACKPOLICY_NOACK 0x20 /* No ACK required */ 198#define IEEE80211_QOS_ACKPOLICY_BA 0x60 /* Block ACK */ 199#define IEEE80211_QOS_EOSP 0x10 /* EndOfService Period*/ 200#define IEEE80211_QOS_EOSP_S 4 201#define IEEE80211_QOS_TID 0x0f 202/* qos[1] byte used for all frames sent by mesh STAs in a mesh BSS */ | 27 */ 28#ifndef _NET80211_IEEE80211_H_ 29#define _NET80211_IEEE80211_H_ 30 31/* 32 * 802.11 protocol definitions. 33 */ 34 --- 160 unchanged lines hidden (view full) --- 195#define IEEE80211_QOS_ACKPOLICY 0x60 196#define IEEE80211_QOS_ACKPOLICY_S 5 197#define IEEE80211_QOS_ACKPOLICY_NOACK 0x20 /* No ACK required */ 198#define IEEE80211_QOS_ACKPOLICY_BA 0x60 /* Block ACK */ 199#define IEEE80211_QOS_EOSP 0x10 /* EndOfService Period*/ 200#define IEEE80211_QOS_EOSP_S 4 201#define IEEE80211_QOS_TID 0x0f 202/* qos[1] byte used for all frames sent by mesh STAs in a mesh BSS */ |
203#define IEEE80211_QOS_MC 0x10 /* Mesh control */ | 203#define IEEE80211_QOS_MC 0x01 /* Mesh control */ |
204/* Mesh power save level*/ | 204/* Mesh power save level*/ |
205#define IEEE80211_QOS_MESH_PSL 0x20 | 205#define IEEE80211_QOS_MESH_PSL 0x02 |
206/* Mesh Receiver Service Period Initiated */ | 206/* Mesh Receiver Service Period Initiated */ |
207#define IEEE80211_QOS_RSPI 0x40 | 207#define IEEE80211_QOS_RSPI 0x04 |
208/* bits 11 to 15 reserved */ 209 210/* does frame have QoS sequence control data */ 211#define IEEE80211_QOS_HAS_SEQ(wh) \ 212 (((wh)->i_fc[0] & \ 213 (IEEE80211_FC0_TYPE_MASK | IEEE80211_FC0_SUBTYPE_QOS)) == \ 214 (IEEE80211_FC0_TYPE_DATA | IEEE80211_FC0_SUBTYPE_QOS)) 215 --- 902 unchanged lines hidden --- | 208/* bits 11 to 15 reserved */ 209 210/* does frame have QoS sequence control data */ 211#define IEEE80211_QOS_HAS_SEQ(wh) \ 212 (((wh)->i_fc[0] & \ 213 (IEEE80211_FC0_TYPE_MASK | IEEE80211_FC0_SUBTYPE_QOS)) == \ 214 (IEEE80211_FC0_TYPE_DATA | IEEE80211_FC0_SUBTYPE_QOS)) 215 --- 902 unchanged lines hidden --- |