Bug 197957

Summary: stuck beacon; resetting (bmiss count %u)\n for ath0: AR9285
Product: Base System Reporter: igor.polovykh
Component: kernAssignee: freebsd-wireless (Nobody) <wireless>
Status: New ---    
Severity: Affects Only Me CC: igor.polovykh
Priority: ---    
Version: 9.3-RELEASE   
Hardware: amd64   
OS: Any   

Description igor.polovykh 2015-02-23 17:16:30 UTC
[ root /usr/src/sys/dev/ath ] # uname -a
FreeBSD bvgm.org 9.3-STABLE FreeBSD 9.3-STABLE #31 r278361: Sat Feb  7 21:35:19 MSK 2015     root@bvgm.org:/usr/obj/usr/src/sys/BVGM  amd64

/var/log/messages
Feb  8 03:41:10 bvgm kernel: ath0: <Atheros 9285> mem 0xf7c00000-0xf7c0ffff irq 18 at device 0.0 on pci5
Feb  8 03:41:10 bvgm kernel: ath0: AR9285 mac 192.2 RF5133 phy 14.0

/etc/rc.conf
wlans_ath0="wlan0"
create_args_wlan0="wlanmode hostap"
ifconfig_wlan0="inet 172.16.0.1 netmask 255.255.255.0 ssid bsd mode 11g channel 11"

/etc/sysctl.conf
hw.ath.bstuck=8
dev.ath.0.txantenna=0
dev.ath.0.rxantenna=1


ifconfig:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether d8:5d:4c:b0:3e:4b
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: running
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether d8:5d:4c:b0:3e:4b
        inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255
        inet6 fe80::da5d:4cff:feb0:3e4b%wlan0 prefixlen 64 scopeid 0xb
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: running
        ssid bsd channel 11 (2462 MHz 11g) bssid d8:5d:4c:b0:3e:4b
        regdomain 32924 country CN indoor ecm authmode WPA1+WPA2/802.11i
        privacy MIXED deftxkey 3 TKIP 2:128-bit TKIP 3:128-bit txpower 20
        scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs



Feb 23 18:00:00 bvgm kernel: ath0: stuck beacon; resetting (bmiss count 8)
Feb 23 18:00:31 bvgm last message repeated 89 times
Feb 23 18:02:32 bvgm last message repeated 352 times
Feb 23 18:12:33 bvgm last message repeated 1752 times
Feb 23 18:22:34 bvgm last message repeated 1752 times
Feb 23 18:32:34 bvgm last message repeated 1751 times
Feb 23 18:42:35 bvgm last message repeated 1750 times
Feb 23 18:52:35 bvgm last message repeated 1748 times
Feb 23 19:02:35 bvgm last message repeated 1749 times
Feb 23 19:12:35 bvgm last message repeated 1748 times
Feb 23 19:22:35 bvgm last message repeated 1749 times
Feb 23 19:32:35 bvgm last message repeated 1749 times
Feb 23 19:42:35 bvgm last message repeated 1749 times
Feb 23 19:52:35 bvgm last message repeated 1749 times

Result:
AR9285 is not respond more. This happend not very often but it is unpleasant.
This card works about 2 years on my freebsd server and nothing has changed.

I can provide any information you want and help you to fix it.