1dc60165bSWeongyo Jeong.\" 2dc60165bSWeongyo Jeong.\" Copyright (c) 2006 3dc60165bSWeongyo Jeong.\" Damien Bergamini <damien.bergamini@free.fr> 4dc60165bSWeongyo Jeong.\" 5dc60165bSWeongyo Jeong.\" Permission to use, copy, modify, and distribute this software for any 6dc60165bSWeongyo Jeong.\" purpose with or without fee is hereby granted, provided that the above 7dc60165bSWeongyo Jeong.\" copyright notice and this permission notice appear in all copies. 8dc60165bSWeongyo Jeong.\" 9dc60165bSWeongyo Jeong.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10dc60165bSWeongyo Jeong.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11dc60165bSWeongyo Jeong.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12dc60165bSWeongyo Jeong.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13dc60165bSWeongyo Jeong.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14dc60165bSWeongyo Jeong.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15dc60165bSWeongyo Jeong.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16dc60165bSWeongyo Jeong.\" 17dc60165bSWeongyo Jeong.\" $FreeBSD$ 18dc60165bSWeongyo Jeong.\" 19b502ecacSChristian Brueffer.Dd April 7, 2009 20dc60165bSWeongyo Jeong.Dt UATH 4 21dc60165bSWeongyo Jeong.Os 22dc60165bSWeongyo Jeong.Sh NAME 23dc60165bSWeongyo Jeong.Nm uath 24dc60165bSWeongyo Jeong.Nd Atheros USB IEEE 802.11a/b/g wireless network device 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. 79dc60165bSWeongyo Jeong.Xr uathload 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: 86dc60165bSWeongyo Jeong.Pp 87dc60165bSWeongyo Jeong.Bl -column -compact "TRENDware International TEW-444UB" "AR5005UX" -offset 6n 88dc60165bSWeongyo Jeong.It Em "Adapter Chipset" 89dc60165bSWeongyo Jeong.\".It Belkin F6D3050 AR5005UX 90dc60165bSWeongyo Jeong.It Li "Compex WLU108AG" Ta AR5005UX 91dc60165bSWeongyo Jeong.It Li "Compex WLU108G" Ta AR5005UG 92dc60165bSWeongyo Jeong.\".It Li "D-Link DWL-AG132" Ta AR5005UX 93dc60165bSWeongyo Jeong.It Li "D-Link DWL-G132" Ta AR5005UG 94dc60165bSWeongyo Jeong.\".It Li "Edimax EW-7315Ug" Ta AR5005UG (AR2414???) 95dc60165bSWeongyo Jeong.\".It Li "Lancom USB-54ag" Ta AR5005UX 96dc60165bSWeongyo Jeong.\".It Li "NEC WL54TU" Ta AR5005UX 97dc60165bSWeongyo Jeong.It Li "IODATA WN-G54/US" Ta AR5005UG 98dc60165bSWeongyo Jeong.It Li "MELCO WLI-U2-KAMG54" Ta AR5005UX 99dc60165bSWeongyo Jeong.It Li "Netgear WG111T" Ta AR5005UG 100dc60165bSWeongyo Jeong.It Li "Netgear WG111U" Ta AR5005UX 101dc60165bSWeongyo Jeong.It Li "Netgear WPN111" Ta AR5005UG 102dc60165bSWeongyo Jeong.It Li "Olitec 000544" Ta AR5005UG 103dc60165bSWeongyo Jeong.It Li "PLANET WDL-U357" Ta AR5005UX 104dc60165bSWeongyo Jeong.\".It Li "Senao WUB-8004" Ta AR5005UX 105dc60165bSWeongyo Jeong.It Li "Siemens Gigaset 108" Ta AR5005UG 106dc60165bSWeongyo Jeong.It Li "SMC SMCWUSBT-G" Ta AR5005UG 107dc60165bSWeongyo Jeong.It Li "SMC SMCWUSBT-G2" Ta AR5005UG 108dc60165bSWeongyo Jeong.\".It Li "SparkLAN WL-685GS" Ta AR5005UG 109dc60165bSWeongyo Jeong.It Li "SparkLAN WL-785A" Ta AR5005UX 110dc60165bSWeongyo Jeong.It Li "TP-Link TL-WN620G" Ta AR5005UG 111dc60165bSWeongyo Jeong.It Li "TRENDware International TEW-444UB" Ta AR5005UG 112dc60165bSWeongyo Jeong.It Li "TRENDware International TEW-504UB" Ta AR5005UX 113dc60165bSWeongyo Jeong.It Li "Unex Technology UR054ag" Ta AR5005UX 114dc60165bSWeongyo Jeong.\".It Li "Wistron NeWeb DCUA-81" Ta AR5005UX 115dc60165bSWeongyo Jeong.\".It Li "Wistron NeWeb DRUA-81" Ta AR5005UG 116dc60165bSWeongyo Jeong.\".It Li "Wistron NeWeb DRUA-82" Ta AR5005UX 117dc60165bSWeongyo Jeong.\".It Li "ZyXEL G-200 v2" Ta AR5005UG 118dc60165bSWeongyo Jeong.It Li "ZyXEL XtremeMIMO M-202" Ta AR5005UX 119dc60165bSWeongyo Jeong.El 120dc60165bSWeongyo Jeong.Pp 121dc60165bSWeongyo JeongAn up to date list can be found at 122dc60165bSWeongyo Jeong.Pa http://customerproducts.atheros.com/customerproducts/default.asp . 123dc60165bSWeongyo Jeong.Sh EXAMPLES 124dc60165bSWeongyo JeongJoin an existing BSS network (i.e., connect to an access point): 125dc60165bSWeongyo Jeong.Pp 126dc60165bSWeongyo Jeong.Bd -literal -offset indent 127dc60165bSWeongyo Jeongifconfig wlan create wlandev uath0 inet 192.168.0.20 \e 128dc60165bSWeongyo Jeong netmask 0xffffff00 129dc60165bSWeongyo Jeong.Ed 130dc60165bSWeongyo Jeong.Pp 131dc60165bSWeongyo JeongJoin a specific BSS network with network name 132dc60165bSWeongyo Jeong.Dq Li my_net : 133dc60165bSWeongyo Jeong.Pp 134dc60165bSWeongyo Jeong.Dl "ifconfig wlan create wlandev uath0 ssid my_net up" 135dc60165bSWeongyo Jeong.Pp 136dc60165bSWeongyo JeongJoin a specific BSS network with 64-bit WEP encryption: 137dc60165bSWeongyo Jeong.Bd -literal -offset indent 138dc60165bSWeongyo Jeongifconfig wlan create wlandev uath0 ssid my_net \e 139dc60165bSWeongyo Jeong wepmode on wepkey 0x1234567890 weptxkey 1 up 140dc60165bSWeongyo Jeong.Ed 141dc60165bSWeongyo Jeong.Pp 142dc60165bSWeongyo JeongJoin a specific BSS network with 128-bit WEP encryption: 143dc60165bSWeongyo Jeong.Bd -literal -offset indent 144dc60165bSWeongyo Jeongifconfig wlan create wlandev uath0 wlanmode adhoc ssid my_net \e 145dc60165bSWeongyo Jeong wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 146dc60165bSWeongyo Jeong.Ed 147dc60165bSWeongyo Jeong.Sh DIAGNOSTICS 148dc60165bSWeongyo Jeong.Bl -diag 149dc60165bSWeongyo Jeong.It "uath%d: could not send command (error=%s)" 150dc60165bSWeongyo JeongAn attempt to send a command to the firmware failed. 151dc60165bSWeongyo Jeong.It "uath%d: timeout waiting for command reply" 152dc60165bSWeongyo JeongA read command was sent to the firmware but the firmware failed to reply in 153dc60165bSWeongyo Jeongtime. 154dc60165bSWeongyo Jeong.It "uath%d: device timeout" 155dc60165bSWeongyo JeongA frame dispatched to the hardware for transmission did not complete in time. 156dc60165bSWeongyo JeongThe driver will reset the hardware. 157dc60165bSWeongyo JeongThis should not happen. 158dc60165bSWeongyo Jeong.El 159dc60165bSWeongyo Jeong.Sh SEE ALSO 160dc60165bSWeongyo Jeong.Xr netintro 4 , 161dc60165bSWeongyo Jeong.Xr usb 4 , 162dc60165bSWeongyo Jeong.Xr wlan 4 , 163dc60165bSWeongyo Jeong.Xr wlan_ccmp 4 , 164dc60165bSWeongyo Jeong.Xr wlan_tkip 4 , 165dc60165bSWeongyo Jeong.Xr wlan_wep 4 , 166dc60165bSWeongyo Jeong.Xr devd 8 , 167dc60165bSWeongyo Jeong.Xr ifconfig 8 , 168b502ecacSChristian Brueffer.Xr uathload 8 , 169dc60165bSWeongyo Jeong.Xr wpa_supplicant 8 . 170dc60165bSWeongyo Jeong.Sh HISTORY 171dc60165bSWeongyo JeongThe 172dc60165bSWeongyo Jeong.Nm 173dc60165bSWeongyo Jeongdriver first appeared in 174dc60165bSWeongyo Jeong.Ox 4.0 . 175dc60165bSWeongyo Jeong.Sh AUTHORS 176fdda6436SWeongyo Jeong.An -nosplit 177dc60165bSWeongyo JeongThe 178dc60165bSWeongyo Jeong.Nm 179dc60165bSWeongyo Jeongdriver was written by 180dc60165bSWeongyo Jeong.An Weongyo Jeong Aq weongyo@freebsd.org 181dc60165bSWeongyo Jeongand 182dc60165bSWeongyo Jeong.An Sam Leffler Aq sam@freebsd.org . 183dc60165bSWeongyo JeongIt is distantly related to a driver written by 184dc60165bSWeongyo Jeong.An Damien Bergamini Aq damien@openbsd.org . 185dc60165bSWeongyo Jeong.Sh CAVEATS 186dc60165bSWeongyo JeongAtheros proprietary 108 Mbps mode (aka Super AG mode) is not supported. 187dc60165bSWeongyo Jeong.Pp 188dc60165bSWeongyo JeongDual-band adapters are presently not working; 189dc60165bSWeongyo Jeongto workaround, restriction operation to 2.4GHz channels. 190