Bug 178491

Summary: [ath] ath0 (AR9287) stuck beacon
Product: Base System Reporter: Domagoj Smolčić <rank1seeker>
Component: wirelessAssignee: freebsd-wireless (Nobody) <wireless>
Status: Open ---    
Severity: Affects Only Me CC: adrian, freebsd, fxthomasw
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215079

Description Domagoj Smolčić 2013-05-10 21:30:00 UTC
Working as AP, repetitive:

ath0: stuck beacon; resetting (bmiss count 4)

Fix: 

Changing WiFi channel, but that is not a long term solution.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-05-12 01:55:03 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-wireless

Over to maintainer(s).
Comment 2 fxthomasw 2015-07-18 22:03:00 UTC
same with :

ath0: <Atheros 5424/2424> mem 0x55200000-0x5520ffff irq 18 at device 0.0 on pci3
ath0: AR2425 mac 14.2 RF5424 phy 7.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00a2
ath0: stuck beacon; resetting (bmiss count 4)
ath0: device timeout

/etc/rc.conf
wlans_ath0="wlan0"
create_args_wlan0="wlanmod hostap mode 11g"

/etc/sysctl.conf
hw.ath.longcal=20
dev.ath.0.hal.force_full_reset=1
dev.ath.0.hangcheck=1
dev.ath.0.tpc=1
dev.ath.0.tpscale=1

Temporary solution:
create a cronjob that every minute to ifconfig wlan0 down and ifconfig wlan0 up so it will not hang
Comment 3 Adrian Chadd freebsd_committer freebsd_triage 2015-07-18 22:16:35 UTC
what's the output of ifconfig -v wlan0 ?


-a
Comment 4 fxthomasw 2015-07-18 23:19:38 UTC
here it is:

wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:23:4e:50:89:ef
        inet 192.168.15.1 netmask 0xffffff00 broadcast 192.168.15.255
        inet6 fe80::223:4eff:fe50:89ef%wlan0 prefixlen 64 scopeid 0x4
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: running
        ssid BR3YO channel 5 (2432 MHz 11g) bssid 00:23:4e:50:89:ef
        regdomain 101 country DEBUG indoor ecm authmode WPA -wps -tsn
        privacy MIXED deftxkey 2
        TKIP 2:128-bit
        TKIP 3:128-bit powersavemode OFF powersavesleep 100 txpower 20
        txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7
        11a     ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
        11b     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
        11g     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
        turboA  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
        turboG  ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
        sturbo  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
        11na    ucast NONE    mgmt 12 MCS  mcast 12 MCS  maxretry 6
        11ng    ucast NONE    mgmt  2 MCS  mcast  2 MCS  maxretry 6
        half    ucast NONE    mgmt  3 Mb/s mcast  3 Mb/s maxretry 6
        quarter ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
        scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
        roam:11a     rssi    7dBm rate 12 Mb/s
        roam:11b     rssi    7dBm rate  1 Mb/s
        roam:11g     rssi    7dBm rate  5 Mb/s
        roam:turboA  rssi    7dBm rate 12 Mb/s
        roam:turboG  rssi    7dBm rate 12 Mb/s
        roam:sturbo  rssi    7dBm rate 12 Mb/s
        roam:11na    rssi    7dBm  MCS  1
        roam:11ng    rssi    7dBm  MCS  1
        roam:half    rssi    7dBm rate  6 Mb/s
        roam:quarter rssi    7dBm rate  3 Mb/s
        -pureg protmode CTS -ht -htcompat -ampdu ampdulimit 64k
        ampdudensity 8 -amsdu -shortgi htprotmode RTSCTS -puren smps -rifs
        -wme -burst -dwds -hidessid apbridge dtimperiod 1 doth -dfs inact
        bintval 432
        groups: wlan
Comment 5 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:47:54 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.