1*93b30f1bSAlexander Ziaee.\"- 2*93b30f1bSAlexander Ziaee.\" SPDX-License-Identifier: ISC 320aff35eSAdrian Chadd.\" 420aff35eSAdrian Chadd.\" Copyright (c) 2015 Adrian Chadd <adrian@FreeBSD.org> 520aff35eSAdrian Chadd.\" 620aff35eSAdrian Chadd.\" Permission to use, copy, modify, and distribute this software for any 720aff35eSAdrian Chadd.\" purpose with or without fee is hereby granted, provided that the above 820aff35eSAdrian Chadd.\" copyright notice and this permission notice appear in all copies. 920aff35eSAdrian Chadd.\" 1020aff35eSAdrian Chadd.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1120aff35eSAdrian Chadd.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1220aff35eSAdrian Chadd.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1320aff35eSAdrian Chadd.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1420aff35eSAdrian Chadd.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1520aff35eSAdrian Chadd.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1620aff35eSAdrian Chadd.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1720aff35eSAdrian Chadd.\" 18*93b30f1bSAlexander Ziaee.Dd November 10, 2024 1920aff35eSAdrian Chadd.Dt OTUS 4 2020aff35eSAdrian Chadd.Os 2120aff35eSAdrian Chadd.Sh NAME 2220aff35eSAdrian Chadd.Nm otus 23*93b30f1bSAlexander Ziaee.Nd Atheros AR9170 USB IEEE 802.11a/b/g/n wireless network driver 2420aff35eSAdrian Chadd.Sh SYNOPSIS 2520aff35eSAdrian ChaddTo compile this driver into the kernel, 2620aff35eSAdrian Chaddplace the following lines in your kernel configuration file: 2720aff35eSAdrian Chadd.Bd -ragged -offset indent 2820aff35eSAdrian Chadd.Cd "device ehci" 2920aff35eSAdrian Chadd.Cd "device uhci" 3020aff35eSAdrian Chadd.Cd "device ohci" 3120aff35eSAdrian Chadd.Cd "device usb" 3220aff35eSAdrian Chadd.Cd "device otus" 3320aff35eSAdrian Chadd.Cd "device wlan" 3420aff35eSAdrian Chadd.Ed 3520aff35eSAdrian Chadd.Pp 3620aff35eSAdrian ChaddAlternatively, to load the driver as a module at boot time, 3720aff35eSAdrian Chaddplace the following line in 3820aff35eSAdrian Chadd.Xr loader.conf 5 : 3920aff35eSAdrian Chadd.Bd -literal -offset indent 4020aff35eSAdrian Chaddif_otus_load="YES" 4120aff35eSAdrian Chadd.Ed 4220aff35eSAdrian Chadd.Sh DESCRIPTION 4320aff35eSAdrian ChaddThe 4420aff35eSAdrian Chadd.Nm 4520aff35eSAdrian Chadddriver supports USB 2.0 wireless network devices based on the Atheros 4620aff35eSAdrian ChaddAR9170 chipset. 4720aff35eSAdrian Chadd.Pp 4820aff35eSAdrian ChaddThe Atheros AR9170 is a draft-802.11n adapter that uses an external 4920aff35eSAdrian Chaddradio to operate in either 2.4GHz only or 2.4GHz and 5GHz. 5020aff35eSAdrian Chadd.Pp 5120aff35eSAdrian ChaddThe AR9101 radio supports 1T1R operation in 2GHz only. 5220aff35eSAdrian Chadd.Pp 5320aff35eSAdrian ChaddThe AR9102 radio supports 2T2R operation in 2GHz only. 5420aff35eSAdrian Chadd.Pp 5520aff35eSAdrian ChaddThe AR9104 radio supports 2T2R operation both 2GHz and 5GHz. 5620aff35eSAdrian Chadd.Pp 5720aff35eSAdrian ChaddThese are the modes the 5820aff35eSAdrian Chadd.Nm 5920aff35eSAdrian Chadddriver can operate in: 6020aff35eSAdrian Chadd.Bl -tag -width "IBSS-masterXX" 6120aff35eSAdrian Chadd.It BSS mode 6220aff35eSAdrian ChaddAlso known as 6320aff35eSAdrian Chadd.Em infrastructure 6420aff35eSAdrian Chaddmode, this is used when associating with an access point, through 6520aff35eSAdrian Chaddwhich all traffic passes. 6620aff35eSAdrian ChaddThis mode is the default. 6720aff35eSAdrian Chadd.El 6820aff35eSAdrian Chadd.Pp 6920aff35eSAdrian ChaddThe 7020aff35eSAdrian Chadd.Nm 7120aff35eSAdrian Chadddriver can be configured to use 7220aff35eSAdrian ChaddWired Equivalent Privacy (WEP) or 7320aff35eSAdrian ChaddWi-Fi Protected Access (WPA-PSK and WPA2-PSK). 7420aff35eSAdrian ChaddWPA is the de facto encryption standard for wireless networks. 7520aff35eSAdrian ChaddIt is strongly recommended that WEP 7620aff35eSAdrian Chaddnot be used as the sole mechanism 7720aff35eSAdrian Chaddto secure wireless communication, 7820aff35eSAdrian Chadddue to serious weaknesses in it. 7920aff35eSAdrian Chadd.Pp 8020aff35eSAdrian ChaddThe 8120aff35eSAdrian Chadd.Nm 8220aff35eSAdrian Chadddriver can be configured at runtime with 8320aff35eSAdrian Chadd.Xr ifconfig 8 . 84*93b30f1bSAlexander Ziaee.Sh HARDWARE 85*93b30f1bSAlexander ZiaeeThe 86*93b30f1bSAlexander Ziaee.Nm 87*93b30f1bSAlexander Ziaeedriver provides support for Atheros AR9170 USB IEEE 802.11b/g/n 88*93b30f1bSAlexander Ziaeewireless network adapters, including: 89*93b30f1bSAlexander Ziaee.Pp 90*93b30f1bSAlexander Ziaee.Bl -bullet -offset indent -compact 91*93b30f1bSAlexander Ziaee.It 92*93b30f1bSAlexander Ziaee3Com 3CRUSBN275 93*93b30f1bSAlexander Ziaee.It 94*93b30f1bSAlexander ZiaeeArcadyan WN7512 95*93b30f1bSAlexander Ziaee.\" .It AVM FRITZ!WLAN USB Stick N 96*93b30f1bSAlexander Ziaee.It 97*93b30f1bSAlexander ZiaeeCACE AirPcap \&Nx 98*93b30f1bSAlexander Ziaee.It 99*93b30f1bSAlexander ZiaeeD-Link DWA-130 rev \&D1 100*93b30f1bSAlexander Ziaee.It 101*93b30f1bSAlexander ZiaeeD-Link DWA-160 rev A1 102*93b30f1bSAlexander Ziaee.It 103*93b30f1bSAlexander ZiaeeD-Link DWA-160 rev A2 104*93b30f1bSAlexander Ziaee.It 105*93b30f1bSAlexander ZiaeeIO-Data WN-GDN/US2 106*93b30f1bSAlexander Ziaee.It 107*93b30f1bSAlexander ZiaeeNEC Aterm WL300NU-G 108*93b30f1bSAlexander Ziaee.It 109*93b30f1bSAlexander ZiaeeNetgear WNDA3100 110*93b30f1bSAlexander Ziaee.It 111*93b30f1bSAlexander ZiaeeNetgear WN111 v2 112*93b30f1bSAlexander Ziaee.It 113*93b30f1bSAlexander ZiaeePlanex GW-US300 114*93b30f1bSAlexander Ziaee.It 115*93b30f1bSAlexander ZiaeeSMC Networks SMCWUSB-N2 116*93b30f1bSAlexander Ziaee.It 117*93b30f1bSAlexander ZiaeeTP-Link TL-WN821N v1, v2 118*93b30f1bSAlexander Ziaee.It 119*93b30f1bSAlexander ZiaeeUbiquiti SR71 USB 120*93b30f1bSAlexander Ziaee.It 121*93b30f1bSAlexander ZiaeeUnex DNUA-81 122*93b30f1bSAlexander Ziaee.It 123*93b30f1bSAlexander ZiaeeZ-Com UB81 124*93b30f1bSAlexander Ziaee.It 125*93b30f1bSAlexander ZiaeeZ-Com UB82 126*93b30f1bSAlexander Ziaee.It 127*93b30f1bSAlexander ZiaeeZyXEL NWD-271N 128*93b30f1bSAlexander Ziaee.El 12920aff35eSAdrian Chadd.Sh FILES 13020aff35eSAdrian ChaddThe driver needs at least version 1.0 of the following firmware files, 13120aff35eSAdrian Chaddwhich is loaded when an interface is attached: 13220aff35eSAdrian Chadd.Pp 13320aff35eSAdrian Chadd.Bl -tag -width Ds -offset indent -compact 13420aff35eSAdrian Chadd.It Pa /boot/kernel/otusfw-init.ko 13520aff35eSAdrian Chadd.It Pa /boot/kernel/otusfw-main.ko 13620aff35eSAdrian Chadd.El 13720aff35eSAdrian Chadd.Sh EXAMPLES 13820aff35eSAdrian ChaddJoin an existing BSS network (i.e., connect to an access point): 139*93b30f1bSAlexander Ziaee.Pp 140*93b30f1bSAlexander Ziaee.Dl ifconfig wlan create wlandev otus0 inet 192.0.2.20/24 14120aff35eSAdrian Chadd.Pp 14220aff35eSAdrian ChaddJoin a specific BSS network with network name 143*93b30f1bSAlexander Ziaee.Ar my_net : 14420aff35eSAdrian Chadd.Pp 145*93b30f1bSAlexander Ziaee.Dl ifconfig wlan create wlandev otus0 ssid my_net up 14620aff35eSAdrian Chadd.Pp 14720aff35eSAdrian ChaddJoin a specific BSS network with 64-bit WEP encryption: 14820aff35eSAdrian Chadd.Bd -literal -offset indent 14920aff35eSAdrian Chaddifconfig wlan create wlandev otus0 ssid my_net \e 15020aff35eSAdrian Chadd wepmode on wepkey 0x1234567890 weptxkey 1 up 15120aff35eSAdrian Chadd.Ed 15220aff35eSAdrian Chadd.Sh DIAGNOSTICS 15320aff35eSAdrian Chadd.Bl -diag 15420aff35eSAdrian Chadd.It "%s: failed load firmware of file otusfw-main" 15520aff35eSAdrian ChaddFor some reason, the driver was unable to read the microcode file from the 15620aff35eSAdrian Chaddfilesystem. 15720aff35eSAdrian ChaddThe file might be missing or corrupted. 15820aff35eSAdrian Chadd.El 15920aff35eSAdrian Chadd.Sh SEE ALSO 16020aff35eSAdrian Chadd.Xr intro 1 , 16120aff35eSAdrian Chadd.Xr netintro 4 , 16220aff35eSAdrian Chadd.Xr otusfw 4 , 16320aff35eSAdrian Chadd.Xr usb 4 , 16420aff35eSAdrian Chadd.Xr wlan 4 , 16520aff35eSAdrian Chadd.Xr arp 8 , 16620aff35eSAdrian Chadd.Xr hostapd 8 , 16720aff35eSAdrian Chadd.Xr ifconfig 8 , 16820aff35eSAdrian Chadd.Xr wpa_supplicant 8 16920aff35eSAdrian Chadd.Sh HISTORY 17020aff35eSAdrian ChaddThe 17120aff35eSAdrian Chadd.Nm 17220aff35eSAdrian Chadddriver first appeared in 173*93b30f1bSAlexander Ziaee.Ox 4.6 174*93b30f1bSAlexander Ziaeeand 175*93b30f1bSAlexander Ziaee.Fx 11 . 17620aff35eSAdrian Chadd.Sh AUTHORS 17720aff35eSAdrian Chadd.An -nosplit 17820aff35eSAdrian ChaddThe 17920aff35eSAdrian Chadd.Nm 18020aff35eSAdrian Chadddriver was written by 18120aff35eSAdrian Chadd.An Damien Bergamini Aq Mt damien@openbsd.org 18220aff35eSAdrian Chaddand ported by 18320aff35eSAdrian Chadd.An Adrian Chadd Aq Mt adrian@freebsd.org . 18420aff35eSAdrian Chadd.Sh CAVEATS 18520aff35eSAdrian ChaddThe 18620aff35eSAdrian Chadd.Nm 18720aff35eSAdrian Chadddriver only supports 802.11a/b/g operations. 188daeb432aSAndriy Voskoboinyk802.11n operation is not supported at this time. 189