kernel: Use the new auto-created sysctl ctx/tree in various drivers.
[dragonfly.git] / share / man / man4 / acx.4
1 .\"
2 .\" Copyright (c) 2006 The DragonFly Project.  All rights reserved.
3 .\" 
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 
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
12 .\"    the documentation and/or other materials provided with the
13 .\"    distribution.
14 .\" 3. Neither the name of The DragonFly Project nor the names of its
15 .\"    contributors may be used to endorse or promote products derived
16 .\"    from this software without specific, prior written permission.
17 .\" 
18 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 .\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
22 .\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23 .\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
24 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
26 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
28 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 .\" SUCH DAMAGE.
30 .\"
31 .Dd November 28, 2014
32 .Dt ACX 4
33 .Os
34 .Sh NAME
35 .Nm acx
36 .Nd Texas Instruments ACX100/ACX111 IEEE 802.11a/b/g wireless network driver
37 .Sh SYNOPSIS
38 To compile this driver into the kernel, place the following lines in
39 your kernel configuration file:
40 .Bd -ragged -offset indent
41 .Cd "device acx"
42 .Cd "device wlan"
43 .Cd "device wlan_ratectl_onoe"
44 .Cd "device wlan_ratectl_amrr"
45 .Ed
46 .Pp
47 Alternatively, to load the driver as a module at boot time, place the
48 following line in
49 .Pa /boot/loader.conf :
50 .Bd -literal -offset indent
51 if_acx_load="YES"
52 .Ed
53 .Sh DESCRIPTION
54 The
55 .Nm
56 driver provides support for Texas Instruments TNETW1100/TNETW1100B (ACX100)
57 and TNETW1130 (ACX111) based PCI/CardBus network adapters.
58 .Pp
59 The ACX100A and ACX100B are first generation 802.11b devices
60 from TI.
61 The ACX111 is a second generation device which supports 802.11b/g
62 and in some cases 802.11a.
63 .Pp
64 By default, the
65 .Nm
66 driver configures the adapter for BSS operation (infrastructure mode).
67 This mode requires the use of an access point.
68 In addition, IBSS operation (adhoc mode) is also supported.
69 For more information on configuring this device, see
70 .Xr ifconfig 8 .
71 .Ss MIB Variables
72 The following per-interface variables are implemented in the
73 .Va dev.acx. Ns Em X
74 branch of the
75 .Xr sysctl 3
76 MIB.
77 .Bl -tag -width ".Va combined_radio_fw"
78 .It Va msdu_lifetime
79 MSDU life time.
80 .It Va long_retry_limit
81 Long retry limit.
82 .It Va scan_dwell
83 Channel dwell time during scanning (unit: milliseconds)
84 .It Va combined_radio_fw
85 The base and radio firmwares are combined in one image file.
86 By default,
87 it is set to 1 for ACX111 parts and 0 for ACX100A and ACX100B parts.
88 .It Va free_fw
89 Set to non-zero value to free the loaded firmwares.
90 This does not affect a running device.
91 Firmwares will be reloaded from
92 .Pa /etc/firmware/acx
93 when device is brought up next time.
94 .El
95 .Sh HARDWARE
96 The following cards are among those supported by the
97 .Nm
98 driver:
99 .Pp
100 .Bl -column -compact "WESTELL A90-200WG-01" "ACX111" "CardBus" "a/b/g" -offset 6n
101 .It Em Card Ta Em Chip Ta Em Bus Ta Em Standard
102 .It "D-Link DWL-520+" Ta ACX100 Ta PCI Ta b
103 .It "D-Link DWL-650+" Ta ACX100 Ta CardBus Ta b
104 .It "D-Link DWL-G520+" Ta ACX111 Ta PCI Ta b/g
105 .It "D-Link DWL-G630+" Ta ACX111 Ta CardBus Ta b/g
106 .It "D-Link DWL-G650+" Ta ACX111 Ta CardBus Ta b/g
107 .It "Ergenic ERG WL-003" Ta ACX100 Ta CardBus Ta b
108 .It "Hamlet HNWP254" Ta ACX111 Ta CardBus Ta b/g
109 .It "Hawking HWP54G" Ta ACX111 Ta PCI Ta b/g
110 .It "Linksys WPC54Gv2" Ta ACX111 Ta CardBus Ta b/g
111 .It "Microcom Travelcard" Ta ACX111 Ta CardBus Ta b/g
112 .It "Netgear WG311v2" Ta ACX111 Ta PCI Ta b/g
113 .It "Sceptre SC254W+" Ta ACX111 Ta CardBus Ta b/g
114 .It "Tornado/ADT 211g" Ta ACX111 Ta PCI Ta b/g
115 .It "USR USR5410" Ta ACX111 Ta CardBus Ta b/g
116 .It "USR USR5416" Ta ACX111 Ta PCI Ta b/g
117 .It "WESTELL A90-200WG-01" Ta ACX111 Ta CardBus Ta b/g
118 .It "ZyXEL G-160" Ta ACX111 Ta CardBus Ta b/g
119 .It "ZyXEL G-360 EE" Ta ACX111 Ta PCI Ta b/g
120 .El
121 .Sh FILES
122 The firmware for the adapter is not shipped with
123 .Dx
124 and must be obtained separately.
125 An archive with firmware files that are known to work can be found at:
126 .Bd -literal -offset indent
127 http://leaf.dragonflybsd.org/~sephe/acx/acx_fw.tbz
128 .Ed
129 .Pp
130 The firmware files have to reside in
131 .Pa /etc/firmware/acx
132 and will be loaded when the interface is brought up.
133 .Sh EXAMPLES
134 Refer to the
135 .Sx EXAMPLES
136 section of
137 .Xr wlan 4 .
138 .Sh SEE ALSO
139 .Xr arp 4 ,
140 .Xr cardbus 4 ,
141 .Xr ifmedia 4 ,
142 .Xr pci 4 ,
143 .Xr wlan 4 ,
144 .Xr wlan_ratectl 4 ,
145 .Xr hostapd 8 ,
146 .Xr ifconfig 8 ,
147 .Xr sysctl 8 ,
148 .Xr wpa_supplicant 8
149 .Sh HISTORY
150 The
151 .Nm
152 driver first appeared in
153 .Dx 1.5 .
154 .Sh AUTHORS
155 .An -nosplit
156 The
157 .Nm
158 driver was written by
159 .An Sepherosa Ziehau .
160 The manual page was written by
161 .An Sascha Wildner .
162 Both are based on the
163 .Pa http://wlan.kewl.org
164 project team's original code.
165 .Pp
166 The hardware specification was reverse engineered by the good folks at
167 .Pa http://acx100.sourceforge.net .
168 Without them this driver would not have been possible.