Deleted Added
full compact
ieee80211.h (232479) ieee80211.h (232480)
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 232479 2012-03-04 05:49:39Z adrian $
26 * $FreeBSD: head/sys/net80211/ieee80211.h 232480 2012-03-04 05:52:26Z adrian $
27 */
28#ifndef _NET80211_IEEE80211_H_
29#define _NET80211_IEEE80211_H_
30
31/*
32 * 802.11 protocol definitions.
33 */
34

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

194#define IEEE80211_QOS_AMSDU_S 7
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
27 */
28#ifndef _NET80211_IEEE80211_H_
29#define _NET80211_IEEE80211_H_
30
31/*
32 * 802.11 protocol definitions.
33 */
34

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

194#define IEEE80211_QOS_AMSDU_S 7
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 */
204/* Mesh power save level*/
205#define IEEE80211_QOS_MESH_PSL 0x20
206/* Mesh Receiver Service Period Initiated */
207#define IEEE80211_QOS_RSPI 0x40
208/* bits 11 to 15 reserved */
202
203/* does frame have QoS sequence control data */
204#define IEEE80211_QOS_HAS_SEQ(wh) \
205 (((wh)->i_fc[0] & \
206 (IEEE80211_FC0_TYPE_MASK | IEEE80211_FC0_SUBTYPE_QOS)) == \
207 (IEEE80211_FC0_TYPE_DATA | IEEE80211_FC0_SUBTYPE_QOS))
208
209/*

--- 899 unchanged lines hidden ---
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
216/*

--- 899 unchanged lines hidden ---