ieee80211_var.h (148289) | ieee80211_var.h (148290) |
---|---|
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 148289 2005-07-22 16:37:56Z sam $ | 32 * $FreeBSD: head/sys/net80211/ieee80211_var.h 148290 2005-07-22 16:50:18Z 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 --- 26 unchanged lines hidden (view full) --- 67 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 | 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 --- 26 unchanged lines hidden (view full) --- 67 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 |
75#define IEEE80211_FIXED_RATE_NONE -1 76 |
|
75#define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) 76#define IEEE80211_TU_TO_MS(x) (((x) * 1024) / 1000) 77 78struct ieee80211_aclator; 79struct sysctl_ctx_list; 80 81struct ieee80211com { 82 SLIST_ENTRY(ieee80211com) ic_next; --- 327 unchanged lines hidden --- | 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 --- |