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_var.h 160685 2006-07-26 03:05:34Z 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#define IEEE80211_DEBUG
--- 57 unchanged lines hidden (view full) ---
98 int, int, u_int32_t);
99 int (*ic_send_mgmt)(struct ieee80211com *,
100 struct ieee80211_node *, int, int);
101 int (*ic_newstate)(struct ieee80211com *,
102 enum ieee80211_state, int);
103 void (*ic_newassoc)(struct ieee80211_node *, int);
104 void (*ic_updateslot)(struct ifnet *);
105 void (*ic_set_tim)(struct ieee80211_node *, int);
106 u_int8_t ic_myaddr[IEEE80211_ADDR_LEN];
107 struct ieee80211_rateset ic_sup_rates[IEEE80211_MODE_MAX];
108 struct ieee80211_channel ic_channels[IEEE80211_CHAN_MAX+1];
109 u_int8_t ic_chan_avail[IEEE80211_CHAN_BYTES];
110 u_int8_t ic_chan_active[IEEE80211_CHAN_BYTES];
111 u_int8_t ic_chan_scan[IEEE80211_CHAN_BYTES];
112 struct ieee80211_node_table ic_scan; /* scan candidates */
113 struct ifqueue ic_mgtq;
--- 311 unchanged lines hidden ---
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_var.h 160685 2006-07-26 03:05:34Z 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#define IEEE80211_DEBUG
--- 57 unchanged lines hidden (view full) ---
98 int, int, u_int32_t);
99 int (*ic_send_mgmt)(struct ieee80211com *,
100 struct ieee80211_node *, int, int);
101 int (*ic_newstate)(struct ieee80211com *,
102 enum ieee80211_state, int);
103 void (*ic_newassoc)(struct ieee80211_node *, int);
104 void (*ic_updateslot)(struct ifnet *);
105 void (*ic_set_tim)(struct ieee80211_node *, int);
106 u_int8_t ic_myaddr[IEEE80211_ADDR_LEN];
107 struct ieee80211_rateset ic_sup_rates[IEEE80211_MODE_MAX];
108 struct ieee80211_channel ic_channels[IEEE80211_CHAN_MAX+1];
109 u_int8_t ic_chan_avail[IEEE80211_CHAN_BYTES];
110 u_int8_t ic_chan_active[IEEE80211_CHAN_BYTES];
111 u_int8_t ic_chan_scan[IEEE80211_CHAN_BYTES];
112 struct ieee80211_node_table ic_scan; /* scan candidates */
113 struct ifqueue ic_mgtq;
--- 311 unchanged lines hidden ---