On Thu, Apr 09, 2015 at 12:36:43PM +0300, Denis Lapshin wrote: > For some years using Atheros WiFi modules as AP points using athn(4). > Both of the listed below are working pretty fine as APs on various OpenBSD > machines using 5GHz band. > > AR5008E-2NX (AR5418+AR5122) 2GHz/5GHz 2x2:2 PCIe > AR5008E-3NX (AR5418+AR5133) 2GHz/5GHz 3x3:2 PCIe > > But I have trouble with USB WiFi module AR9280+AR7010 2GHz/5GHz 2x2:2 USB > 2.0 and the same athn(4) driver using OpenBSD 5.4 as a host system > installed. > > Kernel detects it as: > athn0 at uhub2 port 1 "ATHEROS USB2.0 WLAN" rev 2.00/2.02 addr 2 > athn0: AR9280 rev 2 (2T2R), ROM rev 22, address 00:a0:c9:14:ce:a5 > > Firmware is latest recommended ver1.1 from athn(4) is loading also: > athn-ar7010-11 > > While configuring from /etc/hostname.athn0 is loading configuration which > works pretty fine with mini PCIe AR5008x modules on 5GHz OR 2.4GHz bands: > > # cat /etc/hostname.athn0 > > inet 10.0.1.1 255.255.255.192 10.0.1.63 media autoselect mode 11a mediaopt > hostap nwid _exit wpa wpakey > sdafWSR23wef9sfaAfg09hvr4y923DFsaf09wdf0989tw98e86r9wedSDAflsf > F chan 44 > #inet 10.0.1.1 255.255.255.192 10.0.1.63 media autoselect mode 11g mediaopt > hostap nwid _exit wpa wpakey > sdafWSR23wef9sfaAfg09hvr4y923DFsaf09wdf0989tw98e86r9wedSDAfls > fF chan 11 > > #sh /etc/netstart athn0 command restarts the dongle, but set it up first > channel of each of 5GHz OR 2.4GHz bands as #ifconfig shows (for 5GHz channel > is 36 instead of 44: > athn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:a0:c9:14:ce:a5 > priority: 4 > groups: wlan > media: IEEE802.11 autoselect (autoselect mode 11a hostap) > status: active > ieee80211: nwid _exit chan 36 bssid 00:a0:c9:14:ce:a5 wpakey > 0xd9502eea0394c78b6614fa30fd57c24f2b329c09f6f20ed3a3dd002287425eea wpaprotos > wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip > inet 10.0.1.1 netmask 0xffffffc0 broadcast 10.0.1.63 > inet6 fe80::2a0:c9ff:fe14:cea5%athn0 prefixlen 64 scopeid 0xa > > No one device can connect to the AR9280+AR7010 access point in both bands. > In 2.4GHz band AP is seeding beacon frames but don't accept connections, in > 5GHz its completely invisible for any client. > > Is it a firmware problem or what I'm doing wrong? Please advise. > > Denis
Hi, the USB athn driver had multiple issues which have largely been fixed. The device should work in client mode in 5.7 or -current. However, host AP mode with athn on USB is known broken. This problem has been documented in the man page but not yet fixed. I wouldn't expect this device to work at all with the 5.4 release. Which, by the way, is not supported by the community anymore.