Deleted Added
full compact
ieee80211_var.h (140753) ieee80211_var.h (140754)
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 *
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 140753 2005-01-24 19:32:10Z sam $
32 * $FreeBSD: head/sys/net80211/ieee80211_var.h 140754 2005-01-24 19:39:07Z 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

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

60
61#define IEEE80211_TXPOWER_MAX 100 /* .5 dbM (XXX units?) */
62#define IEEE80211_TXPOWER_MIN 0 /* kill radio */
63
64#define IEEE80211_DTIM_MAX 15 /* max DTIM period */
65#define IEEE80211_DTIM_MIN 1 /* min DTIM period */
66#define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */
67
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

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

60
61#define IEEE80211_TXPOWER_MAX 100 /* .5 dbM (XXX units?) */
62#define IEEE80211_TXPOWER_MIN 0 /* kill radio */
63
64#define IEEE80211_DTIM_MAX 15 /* max DTIM period */
65#define IEEE80211_DTIM_MIN 1 /* min DTIM period */
66#define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */
67
68#define IEEE80211_BINTVAL_MAX 500 /* max beacon interval (ms) */
69#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval */
70#define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval */
68#define IEEE80211_BINTVAL_MAX 500 /* max beacon interval (TU's) */
69#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TU's) */
70#define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval (TU's) */
71
72#define IEEE80211_PS_SLEEP 0x1 /* STA is in power saving mode */
73#define IEEE80211_PS_MAX_QUEUE 50 /* maximum saved packets */
74
71
72#define IEEE80211_PS_SLEEP 0x1 /* STA is in power saving mode */
73#define IEEE80211_PS_MAX_QUEUE 50 /* maximum saved packets */
74
75#define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024)
76#define IEEE80211_TU_TO_MS(x) (((x) * 1024) / 1000)
77
75struct ieee80211_aclator;
76struct sysctl_ctx_list;
77
78struct ieee80211com {
79 SLIST_ENTRY(ieee80211com) ic_next;
80 struct ifnet *ic_ifp; /* associated device */
81 struct ieee80211_stats ic_stats; /* statistics */
82 struct sysctl_ctx_list *ic_sysctl; /* dynamic sysctl context */

--- 280 unchanged lines hidden ---
78struct ieee80211_aclator;
79struct sysctl_ctx_list;
80
81struct ieee80211com {
82 SLIST_ENTRY(ieee80211com) ic_next;
83 struct ifnet *ic_ifp; /* associated device */
84 struct ieee80211_stats ic_stats; /* statistics */
85 struct sysctl_ctx_list *ic_sysctl; /* dynamic sysctl context */

--- 280 unchanged lines hidden ---