Modify

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#15407 closed defect (no_response)

TL-WR1043ND v1 on r40028 denies new connections, kicks STAs, SSID stays up

Reported by: Mux Owned by: developers
Priority: highest Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

After about 9 hours uptime, the wifi of my TL-WR1043 v1 running r40028 suddenly stops working, and denies new connections. Connected clients are then disassociated due to their "inactivity", which is probably the inactivity of the AP itself.

This happened in 11g mode, while trying to avoid bug #15320 on 11ng, but that didn't really work. The symptoms are the same, but the log is different:

cat /etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'platform/ath9k'
	list ht_capab 'SHORT-GI-40'
	list ht_capab 'DSSS_CCK-40'
	option htmode 'HT20'
	option country 'NZ'
	option channel '1'
	option txpower '22'
	option hwmode '11g'

config wifi-iface
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'secret'
	option encryption 'psk2+ccmp'
	option key 'secret'

cat /sys/kernel/debug/ieee80211/phy0/ath9k/reset

    Baseband Hang:  0
Baseband Watchdog:  0
   Fatal HW Error:  0
      TX HW error:  0
     TX Path Hang:  0
      PLL RX Hang:  0
         MAC Hang: 53
     Stuck Beacon:  2
        MCI Reset:  0

cat /sys/kernel/debug/ieee80211/phy*/ath9k/interrupt

                   RX:    4477951
                RXEOL:          0
                RXORN:          0
                   TX:    5842385
                TXURN:          0
                  MIB:          0
                RXPHY:          0
                RXKCM:          0
                 SWBA:    6031896
                BMISS:          0
                  BNR:          0
                  CST:        858
                  GTT:          0
                  TIM:          0
               CABEND:          0
             DTIMSYNC:          0
                 DTIM:          0
               TSFOOR:          0
                  MCI:          0
             GENTIMER:          0
                TOTAL:   16123834
SYNC_CAUSE stats:
             Sync-All:          0
              RTC-IRQ:          0
              MAC-IRQ:          0
EEPROM-Illegal-Access:          0
          APB-Timeout:          0
    PCI-Mode-Conflict:          0
          HOST1-Fatal:          0
           HOST1-Perr:          0
       TRCV-FIFO-Perr:          0
          RADM-CPL-EP:          0
  RADM-CPL-DLLP-Abort:          0
   RADM-CPL-TLP-Abort:          0
    RADM-CPL-ECRC-Err:          0
     RADM-CPL-Timeout:          0
    Local-Bus-Timeout:          0
            PM-Access:          0
            MAC-Awake:          0
           MAC-Asleep:          0
     MAC-Sleep-Access:          0

cat /sys/kernel/debug/ieee80211/phy0/ath9k/ani

            ANI: ENABLED
      ANI RESET: 60
     OFDM LEVEL: 0
      CCK LEVEL: 0
        SPUR UP: 295
      SPUR DOWN: 295
 OFDM WS-DET ON: 1042
OFDM WS-DET OFF: 1077
     MRC-CCK ON: 0
    MRC-CCK OFF: 0
    FIR-STEP UP: 677
  FIR-STEP DOWN: 388
 INV LISTENTIME: 0
    OFDM ERRORS: 3380271
     CCK ERRORS: 7111923

