ieee80211_var.h (153346) | ieee80211_var.h (153349) |
---|---|
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 153346 2005-12-12 17:54:39Z sam $ | 32 * $FreeBSD: head/sys/net80211/ieee80211_var.h 153349 2005-12-12 18:04:44Z 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 --- 24 unchanged lines hidden (view full) --- 65#define IEEE80211_DTIM_MIN 1 /* min DTIM period */ 66#define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */ 67 68/* NB: min+max come from WiFi requirements */ 69#define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TU's) */ 70#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TU's) */ 71#define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval (TU's) */ 72 | 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 --- 24 unchanged lines hidden (view full) --- 65#define IEEE80211_DTIM_MIN 1 /* min DTIM period */ 66#define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */ 67 68/* NB: min+max come from WiFi requirements */ 69#define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TU's) */ 70#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TU's) */ 71#define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval (TU's) */ 72 |
73#define IEEE80211_BMISS_MAX 2 /* maximum consecutive bmiss allowed */ 74 |
|
73#define IEEE80211_PS_SLEEP 0x1 /* STA is in power saving mode */ 74#define IEEE80211_PS_MAX_QUEUE 50 /* maximum saved packets */ 75 76#define IEEE80211_FIXED_RATE_NONE -1 77#define IEEE80211_MCAST_RATE_DEFAULT (2*1) /* default mcast rate (1M) */ 78 79#define IEEE80211_RTS_DEFAULT IEEE80211_RTS_MAX 80#define IEEE80211_FRAG_DEFAULT IEEE80211_FRAG_MAX --- 56 unchanged lines hidden (view full) --- 137 struct bpf_if *ic_rawbpf; /* packet filter structure */ 138 struct ieee80211_node *ic_bss; /* information for this node */ 139 struct ieee80211_channel *ic_ibss_chan; 140 struct ieee80211_channel *ic_curchan; /* current channel */ 141 int ic_fixed_rate; /* index to ic_sup_rates[] */ 142 int ic_mcast_rate; /* rate for mcast frames */ 143 u_int16_t ic_rtsthreshold; 144 u_int16_t ic_fragthreshold; | 75#define IEEE80211_PS_SLEEP 0x1 /* STA is in power saving mode */ 76#define IEEE80211_PS_MAX_QUEUE 50 /* maximum saved packets */ 77 78#define IEEE80211_FIXED_RATE_NONE -1 79#define IEEE80211_MCAST_RATE_DEFAULT (2*1) /* default mcast rate (1M) */ 80 81#define IEEE80211_RTS_DEFAULT IEEE80211_RTS_MAX 82#define IEEE80211_FRAG_DEFAULT IEEE80211_FRAG_MAX --- 56 unchanged lines hidden (view full) --- 139 struct bpf_if *ic_rawbpf; /* packet filter structure */ 140 struct ieee80211_node *ic_bss; /* information for this node */ 141 struct ieee80211_channel *ic_ibss_chan; 142 struct ieee80211_channel *ic_curchan; /* current channel */ 143 int ic_fixed_rate; /* index to ic_sup_rates[] */ 144 int ic_mcast_rate; /* rate for mcast frames */ 145 u_int16_t ic_rtsthreshold; 146 u_int16_t ic_fragthreshold; |
147 u_int8_t ic_bmiss_count; /* current beacon miss count */ 148 int ic_bmiss_max; /* max bmiss before scan */ |
|
145 struct ieee80211_node *(*ic_node_alloc)(struct ieee80211_node_table*); 146 void (*ic_node_free)(struct ieee80211_node *); 147 void (*ic_node_cleanup)(struct ieee80211_node *); 148 u_int8_t (*ic_node_getrssi)(const struct ieee80211_node*); 149 u_int16_t ic_lintval; /* listen interval */ 150 u_int16_t ic_bintval; /* beacon interval */ 151 u_int16_t ic_holdover; /* PM hold over duration */ 152 u_int16_t ic_txmin; /* min tx retry count */ --- 265 unchanged lines hidden --- | 149 struct ieee80211_node *(*ic_node_alloc)(struct ieee80211_node_table*); 150 void (*ic_node_free)(struct ieee80211_node *); 151 void (*ic_node_cleanup)(struct ieee80211_node *); 152 u_int8_t (*ic_node_getrssi)(const struct ieee80211_node*); 153 u_int16_t ic_lintval; /* listen interval */ 154 u_int16_t ic_bintval; /* beacon interval */ 155 u_int16_t ic_holdover; /* PM hold over duration */ 156 u_int16_t ic_txmin; /* min tx retry count */ --- 265 unchanged lines hidden --- |