Wlan enters disabled state

Hello,
i have an TP-Link TL-WDR4300 with OpenWrt 18.06.1.
But the following isue i still had with an older version of openwrt (barrier breacher?)

The setup works fine since 2014, but in the last weeks all wifi Clients are offline serveral times.

The Router/DHCP Server ist a FritzBox7490, the TP-Link works only as an access point.

There is an Repeater TP-Link TL-WA860RE with OpenWrt 18.06.1.

The only way to get clients back online is to switch on/off on the TP-Link or connect via pc (cable connection) and restart the device or the wireless adapter.

All Clients have static IPs.

I'm not a specialist and hope you can help me out of the struggle.

Now the logs before the issue

Tue Jan 22 16:12:05 2019 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 68:48:98:bd:2c:8e
Tue Jan 22 16:12:05 2019 daemon.info hostapd: wlan0: STA 68:48:98:bd:2c:8e WPA: pairwise key handshake completed (RSN)
Tue Jan 22 16:17:23 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 68:48:98:bd:2c:8e
Tue Jan 22 16:17:23 2019 daemon.info hostapd: wlan0: STA 68:48:98:bd:2c:8e IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:17:24 2019 daemon.info hostapd: wlan0: STA 68:48:98:bd:2c:8e IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:22:08 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 88:32:9b:9f:92:0a
Tue Jan 22 16:22:08 2019 daemon.info hostapd: wlan0: STA 88:32:9b:9f:92:0a IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:22:09 2019 daemon.info hostapd: wlan0: STA 88:32:9b:9f:92:0a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:22:58 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 50:c7:bf:5f:23:23
Tue Jan 22 16:22:58 2019 daemon.info hostapd: wlan0: STA 50:c7:bf:5f:23:23 IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:22:59 2019 daemon.info hostapd: wlan0: STA 50:c7:bf:5f:23:23 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:23:11 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 00:25:56:18:30:28
Tue Jan 22 16:23:11 2019 daemon.info hostapd: wlan0: STA 00:25:56:18:30:28 IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:23:12 2019 daemon.info hostapd: wlan0: STA 00:25:56:18:30:28 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:23:18 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED b4:7c:9c:9e:10:eb
Tue Jan 22 16:23:18 2019 daemon.info hostapd: wlan0: STA b4:7c:9c:9e:10:eb IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:23:18 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:c5:e1:0f:de:3d
Tue Jan 22 16:23:18 2019 daemon.info hostapd: wlan0: STA 08:c5:e1:0f:de:3d IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:23:19 2019 daemon.info hostapd: wlan0: STA b4:7c:9c:9e:10:eb IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:23:19 2019 daemon.info hostapd: wlan0: STA 08:c5:e1:0f:de:3d IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:23:19 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 4c:ef:c0:8b:b8:24
Tue Jan 22 16:23:19 2019 daemon.info hostapd: wlan0: STA 4c:ef:c0:8b:b8:24 IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:23:20 2019 daemon.info hostapd: wlan0: STA 4c:ef:c0:8b:b8:24 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:23:23 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 18:1e:b0:69:19:d5
Tue Jan 22 16:23:23 2019 daemon.info hostapd: wlan0: STA 18:1e:b0:69:19:d5 IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:23:24 2019 daemon.info hostapd: wlan0: STA 18:1e:b0:69:19:d5 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:23:29 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED e8:ab:fa:2b:c6:e7
Tue Jan 22 16:23:29 2019 daemon.info hostapd: wlan0: STA e8:ab:fa:2b:c6:e7 IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:23:30 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 3c:95:09:02:6e:93
Tue Jan 22 16:23:30 2019 daemon.info hostapd: wlan0: STA 3c:95:09:02:6e:93 IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:23:30 2019 daemon.info hostapd: wlan0: STA e8:ab:fa:2b:c6:e7 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:23:31 2019 daemon.info hostapd: wlan0: STA 3c:95:09:02:6e:93 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:23:34 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 60:01:94:3f:06:9e
Tue Jan 22 16:23:34 2019 daemon.info hostapd: wlan0: STA 60:01:94:3f:06:9e IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:23:35 2019 daemon.info hostapd: wlan0: STA 60:01:94:3f:06:9e IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:28:27 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED c4:6e:1f:3a:72:0e
Tue Jan 22 16:28:27 2019 daemon.info hostapd: wlan0: STA c4:6e:1f:3a:72:0e IEEE 802.11: disassociated due to inactivity
Tue Jan 22 16:28:28 2019 daemon.info hostapd: wlan0: STA c4:6e:1f:3a:72:0e IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 16:28:28 2019 kern.info kernel: [ 1093.844998] device wlan0.sta1 left promiscuous mode
Tue Jan 22 16:28:28 2019 kern.info kernel: [ 1093.850066] br-lan: port 4(wlan0.sta1) entered disabled state

Have you tried searching the forum?

Hi,

i googled open wrt entered disabled state but i didn't find any solutions.
But your recomment to search for "disassociated due to inactivity" brings me better results.
I read the results. THX so far.

I found this:

But how i config these? Sorry, noobi question. I only know the Luci interface.

In the middle of the wifi network configuration page under Interface Configuration, click the Advanced Settings tab and unclick the disassociate with low ack check box at the bottom.

It is common and normal for clients like phones and tablets to disassociate when they are sleeping.

When a WDS client associates, a new interface wlanX.staY (interestingly, Y starts at 1 not 0) is created and added to the br-lan bridge. This is deleted when it disassociates. All of the non-WDS clients operate through the wlanX interface, which is never deleted even if there are no clients.

But I do have a feeling there is something a little buggy in the later ath9k.

I Found it. Thanks. I give Feedback if the problem is gone. But why this problem is new with the router. It works 4 years without this problem.

Tue Jan 22 20:01:29 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED e8:ab:fa:2b:c6:e7
Tue Jan 22 20:01:29 2019 daemon.info hostapd: wlan0: STA e8:ab:fa:2b:c6:e7 IEEE 802.11: disassociated due to inactivity
Tue Jan 22 20:01:30 2019 daemon.info hostapd: wlan0: STA e8:ab:fa:2b:c6:e7 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 20:01:30 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED c4:6e:1f:3a:72:0e
Tue Jan 22 20:01:30 2019 daemon.info hostapd: wlan0: STA c4:6e:1f:3a:72:0e IEEE 802.11: disassociated due to inactivity
Tue Jan 22 20:01:32 2019 daemon.info hostapd: wlan0: STA c4:6e:1f:3a:72:0e IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 22 20:01:32 2019 kern.info kernel: [ 7231.886572] device wlan0.sta1 left promiscuous mode
Tue Jan 22 20:01:32 2019 kern.info kernel: [ 7231.891670] br-lan: port 4(wlan0.sta1) entered disabled state
Tue Jan 22 20:01:33 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 2c:3a:e8:2e:a0:31
Tue Jan 22 20:01:33 2019 daemon.info hostapd: wlan0: STA 2c:3a:e8:2e:a0:31 IEEE 802.11: disassociated due to inactivity
Tue Jan 22 20:01:34 2019 daemon.info hostapd: wlan0: STA 2c:3a:e8:2e:a0:31 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

Does not work

The AP or Repeater ?

The Access Point. I unplug the repeater for a while, but this change nothing.