ieee80211_var.h (148290) | ieee80211_var.h (148291) |
---|---|
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 148290 2005-07-22 16:50:18Z sam $ | 32 * $FreeBSD: head/sys/net80211/ieee80211_var.h 148291 2005-07-22 16:55:27Z 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 --- 28 unchanged lines hidden (view full) --- 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 75#define IEEE80211_FIXED_RATE_NONE -1 76 | 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 --- 28 unchanged lines hidden (view full) --- 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 75#define IEEE80211_FIXED_RATE_NONE -1 76 |
77#define IEEE80211_RTS_DEFAULT IEEE80211_RTS_MAX 78#define IEEE80211_FRAG_DEFAULT IEEE80211_FRAG_MAX 79 |
|
77#define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) 78#define IEEE80211_TU_TO_MS(x) (((x) * 1024) / 1000) 79 80struct ieee80211_aclator; 81struct sysctl_ctx_list; 82 83struct ieee80211com { 84 SLIST_ENTRY(ieee80211com) ic_next; --- 327 unchanged lines hidden --- | 80#define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) 81#define IEEE80211_TU_TO_MS(x) (((x) * 1024) / 1000) 82 83struct ieee80211_aclator; 84struct sysctl_ctx_list; 85 86struct ieee80211com { 87 SLIST_ENTRY(ieee80211com) ic_next; --- 327 unchanged lines hidden --- |