Deleted Added
full compact
ieee80211_freebsd.h (195379) ieee80211_freebsd.h (195618)
1/*-
2 * Copyright (c) 2003-2008 Sam Leffler, Errno Consulting
3 * 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

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

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
1/*-
2 * Copyright (c) 2003-2008 Sam Leffler, Errno Consulting
3 * 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

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

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD: head/sys/net80211/ieee80211_freebsd.h 195379 2009-07-05 18:17:37Z sam $
25 * $FreeBSD: head/sys/net80211/ieee80211_freebsd.h 195618 2009-07-11 15:02:45Z rpaulo $
26 */
27#ifndef _NET80211_IEEE80211_FREEBSD_H_
28#define _NET80211_IEEE80211_FREEBSD_H_
29
30#ifdef _KERNEL
31#include <sys/param.h>
32#include <sys/lock.h>
33#include <sys/mutex.h>

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

204
205/* rx path usage */
206#define M_AMPDU M_PROTO1 /* A-MPDU subframe */
207#define M_WEP M_PROTO2 /* WEP done by hardware */
208#if 0
209#define M_AMPDU_MPDU M_PROTO8 /* A-MPDU re-order done */
210#endif
211#define M_80211_RX (M_AMPDU|M_WEP|M_AMPDU_MPDU)
26 */
27#ifndef _NET80211_IEEE80211_FREEBSD_H_
28#define _NET80211_IEEE80211_FREEBSD_H_
29
30#ifdef _KERNEL
31#include <sys/param.h>
32#include <sys/lock.h>
33#include <sys/mutex.h>

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

204
205/* rx path usage */
206#define M_AMPDU M_PROTO1 /* A-MPDU subframe */
207#define M_WEP M_PROTO2 /* WEP done by hardware */
208#if 0
209#define M_AMPDU_MPDU M_PROTO8 /* A-MPDU re-order done */
210#endif
211#define M_80211_RX (M_AMPDU|M_WEP|M_AMPDU_MPDU)
212
213#define IEEE80211_MBUF_TX_FLAG_BITS \
214 "\20\1M_EXT\2M_PKTHDR\3M_EOR\4M_RDONLY\5M_ENCAP\6M_WEP\7M_EAPOL" \
215 "\10M_PWR_SAV\11M_MORE_DATA\12M_BCAST\13M_MCAST\14M_FRAG\15M_FIRSTFRAG" \
216 "\16M_LASTFRAG\17M_SKIP_FIREWALL\20M_FREELIST\21M_VLANTAG\22M_PROMISC" \
217 "\23M_NOFREE\24M_FF\25M_TXCB\26M_AMPDU_MPDU\27M_FLOWID"
218
219#define IEEE80211_MBUF_RX_FLAG_BITS \
220 "\20\1M_EXT\2M_PKTHDR\3M_EOR\4M_RDONLY\5M_AMPDU\6M_WEP\7M_PROTO3" \
221 "\10M_PROTO4\11M_PROTO5\12M_BCAST\13M_MCAST\14M_FRAG\15M_FIRSTFRAG" \
222 "\16M_LASTFRAG\17M_SKIP_FIREWALL\20M_FREELIST\21M_VLANTAG\22M_PROMISC" \
223 "\23M_NOFREE\24M_PROTO6\25M_PROTO7\26M_AMPDU_MPDU\27M_FLOWID"
224
212/*
213 * Store WME access control bits in the vlan tag.
214 * This is safe since it's done after the packet is classified
215 * (where we use any previous tag) and because it's passed
216 * directly in to the driver and there's no chance someone
217 * else will clobber them on us.
218 */
219#define M_WME_SETAC(m, ac) \

--- 303 unchanged lines hidden ---
225/*
226 * Store WME access control bits in the vlan tag.
227 * This is safe since it's done after the packet is classified
228 * (where we use any previous tag) and because it's passed
229 * directly in to the driver and there's no chance someone
230 * else will clobber them on us.
231 */
232#define M_WME_SETAC(m, ac) \

--- 303 unchanged lines hidden ---