Deleted Added
full compact
ieee80211_var.h (264854) ieee80211_var.h (276757)
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_var.h 264854 2014-04-24 01:28:39Z adrian $
26 * $FreeBSD: head/sys/net80211/ieee80211_var.h 276757 2015-01-06 18:25:10Z adrian $
27 */
28#ifndef _NET80211_IEEE80211_VAR_H_
29#define _NET80211_IEEE80211_VAR_H_
30
31/*
32 * Definitions for IEEE 802.11 drivers.
33 */
34/* NB: portability glue must go first */

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

706struct ieee80211_channel *ieee80211_find_channel(struct ieee80211com *,
707 int freq, int flags);
708struct ieee80211_channel *ieee80211_find_channel_byieee(struct ieee80211com *,
709 int ieee, int flags);
710int ieee80211_setmode(struct ieee80211com *, enum ieee80211_phymode);
711enum ieee80211_phymode ieee80211_chan2mode(const struct ieee80211_channel *);
712uint32_t ieee80211_mac_hash(const struct ieee80211com *,
713 const uint8_t addr[IEEE80211_ADDR_LEN]);
27 */
28#ifndef _NET80211_IEEE80211_VAR_H_
29#define _NET80211_IEEE80211_VAR_H_
30
31/*
32 * Definitions for IEEE 802.11 drivers.
33 */
34/* NB: portability glue must go first */

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

706struct ieee80211_channel *ieee80211_find_channel(struct ieee80211com *,
707 int freq, int flags);
708struct ieee80211_channel *ieee80211_find_channel_byieee(struct ieee80211com *,
709 int ieee, int flags);
710int ieee80211_setmode(struct ieee80211com *, enum ieee80211_phymode);
711enum ieee80211_phymode ieee80211_chan2mode(const struct ieee80211_channel *);
712uint32_t ieee80211_mac_hash(const struct ieee80211com *,
713 const uint8_t addr[IEEE80211_ADDR_LEN]);
714char ieee80211_channel_type_char(const struct ieee80211_channel *c);
714
715void ieee80211_radiotap_attach(struct ieee80211com *,
716 struct ieee80211_radiotap_header *th, int tlen,
717 uint32_t tx_radiotap,
718 struct ieee80211_radiotap_header *rh, int rlen,
719 uint32_t rx_radiotap);
720void ieee80211_radiotap_attachv(struct ieee80211com *,
721 struct ieee80211_radiotap_header *th,

--- 260 unchanged lines hidden ---
715
716void ieee80211_radiotap_attach(struct ieee80211com *,
717 struct ieee80211_radiotap_header *th, int tlen,
718 uint32_t tx_radiotap,
719 struct ieee80211_radiotap_header *rh, int rlen,
720 uint32_t rx_radiotap);
721void ieee80211_radiotap_attachv(struct ieee80211com *,
722 struct ieee80211_radiotap_header *th,

--- 260 unchanged lines hidden ---