Deleted Added
full compact
ieee80211_proto.h (249925) ieee80211_proto.h (253639)
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_proto.h 249925 2013-04-26 12:50:32Z glebius $
26 * $FreeBSD: head/sys/net80211/ieee80211_proto.h 253639 2013-07-25 06:23:26Z rpaulo $
27 */
28#ifndef _NET80211_IEEE80211_PROTO_H_
29#define _NET80211_IEEE80211_PROTO_H_
30
31/*
32 * 802.11 protocol implementation definitions.
33 */
34

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

131struct mbuf *ieee80211_alloc_rts(struct ieee80211com *ic,
132 const uint8_t [IEEE80211_ADDR_LEN],
133 const uint8_t [IEEE80211_ADDR_LEN], uint16_t);
134struct mbuf *ieee80211_alloc_cts(struct ieee80211com *,
135 const uint8_t [IEEE80211_ADDR_LEN], uint16_t);
136
137uint8_t *ieee80211_add_rates(uint8_t *, const struct ieee80211_rateset *);
138uint8_t *ieee80211_add_xrates(uint8_t *, const struct ieee80211_rateset *);
27 */
28#ifndef _NET80211_IEEE80211_PROTO_H_
29#define _NET80211_IEEE80211_PROTO_H_
30
31/*
32 * 802.11 protocol implementation definitions.
33 */
34

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

131struct mbuf *ieee80211_alloc_rts(struct ieee80211com *ic,
132 const uint8_t [IEEE80211_ADDR_LEN],
133 const uint8_t [IEEE80211_ADDR_LEN], uint16_t);
134struct mbuf *ieee80211_alloc_cts(struct ieee80211com *,
135 const uint8_t [IEEE80211_ADDR_LEN], uint16_t);
136
137uint8_t *ieee80211_add_rates(uint8_t *, const struct ieee80211_rateset *);
138uint8_t *ieee80211_add_xrates(uint8_t *, const struct ieee80211_rateset *);
139uint8_t *ieee80211_add_wpa(uint8_t *, const struct ieee80211vap *);
140uint8_t *ieee80211_add_rsn(uint8_t *, const struct ieee80211vap *);
141uint8_t *ieee80211_add_qos(uint8_t *, const struct ieee80211_node *);
139uint16_t ieee80211_getcapinfo(struct ieee80211vap *,
140 struct ieee80211_channel *);
141
142void ieee80211_reset_erp(struct ieee80211com *);
143void ieee80211_set_shortslottime(struct ieee80211com *, int onoff);
144int ieee80211_iserp_rateset(const struct ieee80211_rateset *);
145void ieee80211_setbasicrates(struct ieee80211_rateset *,
146 enum ieee80211_phymode);

--- 271 unchanged lines hidden ---
142uint16_t ieee80211_getcapinfo(struct ieee80211vap *,
143 struct ieee80211_channel *);
144
145void ieee80211_reset_erp(struct ieee80211com *);
146void ieee80211_set_shortslottime(struct ieee80211com *, int onoff);
147int ieee80211_iserp_rateset(const struct ieee80211_rateset *);
148void ieee80211_setbasicrates(struct ieee80211_rateset *,
149 enum ieee80211_phymode);

--- 271 unchanged lines hidden ---