Deleted Added
full compact
ieee80211.h (282820) ieee80211.h (283566)
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 282820 2015-05-12 16:55:50Z adrian $
26 * $FreeBSD: head/sys/net80211/ieee80211.h 283566 2015-05-26 12:40:27Z glebius $
27 */
28#ifndef _NET80211_IEEE80211_H_
29#define _NET80211_IEEE80211_H_
30
31/*
32 * 802.11 protocol definitions.
33 */
34
35#define IEEE80211_ADDR_LEN 6 /* size of 802.11 address */
36/* is 802.11 address multicast/broadcast? */
37#define IEEE80211_IS_MULTICAST(_a) (*(_a) & 0x01)
38
27 */
28#ifndef _NET80211_IEEE80211_H_
29#define _NET80211_IEEE80211_H_
30
31/*
32 * 802.11 protocol definitions.
33 */
34
35#define IEEE80211_ADDR_LEN 6 /* size of 802.11 address */
36/* is 802.11 address multicast/broadcast? */
37#define IEEE80211_IS_MULTICAST(_a) (*(_a) & 0x01)
38
39#ifdef _KERNEL
40extern const uint8_t ieee80211broadcastaddr[];
41#endif
42
39typedef uint16_t ieee80211_seq;
40
41/* IEEE 802.11 PLCP header */
42struct ieee80211_plcp_hdr {
43 uint16_t i_sfd;
44 uint8_t i_signal;
45 uint8_t i_service;
46 uint16_t i_length;

--- 1077 unchanged lines hidden ---
43typedef uint16_t ieee80211_seq;
44
45/* IEEE 802.11 PLCP header */
46struct ieee80211_plcp_hdr {
47 uint16_t i_sfd;
48 uint8_t i_signal;
49 uint8_t i_service;
50 uint16_t i_length;

--- 1077 unchanged lines hidden ---