]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/wlan.4
This commit was generated by cvs2svn to compensate for changes in r147341,
[FreeBSD/FreeBSD.git] / share / man / man4 / wlan.4
1 .\"
2 .\" Copyright (c) 2003 Tom Rhodes
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 .\" SUCH DAMAGE.
25 .\"
26 .\" $FreeBSD$
27 .\"
28 .Dd December 7, 2004
29 .Dt WLAN 4
30 .Os
31 .Sh NAME
32 .Nm wlan
33 .Nd generic 802.11 link-layer support
34 .Sh SYNOPSIS
35 .Cd "device wlan"
36 .Sh DESCRIPTION
37 The
38 .Nm
39 module provides generic code to support 802.11 drivers.
40 Where a device does not directly support 802.11 functionality
41 this layer fills in.
42 The
43 .Nm
44 is required for the
45 .Xr wi 4 ,
46 .Xr an 4
47 and
48 .Xr ath 4
49 drivers, with other drivers to follow.
50 .Pp
51 The
52 .Nm
53 module supports multi-mode devices capable of
54 operating in both 2.4GHz and 5GHz bands and supports numerous
55 802.11 protocols: 802.11a, 802.11b, and 802.11g.
56 The WPA, 802.11i, and 802.1x security protocols are supported
57 through a combination of in-kernel code and user-mode applications.
58 The WME and WMM multi-media protocols are supported entirely within
59 the
60 .Nm
61 module but require a suitably capable hardware device.
62 .Pp
63 The
64 .Nm
65 module defines several mechanisms by which plugin modules may
66 be used to extend functionality.
67 Cryptographic support such as WEP, TKIP, and AES-CCMP are implemented
68 as modules that are loaded on demand (if not statically configured
69 into a system).
70 Similarly there is an authenticator framework for defining 802.11
71 authentication services and a framework for integrating access
72 control mechanisms specific to the 802.11 protocol.
73 .Sh DEBUGGING
74 If the associated interface is marked for debugging with, for example,
75 .Pp
76 .Dl "ifconfig wi0 debug"
77 .Pp
78 then messages describing the operation of the 802.11 protocol will
79 be sent to the console.
80 Complete debugging controls are available using:
81 .Pp
82 .Dl "sysctl net.wlan.X.debug=mask"
83 .Pp
84 where
85 .Ar X
86 is the number of the
87 .Nm
88 instance and mask is a bit-or of control bits that determine which
89 debugging messages to enable.
90 For example,
91 .Pp
92 .Dl "sysctl net.wlan.0.debug=0x00200000"
93 .Pp
94 enables debugging messages related to scanning for an access point,
95 adhoc neighbor, or an unoccupied channel when operation as an access point.
96 The
97 .Xr 80211debug
98 tool provides a more user-friendly mechanism for doing the same thing.
99 .Pp
100 Many drivers will also display the contents of each 802.11 frame
101 sent and received when the interface is marked with
102 both debugging and
103 .Cm link2 ;
104 e.g.,
105 .Pp
106 .Dl "ifconfig wi0 debug link2"
107 .Pp
108 Beware however that some management frames may be processed entirely within
109 the device and not be received by the host.
110 .Sh COMPATIBILITY
111 The module name of
112 .Nm
113 was used to be compatible with
114 .Nx .
115 .Sh SEE ALSO
116 .Xr an 4 ,
117 .Xr ath 4 ,
118 .Xr awi 4 ,
119 .Xr netintro 4 ,
120 .Xr wi 4 ,
121 .Xr wlan_acl 4 ,
122 .Xr wlan_ccmp 4 ,
123 .Xr wlan_tkip 4 ,
124 .Xr wlan_wep 4 ,
125 .Xr wlan_xauth 4
126 .Sh STANDARDS
127 More information can be found in the IEEE 802.11 Standard.
128 .Sh HISTORY
129 The
130 .Nm
131 driver first appeared in
132 .Fx 5.0 .
133 .Sh AUTHORS
134 Atsushi Onoe is the author of original
135 .Nx
136 software from which this work began.
137 .An -nosplit
138 .An Sam Leffler
139 brought the code into
140 .Fx
141 and then rewrote it to support multi-mode devices,
142 802.11g, WPA/802.11i, WME, and add the extensible frameworks
143 for cryptographic, authentication, and access control plugins.
144 This manual page was written by
145 .An Tom Rhodes Aq trhodes@FreeBSD.org .