I have two machines configured as wifi access points that use the athn(4)
driver. One is an Acer Aspire One D250 and the other is an ALIX.2D13 with
a Compex WLM200NX Atheros 802.11 a/b/g/n miniPCI card. Both have OpenBSD
5.4 release installed. I've been able to reproduce the problem reliably on
both. The following is one procedure I used to test the problem:
-boot machine with athn down
$ ifconfig athn0
athn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr: xx:xx:xx:xx:xx:xx
priority: 4
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid ""
$ sudo ifconfig athn0 inet 192.168.2.1 255.255.255.0 nwid 1234567890
wpakey keykeykey mediaopt hostap
$ ifconfig athn0
athn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr: xx:xx:xx:xx:xx:xx
priority: 4
groups: wlan
media: IEEE802.11 autoselect (autoselect hostap)
status: active
ieee80211: nwid 1234567890 chan 3 bssid xx:xx:xx:xx:xx:x: wpakey
<not displayed> wpaprotos wpa1, wpa2 wpaakms psk wpaciphers tkip, ccmp
wpagroupcipher tkip
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet6 xxxx::xxx:xxxx:xxxx:xxxx%athn0 pfrefixlen 64 scopeid 0x1
-edit dhcpd.conf and run dhcpd daemon
$ sudo /usr/sbin/dhcpd athn0
-attempt to associate from MacOSX and WinXP machines
-not able to see nwid on WinXP after refreshing list multiple times
-can see nwid on MacOSX, but connection times out when trying to
associate
-change channel on access point
$ sudo ifconfig athn0 chan 7
-association with AP is successful from MacOSX and WinXP machines now and
IP addresses are assigned
Acer Aspire One D250
athn0 at pci1 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 4 int 16
athn0: AR9280 rev 2 (2T2R), ROM rev 22, address xx:xx:xx:xx:xx:xx
Alix 2D13
athn0 at pci0 dev 12 function 0 "Atheros AR9280" rev 0x01: irq 9
athn0: AR9280 rev 2 (2T2R), ROM rev 22, address xx:xx:xx:xx:xx:xx
Has anyone else encountered this? Please let me know if more info is
needed.