xref: /freebsd/share/man/man4/uath.4 (revision 02e9120893770924227138ba49df1edb3896112a)
1.\"
2.\" Copyright (c) 2006
3.\"     Damien Bergamini <damien.bergamini@free.fr>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd April 7, 2009
18.Dt UATH 4
19.Os
20.Sh NAME
21.Nm uath
22.Nd Atheros USB IEEE 802.11a/b/g wireless network device
23.Sh SYNOPSIS
24To compile this driver into the kernel,
25place the following lines in your
26kernel configuration file:
27.Bd -ragged -offset indent
28.Cd "device ehci"
29.Cd "device uhci"
30.Cd "device ohci"
31.Cd "device usb"
32.Cd "device uath"
33.Cd "device wlan"
34.Ed
35.Pp
36Alternatively, to load the driver as a
37module at boot time, place the following line in
38.Xr loader.conf 5 :
39.Bd -literal -offset indent
40if_uath_load="YES"
41.Ed
42.Sh DESCRIPTION
43The
44.Nm
45driver supports USB 2.0 wireless network devices based on Atheros
46Communications fifth generation AR5005UG and AR5005UX chipsets.
47.Pp
48The AR5005UG chipset is made of an AR5523 multiprotocol MAC/baseband processor
49and an AR2112 Radio-on-a-Chip that can operate between 2300 and 2500 MHz
50(802.11b/g).
51.Pp
52The AR5005UX chipset is made of an AR5523 multiprotocol MAC/baseband processor
53and an AR5112 dual band Radio-on-a-Chip that can operate between 2300 and
542500 MHz (802.11b/g) or 4900 and 5850 MHz (802.11a).
55.Pp
56The AR5005UG and AR5005UX chipsets both have an integrated 32-bit MIPS
57R4000-class processor that runs a firmware and manages, among other things,
58the automatic control of the transmit rate and the calibration of the radio.
59.Pp
60.Nm
61supports
62.Cm station ,
63and
64.Cm monitor
65mode operation.
66Only one virtual interface may be configured at any time.
67For more information on configuring this device, see
68.Xr ifconfig 8 .
69.Sh FIRMWARE
70.Nm
71requires firmware that is downloaded to the device.
72This is normally done by the
73.Xr uathload 8
74utility that is launched by
75.Xr devd 8
76when the device is inserted.
77.Xr uathload 8
78includes the firmware in the binary program.
79This firmware is licensed for general use and is included in the base system.
80.Sh HARDWARE
81The
82.Nm
83driver should work with the following adapters:
84.Bl -column "TRENDware International TEW-444UB" "AR5005UX"
85.It Em "Adapter" Ta Em "Chipset"
86.\".It Belkin F6D3050	AR5005UX
87.It Li "Compex WLU108AG" Ta AR5005UX
88.It Li "Compex WLU108G" Ta AR5005UG
89.\".It Li "D-Link DWL-AG132" Ta AR5005UX
90.It Li "D-Link DWL-G132" Ta AR5005UG
91.\".It Li "Edimax EW-7315Ug" Ta AR5005UG (AR2414???)
92.\".It Li "Lancom USB-54ag" Ta AR5005UX
93.\".It Li "NEC WL54TU" Ta AR5005UX
94.It Li "IODATA WN-G54/US" Ta AR5005UG
95.It Li "MELCO WLI-U2-KAMG54" Ta AR5005UX
96.It Li "Netgear WG111T" Ta AR5005UG
97.It Li "Netgear WG111U" Ta AR5005UX
98.It Li "Netgear WPN111" Ta AR5005UG
99.It Li "Olitec 000544" Ta AR5005UG
100.It Li "PLANET WDL-U357" Ta AR5005UX
101.\".It Li "Senao WUB-8004" Ta AR5005UX
102.It Li "Siemens Gigaset 108" Ta AR5005UG
103.It Li "SMC SMCWUSBT-G" Ta AR5005UG
104.It Li "SMC SMCWUSBT-G2" Ta AR5005UG
105.\".It Li "SparkLAN WL-685GS" Ta AR5005UG
106.It Li "SparkLAN WL-785A" Ta AR5005UX
107.It Li "TP-Link TL-WN620G" Ta AR5005UG
108.It Li "TRENDware International TEW-444UB" Ta AR5005UG
109.It Li "TRENDware International TEW-504UB" Ta AR5005UX
110.It Li "Unex Technology UR054ag" Ta AR5005UX
111.\".It Li "Wistron NeWeb DCUA-81" Ta AR5005UX
112.\".It Li "Wistron NeWeb DRUA-81" Ta AR5005UG
113.\".It Li "Wistron NeWeb DRUA-82" Ta AR5005UX
114.\".It Li "ZyXEL G-200 v2" Ta AR5005UG
115.It Li "ZyXEL XtremeMIMO M-202" Ta AR5005UX
116.El
117.Sh EXAMPLES
118Join an existing BSS network (i.e., connect to an access point):
119.Bd -literal -offset indent
120ifconfig wlan create wlandev uath0 inet 192.168.0.20 \e
121    netmask 0xffffff00
122.Ed
123.Pp
124Join a specific BSS network with network name
125.Dq Li my_net :
126.Pp
127.Dl "ifconfig wlan create wlandev uath0 ssid my_net up"
128.Pp
129Join a specific BSS network with 64-bit WEP encryption:
130.Bd -literal -offset indent
131ifconfig wlan create wlandev uath0 ssid my_net \e
132	wepmode on wepkey 0x1234567890 weptxkey 1 up
133.Ed
134.Pp
135Join a specific BSS network with 128-bit WEP encryption:
136.Bd -literal -offset indent
137ifconfig wlan create wlandev uath0 wlanmode adhoc ssid my_net \e
138    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
139.Ed
140.Sh DIAGNOSTICS
141.Bl -diag
142.It "uath%d: could not send command (error=%s)"
143An attempt to send a command to the firmware failed.
144.It "uath%d: timeout waiting for command reply"
145A read command was sent to the firmware but the firmware failed to reply in
146time.
147.It "uath%d: device timeout"
148A frame dispatched to the hardware for transmission did not complete in time.
149The driver will reset the hardware.
150This should not happen.
151.El
152.Sh SEE ALSO
153.Xr netintro 4 ,
154.Xr usb 4 ,
155.Xr wlan 4 ,
156.Xr wlan_ccmp 4 ,
157.Xr wlan_tkip 4 ,
158.Xr wlan_wep 4 ,
159.Xr devd 8 ,
160.Xr ifconfig 8 ,
161.Xr uathload 8 ,
162.Xr wpa_supplicant 8
163.Sh HISTORY
164The
165.Nm
166driver first appeared in
167.Ox 4.0 .
168.Sh AUTHORS
169.An -nosplit
170The
171.Nm
172driver was written by
173.An Weongyo Jeong Aq Mt weongyo@FreeBSD.org
174and
175.An Sam Leffler Aq Mt sam@FreeBSD.org .
176It is distantly related to a driver written by
177.An Damien Bergamini Aq Mt damien@openbsd.org .
178.Sh CAVEATS
179Atheros proprietary 108 Mbps mode (aka Super AG mode) is not supported.
180.Pp
181Dual-band adapters are presently not working;
182to workaround, restriction operation to 2.4GHz channels.
183