net80211.h revision 239e91abc172c1397b1e94869c5d0e8ab67bfc22
986N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 986N/A * Use is subject to license terms. 986N/A * Copyright (c) 2001 Atsushi Onoe 986N/A * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 986N/A * Redistribution and use in source and binary forms, with or without 986N/A * modification, are permitted provided that the following conditions 986N/A * 1. Redistributions of source code must retain the above copyright 986N/A * notice, this list of conditions and the following disclaimer. 986N/A * 2. Redistributions in binary form must reproduce the above copyright 986N/A * notice, this list of conditions and the following disclaimer in the 986N/A * documentation and/or other materials provided with the distribution. 986N/A * 3. The name of the author may not be used to endorse or promote products 986N/A * derived from this software without specific prior written permission. 1190N/A * Alternatively, this software may be distributed under the terms of the 1185N/A * GNU General Public License ("GPL") version 2 as published by the Free 986N/A * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 986N/A * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 986N/A * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 986N/A * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 986N/A * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 986N/A * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 986N/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 986N/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 986N/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 986N/A * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1185N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1185N/A * IEEE802.11 kernel support module 1185N/A /* CAPABILITY: ATH Turbo available */ 1185N/A /* CAPABILITY: WPA1+WPA2 avail */ 1185N/A/* NB: bits 0x4c available */ 1185N/A/* NB: this is intentionally setup to be IEEE80211_CAPINFO_PRIVACY */ 986N/A/* NB: this is intentionally setup to be IEEE80211_CAPINFO_SHORT_SLOTTIME */ 1185N/A /* STATUS: use short slot time */ 986N/A /* CONF: bg scan enabled (???) */ 986N/A /* STATUS: use barker preamble */ 1185N/A /* STATUS: enable full bgscan completion */ 1185N/A * Channel attributes (ich_flags) 986N/A * bits 0-3 are for private use by drivers 986N/A/* WME stream classes */ 986N/A /* NB: these are used only for ioctls */ 986N/A /* size of extended supported rates */ 1190N/A * Channels are specified by frequency and attributes. 986N/A /* For node inactivity processing */ 1190N/A * Node specific information. Note that drivers are expected 986N/A * to derive from this structure to add device-specific per-node 986N/A * state. This is done by overriding the ic_node_* methods in 986N/A * the ieee80211com structure. * index 0 is used when QoS is not enabled. index 1-16 is used * when QoS is enabled. 1-16 corresponds to TID 0-15. /* beacon, probe response */ /* Initialized by driver */ * Functions initialized by driver before calling ieee80211_attach() * Those must be initialized are marked with M(andatory) * ic_xmit - [M] transmit a management or null data frame * return 0 on success, non-zero on error * ic_watchdog - [O] periodic run function, enabled by * ieee80211_start_watchdog() * ic_set_tim - [O] set/clear traffic indication map * ic_node_newassoc - [O] driver specific operation on a newly * associated or re-assoced node * Functions initialized by ieee80211_attach(), driver could * override these functions after calling ieee80211_attach() * ic_recv_mgmt - handle received management frames * ic_send_mgmt - construct and transmit management frames * ic_newstate - handle state transition * ic_node_alloc - allocate a new BSS info node * ic_node_cleanup - cleanup or free memory spaces of a node * ic_node_free - free a node * ic_node_getrssi - get node's rssi * Node reference counting definitions. * ieee80211_node_initref initialize the reference count to 1 * ieee80211_node_incref add a reference * ieee80211_node_decref remove a reference * ieee80211_node_decref_nv remove a reference and return new value * ieee80211_node_refcnt reference count for printing (only) /* Protocol Processing */ #
endif /* _SYS_NET80211_H */