120aff35eSAdrian Chadd.\" $FreeBSD$ 220aff35eSAdrian Chadd.\" 320aff35eSAdrian Chadd.\" Copyright (c) 2015 Adrian Chadd <adrian@FreeBSD.org> 420aff35eSAdrian Chadd.\" 520aff35eSAdrian Chadd.\" Permission to use, copy, modify, and distribute this software for any 620aff35eSAdrian Chadd.\" purpose with or without fee is hereby granted, provided that the above 720aff35eSAdrian Chadd.\" copyright notice and this permission notice appear in all copies. 820aff35eSAdrian Chadd.\" 920aff35eSAdrian Chadd.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1020aff35eSAdrian Chadd.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1120aff35eSAdrian Chadd.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1220aff35eSAdrian Chadd.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1320aff35eSAdrian Chadd.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1420aff35eSAdrian Chadd.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1520aff35eSAdrian Chadd.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1620aff35eSAdrian Chadd.\" 1720aff35eSAdrian Chadd.Dd September 25, 2015 1820aff35eSAdrian Chadd.Dt OTUS 4 1920aff35eSAdrian Chadd.Os 2020aff35eSAdrian Chadd.Sh NAME 2120aff35eSAdrian Chadd.Nm otus 2220aff35eSAdrian Chadd.Nd Atheros AR9170 USB IEEE 802.11a/b/g/n wireless network device 2320aff35eSAdrian Chadd.Sh SYNOPSIS 2420aff35eSAdrian ChaddTo compile this driver into the kernel, 2520aff35eSAdrian Chaddplace the following lines in your kernel configuration file: 2620aff35eSAdrian Chadd.Bd -ragged -offset indent 2720aff35eSAdrian Chadd.Cd "device ehci" 2820aff35eSAdrian Chadd.Cd "device uhci" 2920aff35eSAdrian Chadd.Cd "device ohci" 3020aff35eSAdrian Chadd.Cd "device usb" 3120aff35eSAdrian Chadd.Cd "device otus" 3220aff35eSAdrian Chadd.Cd "device wlan" 3320aff35eSAdrian Chadd.Ed 3420aff35eSAdrian Chadd.Pp 3520aff35eSAdrian ChaddAlternatively, to load the driver as a module at boot time, 3620aff35eSAdrian Chaddplace the following line in 3720aff35eSAdrian Chadd.Xr loader.conf 5 : 3820aff35eSAdrian Chadd.Bd -literal -offset indent 3920aff35eSAdrian Chaddif_otus_load="YES" 4020aff35eSAdrian Chadd.Ed 4120aff35eSAdrian Chadd.Sh DESCRIPTION 4220aff35eSAdrian ChaddThe 4320aff35eSAdrian Chadd.Nm 4420aff35eSAdrian Chadddriver supports USB 2.0 wireless network devices based on the Atheros 4520aff35eSAdrian ChaddAR9170 chipset. 4620aff35eSAdrian Chadd.Pp 4720aff35eSAdrian ChaddThe Atheros AR9170 is a draft-802.11n adapter that uses an external 4820aff35eSAdrian Chaddradio to operate in either 2.4GHz only or 2.4GHz and 5GHz. 4920aff35eSAdrian Chadd.Pp 5020aff35eSAdrian ChaddThe AR9101 radio supports 1T1R operation in 2GHz only. 5120aff35eSAdrian Chadd.Pp 5220aff35eSAdrian ChaddThe AR9102 radio supports 2T2R operation in 2GHz only. 5320aff35eSAdrian Chadd.Pp 5420aff35eSAdrian ChaddThe AR9104 radio supports 2T2R operation both 2GHz and 5GHz. 5520aff35eSAdrian Chadd.Pp 5620aff35eSAdrian ChaddThese are the modes the 5720aff35eSAdrian Chadd.Nm 5820aff35eSAdrian Chadddriver can operate in: 5920aff35eSAdrian Chadd.Bl -tag -width "IBSS-masterXX" 6020aff35eSAdrian Chadd.It BSS mode 6120aff35eSAdrian ChaddAlso known as 6220aff35eSAdrian Chadd.Em infrastructure 6320aff35eSAdrian Chaddmode, this is used when associating with an access point, through 6420aff35eSAdrian Chaddwhich all traffic passes. 6520aff35eSAdrian ChaddThis mode is the default. 6620aff35eSAdrian Chadd.El 6720aff35eSAdrian Chadd.Pp 6820aff35eSAdrian ChaddThe 6920aff35eSAdrian Chadd.Nm 7020aff35eSAdrian Chadddriver can be configured to use 7120aff35eSAdrian ChaddWired Equivalent Privacy (WEP) or 7220aff35eSAdrian ChaddWi-Fi Protected Access (WPA-PSK and WPA2-PSK). 7320aff35eSAdrian ChaddWPA is the de facto encryption standard for wireless networks. 7420aff35eSAdrian ChaddIt is strongly recommended that WEP 7520aff35eSAdrian Chaddnot be used as the sole mechanism 7620aff35eSAdrian Chaddto secure wireless communication, 7720aff35eSAdrian Chadddue to serious weaknesses in it. 7820aff35eSAdrian Chadd.Pp 7920aff35eSAdrian ChaddThe 8020aff35eSAdrian Chadd.Nm 8120aff35eSAdrian Chadddriver can be configured at runtime with 8220aff35eSAdrian Chadd.Xr ifconfig 8 . 8320aff35eSAdrian Chadd.Sh FILES 8420aff35eSAdrian ChaddThe driver needs at least version 1.0 of the following firmware files, 8520aff35eSAdrian Chaddwhich is loaded when an interface is attached: 8620aff35eSAdrian Chadd.Pp 8720aff35eSAdrian Chadd.Bl -tag -width Ds -offset indent -compact 8820aff35eSAdrian Chadd.It Pa /boot/kernel/otusfw-init.ko 8920aff35eSAdrian Chadd.It Pa /boot/kernel/otusfw-main.ko 9020aff35eSAdrian Chadd.El 9120aff35eSAdrian Chadd.Sh HARDWARE 9220aff35eSAdrian ChaddThe 9320aff35eSAdrian Chadd.Nm 9420aff35eSAdrian Chadddriver provices support for Atheros AR9170 USB IEEE 802.11b/g/n 9520aff35eSAdrian Chaddwireless network adapters, including: 9620aff35eSAdrian Chadd.Pp 9720aff35eSAdrian Chadd.Bl -tag -width Ds -offset indent -compact 9820aff35eSAdrian Chadd.It 3Com 3CRUSBN275 9920aff35eSAdrian Chadd.It Arcadyan WN7512 10020aff35eSAdrian Chadd.\" .It AVM FRITZ!WLAN USB Stick N 10120aff35eSAdrian Chadd.It CACE AirPcap \&Nx 10220aff35eSAdrian Chadd.It D-Link DWA-130 rev \&D1 10320aff35eSAdrian Chadd.It D-Link DWA-160 rev A1 10420aff35eSAdrian Chadd.It D-Link DWA-160 rev A2 10520aff35eSAdrian Chadd.It IO-Data WN-GDN/US2 10620aff35eSAdrian Chadd.It NEC Aterm WL300NU-G 10720aff35eSAdrian Chadd.It Netgear WNDA3100 10820aff35eSAdrian Chadd.It Netgear WN111 v2 10920aff35eSAdrian Chadd.It Planex GW-US300 11020aff35eSAdrian Chadd.It SMC Networks SMCWUSB-N2 11120aff35eSAdrian Chadd.It TP-Link TL-WN821N v1, v2 11220aff35eSAdrian Chadd.It Ubiquiti SR71 USB 11320aff35eSAdrian Chadd.It Unex DNUA-81 11420aff35eSAdrian Chadd.It Z-Com UB81 11520aff35eSAdrian Chadd.It Z-Com UB82 11620aff35eSAdrian Chadd.It ZyXEL NWD-271N 11720aff35eSAdrian Chadd.El 11820aff35eSAdrian Chadd.Sh EXAMPLES 11920aff35eSAdrian ChaddJoin an existing BSS network (i.e., connect to an access point): 12020aff35eSAdrian Chadd.Bd -literal -offset indent 12120aff35eSAdrian Chaddifconfig wlan create wlandev otus0 inet 192.168.0.20 \e 12220aff35eSAdrian Chadd netmask 0xffffff00 12320aff35eSAdrian Chadd.Ed 12420aff35eSAdrian Chadd.Pp 12520aff35eSAdrian ChaddJoin a specific BSS network with network name 12620aff35eSAdrian Chadd.Dq Li my_net : 12720aff35eSAdrian Chadd.Pp 12820aff35eSAdrian Chadd.Dl "ifconfig wlan create wlandev otus0 ssid my_net up" 12920aff35eSAdrian Chadd.Pp 13020aff35eSAdrian ChaddJoin a specific BSS network with 64-bit WEP encryption: 13120aff35eSAdrian Chadd.Bd -literal -offset indent 13220aff35eSAdrian Chaddifconfig wlan create wlandev otus0 ssid my_net \e 13320aff35eSAdrian Chadd wepmode on wepkey 0x1234567890 weptxkey 1 up 13420aff35eSAdrian Chadd.Ed 13520aff35eSAdrian Chadd.Sh DIAGNOSTICS 13620aff35eSAdrian Chadd.Bl -diag 13720aff35eSAdrian Chadd.It "%s: failed load firmware of file otusfw-main" 13820aff35eSAdrian ChaddFor some reason, the driver was unable to read the microcode file from the 13920aff35eSAdrian Chaddfilesystem. 14020aff35eSAdrian ChaddThe file might be missing or corrupted. 14120aff35eSAdrian Chadd.El 14220aff35eSAdrian Chadd.Sh SEE ALSO 14320aff35eSAdrian Chadd.Xr intro 1 , 14420aff35eSAdrian Chadd.Xr netintro 4 , 14520aff35eSAdrian Chadd.Xr otusfw 4 , 14620aff35eSAdrian Chadd.Xr usb 4 , 14720aff35eSAdrian Chadd.Xr wlan 4 , 14820aff35eSAdrian Chadd.Xr arp 8 , 14920aff35eSAdrian Chadd.Xr hostapd 8 , 15020aff35eSAdrian Chadd.Xr ifconfig 8 , 15120aff35eSAdrian Chadd.Xr wpa_supplicant 8 15220aff35eSAdrian Chadd.Sh HISTORY 15320aff35eSAdrian ChaddThe 15420aff35eSAdrian Chadd.Nm 15520aff35eSAdrian Chadddriver first appeared in 15620aff35eSAdrian Chadd.Ox 4.6 . 15720aff35eSAdrian Chadd.Sh AUTHORS 15820aff35eSAdrian Chadd.An -nosplit 15920aff35eSAdrian ChaddThe 16020aff35eSAdrian Chadd.Nm 16120aff35eSAdrian Chadddriver was written by 16220aff35eSAdrian Chadd.An Damien Bergamini Aq Mt damien@openbsd.org 16320aff35eSAdrian Chaddand ported by 16420aff35eSAdrian Chadd.An Adrian Chadd Aq Mt adrian@freebsd.org . 16520aff35eSAdrian Chadd.Sh CAVEATS 16620aff35eSAdrian ChaddThe 16720aff35eSAdrian Chadd.Nm 16820aff35eSAdrian Chadddriver only supports 802.11a/b/g operations. 169*daeb432aSAndriy Voskoboinyk802.11n operation is not supported at this time. 170