Deleted Added
full compact
ieee80211.h (147221) ieee80211.h (148291)
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 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:

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

24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 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:

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

24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/net80211/ieee80211.h 147221 2005-06-10 04:42:34Z sam $
32 * $FreeBSD: head/sys/net80211/ieee80211.h 148291 2005-07-22 16:55:27Z sam $
33 */
34#ifndef _NET80211_IEEE80211_H_
35#define _NET80211_IEEE80211_H_
36
37/*
38 * 802.11 protocol definitions.
39 */
40

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

617 */
618#define IEEE80211_AID_MAX 2007
619#define IEEE80211_AID_DEF 128
620
621#define IEEE80211_AID(b) ((b) &~ 0xc000)
622
623/*
624 * RTS frame length parameters. The default is specified in
33 */
34#ifndef _NET80211_IEEE80211_H_
35#define _NET80211_IEEE80211_H_
36
37/*
38 * 802.11 protocol definitions.
39 */
40

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

617 */
618#define IEEE80211_AID_MAX 2007
619#define IEEE80211_AID_DEF 128
620
621#define IEEE80211_AID(b) ((b) &~ 0xc000)
622
623/*
624 * RTS frame length parameters. The default is specified in
625 * the 802.11 spec. The max may be wrong for jumbo frames.
625 * the 802.11 spec as 512; we treat it as implementation-dependent
626 * so it's defined in ieee80211_var.h. The max may be wrong
627 * for jumbo frames.
626 */
628 */
627#define IEEE80211_RTS_DEFAULT 512
628#define IEEE80211_RTS_MIN 1
629#define IEEE80211_RTS_MIN 1
629#define IEEE80211_RTS_MAX IEEE80211_MAX_LEN
630#define IEEE80211_RTS_MAX 2346
630
631
632/*
633 * TX fragmentation parameters. As above for RTS, we treat
634 * default as implementation-dependent so define it elsewhere.
635 */
636#define IEEE80211_FRAG_MIN 256
637#define IEEE80211_FRAG_MAX 2346
638
631#endif /* _NET80211_IEEE80211_H_ */
639#endif /* _NET80211_IEEE80211_H_ */