ieee80211_var.h (148288) | ieee80211_var.h (148289) |
---|---|
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 148288 2005-07-22 16:36:12Z sam $ | 32 * $FreeBSD: head/sys/net80211/ieee80211_var.h 148289 2005-07-22 16:37:56Z 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 --- 152 unchanged lines hidden (view full) --- 193 void *ic_as; 194}; 195 196#define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0) 197#define IEEE80211_ADDR_COPY(dst,src) memcpy(dst,src,IEEE80211_ADDR_LEN) 198 199/* ic_flags */ 200/* NB: bits 0x4c available */ | 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 --- 152 unchanged lines hidden (view full) --- 193 void *ic_as; 194}; 195 196#define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0) 197#define IEEE80211_ADDR_COPY(dst,src) memcpy(dst,src,IEEE80211_ADDR_LEN) 198 199/* ic_flags */ 200/* NB: bits 0x4c available */ |
201#define IEEE80211_F_FF 0x00000001 /* CONF: ATH FF enabled */ 202#define IEEE80211_F_TURBOP 0x00000002 /* CONF: ATH Turbo enabled*/ |
|
201/* NB: this is intentionally setup to be IEEE80211_CAPINFO_PRIVACY */ 202#define IEEE80211_F_PRIVACY 0x00000010 /* CONF: privacy enabled */ 203#define IEEE80211_F_PUREG 0x00000020 /* CONF: 11g w/o 11b sta's */ 204#define IEEE80211_F_SCAN 0x00000080 /* STATUS: scanning */ 205#define IEEE80211_F_ASCAN 0x00000100 /* STATUS: active scan */ 206#define IEEE80211_F_SIBSS 0x00000200 /* STATUS: start IBSS */ 207/* NB: this is intentionally setup to be IEEE80211_CAPINFO_SHORT_SLOTTIME */ 208#define IEEE80211_F_SHSLOT 0x00000400 /* STATUS: use short slot time*/ --- 199 unchanged lines hidden --- | 203/* NB: this is intentionally setup to be IEEE80211_CAPINFO_PRIVACY */ 204#define IEEE80211_F_PRIVACY 0x00000010 /* CONF: privacy enabled */ 205#define IEEE80211_F_PUREG 0x00000020 /* CONF: 11g w/o 11b sta's */ 206#define IEEE80211_F_SCAN 0x00000080 /* STATUS: scanning */ 207#define IEEE80211_F_ASCAN 0x00000100 /* STATUS: active scan */ 208#define IEEE80211_F_SIBSS 0x00000200 /* STATUS: start IBSS */ 209/* NB: this is intentionally setup to be IEEE80211_CAPINFO_SHORT_SLOTTIME */ 210#define IEEE80211_F_SHSLOT 0x00000400 /* STATUS: use short slot time*/ --- 199 unchanged lines hidden --- |