logread

Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA 00:26:5e:08:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA 7c:11:be:2d:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA 90:72:40:5c:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA 2c:a8:35:2f:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA 30:f7:c5:34:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA 14:10:9f:d2:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA 4c:b1:99:e3:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:16 2014 daemon.info hostapd: wlan0: STA 04:1e:64:6e:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:09:18 2014 daemon.info hostapd: wlan0: STA 04:f7:e4:72:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:11:06 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx IEEE 802.11: authenticated
Fri Mar 28 01:11:06 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx IEEE 802.11: associated (aid 5)
Fri Mar 28 01:11:06 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Mar 28 01:19:16 2014 daemon.info hostapd: wlan0: STA 00:26:5e:08:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:16 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:16 2014 daemon.info hostapd: wlan0: STA 14:10:9f:d2:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:16 2014 daemon.info hostapd: wlan0: STA 4c:b1:99:e3:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:16 2014 daemon.info hostapd: wlan0: STA 2c:a8:35:2f:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:16 2014 daemon.info hostapd: wlan0: STA 30:f7:c5:34:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:16 2014 daemon.info hostapd: wlan0: STA 7c:11:be:2d:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:17 2014 daemon.info hostapd: wlan0: STA 04:1e:64:6e:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:17 2014 daemon.info hostapd: wlan0: STA 90:72:40:5c:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:19:18 2014 daemon.info hostapd: wlan0: STA 04:f7:e4:72:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:24:25 2014 daemon.info hostapd: wlan0: STA 00:26:5e:08:xx:xx IEEE 802.11: disassociated
Fri Mar 28 01:29:16 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:29:16 2014 daemon.info hostapd: wlan0: STA 7c:11:be:2d:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:29:16 2014 daemon.info hostapd: wlan0: STA 30:f7:c5:34:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:29:16 2014 daemon.info hostapd: wlan0: STA 4c:b1:99:e3:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:29:16 2014 daemon.info hostapd: wlan0: STA 04:f7:e4:72:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:29:16 2014 daemon.info hostapd: wlan0: STA 2c:a8:35:2f:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:29:17 2014 daemon.info hostapd: wlan0: STA 90:72:40:5c:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:29:18 2014 daemon.info hostapd: wlan0: STA 04:1e:64:6e:xx:xx WPA: group key handshake completed (RSN)
Fri Mar 28 01:29:25 2014 daemon.info hostapd: wlan0: STA 14:10:9f:d2:xx:xx IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 28 01:29:26 2014 daemon.info hostapd: wlan0: STA 14:10:9f:d2:xx:xx IEEE 802.11: authenticated
Fri Mar 28 01:29:26 2014 daemon.info hostapd: wlan0: STA 14:10:9f:d2:xx:xx IEEE 802.11: associated (aid 4)
Fri Mar 28 01:29:26 2014 daemon.info hostapd: wlan0: STA 14:10:9f:d2:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Mar 28 01:32:17 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx IEEE 802.11: authenticated
Fri Mar 28 01:32:17 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx IEEE 802.11: associated (aid 5)
Fri Mar 28 01:32:18 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Mar 28 01:33:32 2014 daemon.info hostapd: wlan0: STA 14:10:9f:d2:xx:xx IEEE 802.11: disconnected due to excessive missing ACKs
Fri Mar 28 01:34:02 2014 daemon.info hostapd: wlan0: STA 14:10:9f:d2:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 01:34:39 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx IEEE 802.11: disconnected due to excessive missing ACKs
Fri Mar 28 01:35:09 2014 daemon.info hostapd: wlan0: STA b4:82:fe:8e:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 01:36:48 2014 daemon.info hostapd: wlan0: STA 7c:11:be:2d:xx:xx IEEE 802.11: disassociated due to inactivity
Fri Mar 28 01:36:49 2014 daemon.info hostapd: wlan0: STA 7c:11:be:2d:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 01:37:01 2014 daemon.info hostapd: wlan0: STA 4c:b1:99:e3:xx:xx IEEE 802.11: disassociated due to inactivity
Fri Mar 28 01:37:02 2014 daemon.info hostapd: wlan0: STA 4c:b1:99:e3:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 01:37:19 2014 daemon.info hostapd: wlan0: STA 30:f7:c5:34:xx:xx IEEE 802.11: disassociated due to inactivity
Fri Mar 28 01:37:20 2014 daemon.info hostapd: wlan0: STA 30:f7:c5:34:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 01:37:23 2014 daemon.info hostapd: wlan0: STA 04:f7:e4:72:xx:xx IEEE 802.11: disassociated due to inactivity
Fri Mar 28 01:37:24 2014 daemon.info hostapd: wlan0: STA 04:f7:e4:72:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 01:37:35 2014 daemon.info hostapd: wlan0: STA 90:72:40:5c:xx:xx IEEE 802.11: disassociated due to inactivity
Fri Mar 28 01:37:36 2014 daemon.info hostapd: wlan0: STA 90:72:40:5c:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 01:37:39 2014 daemon.info hostapd: wlan0: STA 2c:a8:35:2f:xx:xx IEEE 802.11: disassociated due to inactivity
Fri Mar 28 01:37:40 2014 daemon.info hostapd: wlan0: STA 2c:a8:35:2f:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 01:37:42 2014 daemon.info hostapd: wlan0: STA 04:1e:64:6e:xx:xx IEEE 802.11: disassociated due to inactivity
Fri Mar 28 01:37:43 2014 daemon.info hostapd: wlan0: STA 04:1e:64:6e:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Mar 28 14:09:15 2014 authpriv.info dropbear[1102]: Child connection from 192.168.1.64:49218
Fri Mar 28 14:09:23 2014 authpriv.notice dropbear[1102]: Password auth succeeded for 'root' from 192.168.1.64:49218

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by anonymous

+1

comment:2 Changed 4 years ago by nbd

Please try copying http://nbd.name/950-test.patch to package/kernel/mac80211/patches and see if it helps.

comment:3 Changed 4 years ago by nbd

The patch has been committed. Here's another one that might improve things further, please test: ​http://nbd.name/950-test2.patch

comment:4 Changed 4 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:5 Changed 3 years ago by anonymous

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=898626

when you disable the Adaptive Noise Immunity support
your marriage should be saved
I had the same issues last weeks at least daily
that wifi was dropped and don't recover without a reboot
at least it works for me the last 5 days without any reboot Smile

root@cable:~# head /sys/kernel/debug/ieee80211/phy0/ath9k/ani
ANI: ENABLED
ANI RESET: 37
OFDM LEVEL: 8
CCK LEVEL: 2
SPUR UP: 12
SPUR DOWN: 12
OFDM WS-DET ON: 315
OFDM WS-DET OFF: 317
MRC-CCK ON: 0
MRC-CCK OFF: 0
root@cable:~# echo 0 > /sys/kernel/debug/ieee80211/phy0/ath9k/ani
root@cable:~# head /sys/kernel/debug/ieee80211/phy0/ath9k/ani
ANI: DISABLED

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.