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