Deleted Added
full compact
ieee80211_var.h (116904) ieee80211_var.h (117811)
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002, 2003 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, 2003 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_var.h 116904 2003-06-27 05:13:52Z sam $
32 * $FreeBSD: head/sys/net80211/ieee80211_var.h 117811 2003-07-20 21:36:08Z sam $
33 */
34#ifndef _NET80211_IEEE80211_VAR_H_
35#define _NET80211_IEEE80211_VAR_H_
36
37/*
38 * Definitions for IEEE 802.11 drivers.
39 */
40

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

132#define IEEE80211_FH_CHANPAT(chan) ((chan)%IEEE80211_FH_CHANMOD)
133
134struct ieee80211com {
135 struct arpcom ic_ac;
136 void (*ic_recv_mgmt)(struct ieee80211com *,
137 struct mbuf *, int, int, u_int32_t, u_int);
138 int (*ic_send_mgmt)(struct ieee80211com *,
139 struct ieee80211_node *, int, int);
33 */
34#ifndef _NET80211_IEEE80211_VAR_H_
35#define _NET80211_IEEE80211_VAR_H_
36
37/*
38 * Definitions for IEEE 802.11 drivers.
39 */
40

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

132#define IEEE80211_FH_CHANPAT(chan) ((chan)%IEEE80211_FH_CHANMOD)
133
134struct ieee80211com {
135 struct arpcom ic_ac;
136 void (*ic_recv_mgmt)(struct ieee80211com *,
137 struct mbuf *, int, int, u_int32_t, u_int);
138 int (*ic_send_mgmt)(struct ieee80211com *,
139 struct ieee80211_node *, int, int);
140 int (*ic_newstate)(void *, enum ieee80211_state);
140 int (*ic_newstate)(struct ieee80211com *,
141 enum ieee80211_state, int);
141 void (*ic_newassoc)(struct ieee80211com *,
142 struct ieee80211_node *, int);
143 u_int8_t ic_myaddr[IEEE80211_ADDR_LEN];
144 struct ieee80211_rateset ic_sup_rates[IEEE80211_MODE_MAX];
145 struct ieee80211_channel ic_channels[IEEE80211_CHAN_MAX+1];
146 u_char ic_chan_avail[roundup(IEEE80211_CHAN_MAX,NBBY)];
147 u_char ic_chan_active[roundup(IEEE80211_CHAN_MAX, NBBY)];
148 u_char ic_chan_scan[roundup(IEEE80211_CHAN_MAX,NBBY)];

--- 113 unchanged lines hidden ---
142 void (*ic_newassoc)(struct ieee80211com *,
143 struct ieee80211_node *, int);
144 u_int8_t ic_myaddr[IEEE80211_ADDR_LEN];
145 struct ieee80211_rateset ic_sup_rates[IEEE80211_MODE_MAX];
146 struct ieee80211_channel ic_channels[IEEE80211_CHAN_MAX+1];
147 u_char ic_chan_avail[roundup(IEEE80211_CHAN_MAX,NBBY)];
148 u_char ic_chan_active[roundup(IEEE80211_CHAN_MAX, NBBY)];
149 u_char ic_chan_scan[roundup(IEEE80211_CHAN_MAX,NBBY)];

--- 113 unchanged lines hidden ---