Wi-Fi client goes down when link stressed

Hi all,

I have been using OpenWrt on my home routers for a while now and enjoy the flexibility it offers me. However, I am now in a situation where one of my networks is unreliable and would like some advice.

On my Netgear Nighthawk X6 (R8000) running version 22.03.5, I have set up a Wi-Fi client mode connection to my home network on wlan2 (a 5GHz band). When it works, it works great, and I achieve the full wan speed of 40 Mbit down/10 up with low ping. But when I stress the link for a bit (just by browsing the internet, downloading a file, doing a speedtest, etc.), the link suddenly goes down, and then comes back up around 2 minutes after.

I have tried playing with some settings for wlan2 like disabling/enabling short preamble, inactivity polling and disabling on low ack acknowledgement, but none of this seems to have any effect. Since I do not know what I am doing, I would like your input on how to possibly resolve this matter.

This is how my collectd graphs look at the moment the link goes down:

Here are some system logs during this event:

Mon Sep 25 08:57:13 2023 daemon.notice wpa_supplicant[2375]: wlan2: CTRL-EVENT-DISCONNECTED bssid=9c:ff:5e:7d:b7:4c reason=0 locally_generated=1
Mon Sep 25 08:57:13 2023 daemon.notice netifd: Network device 'wlan2' link is down
Mon Sep 25 08:57:13 2023 daemon.notice netifd: Interface 'wwan' has link connectivity loss
Mon Sep 25 08:57:13 2023 daemon.notice netifd: wwan (9556): udhcpc: received SIGTERM
Mon Sep 25 08:57:13 2023 daemon.notice netifd: wwan (9556): udhcpc: unicasting a release of 192.168.178.102 to 192.168.178.1
Mon Sep 25 08:57:13 2023 daemon.notice netifd: wwan (9556): udhcpc: sending release
Mon Sep 25 08:57:13 2023 daemon.notice netifd: wwan (9556): udhcpc: entering released state
Mon Sep 25 08:57:13 2023 daemon.notice netifd: wwan (9556): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan" } (Permission denied)
Mon Sep 25 08:57:13 2023 daemon.notice netifd: Interface 'wwan' is now down
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Mon Sep 25 08:57:13 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Mon Sep 25 08:57:13 2023 daemon.notice netifd: Interface 'wwan' is disabled
Mon Sep 25 08:57:13 2023 kern.err kernel: [66332.349428] ieee80211 phy2: brcmf_inetaddr_changed: fail to get arp ip table err:-52
Mon Sep 25 08:57:13 2023 daemon.notice netifd: Interface 'wwan' is enabled
Mon Sep 25 08:57:14 2023 user.notice mwan3-hotplug[10371]: Execute ifdown event on interface wwan (unknown)
Mon Sep 25 08:57:14 2023 user.info mwan3track[16198]: Detect ifdown event on interface wwan (wlan2)
Mon Sep 25 08:57:14 2023 user.notice mwan3track[16198]: Interface wwan (wlan2) is offline
Mon Sep 25 08:57:15 2023 user.notice mwan3-hotplug[10513]: Execute disconnected event on interface wwan (wlan2)
Mon Sep 25 08:57:54 2023 daemon.notice wpa_supplicant[2375]: wlan2: Trying to associate with SSID 'HomeSweetHome'
Mon Sep 25 08:57:55 2023 daemon.notice wpa_supplicant[2375]: wlan2: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
Mon Sep 25 08:57:55 2023 daemon.notice wpa_supplicant[2375]: wlan2: Trying to associate with SSID 'HomeSweetHome'
Mon Sep 25 08:57:56 2023 daemon.notice wpa_supplicant[2375]: wlan2: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
Mon Sep 25 08:57:57 2023 daemon.notice wpa_supplicant[2375]: wlan2: Trying to associate with SSID 'HomeSweetHome'
Mon Sep 25 08:57:57 2023 daemon.notice wpa_supplicant[2375]: wlan2: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
Mon Sep 25 08:57:57 2023 daemon.notice wpa_supplicant[2375]: wlan2: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="HomeSweetHome" auth_failures=1 duration=10 reason=CONN_FAILED
Mon Sep 25 08:58:06 2023 daemon.notice wpa_supplicant[2375]: wlan2: CTRL-EVENT-SSID-REENABLED id=0 ssid="HomeSweetHome"
Mon Sep 25 08:58:06 2023 daemon.notice wpa_supplicant[2375]: wlan2: Trying to associate with SSID 'HomeSweetHome'
Mon Sep 25 08:58:07 2023 daemon.notice netifd: Network device 'wlan2' link is up
Mon Sep 25 08:58:07 2023 daemon.notice netifd: Interface 'wwan' has link connectivity
Mon Sep 25 08:58:07 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Mon Sep 25 08:58:07 2023 daemon.notice wpa_supplicant[2375]: wlan2: Associated with 9c:ff:5e:7d:b7:4c
Mon Sep 25 08:58:07 2023 daemon.notice wpa_supplicant[2375]: wlan2: CTRL-EVENT-CONNECTED - Connection to 9c:ff:5e:7d:b7:4c completed [id=0 id_str=]
Mon Sep 25 08:58:07 2023 daemon.notice wpa_supplicant[2375]: wlan2: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Mon Sep 25 08:58:07 2023 daemon.notice netifd: wwan (11070): udhcpc: started, v1.35.0
Mon Sep 25 08:58:07 2023 daemon.notice netifd: wwan (11070): udhcpc: broadcasting discover
Mon Sep 25 08:58:10 2023 daemon.notice netifd: wwan (11070): udhcpc: broadcasting discover
Mon Sep 25 08:58:13 2023 daemon.notice netifd: wwan (11070): udhcpc: broadcasting discover
Mon Sep 25 08:58:53 2023 daemon.notice netifd: wwan (11070): udhcpc: broadcasting select for 192.168.178.102, server 192.168.178.1
Mon Sep 25 08:58:54 2023 daemon.notice netifd: wwan (11070): udhcpc: lease of 192.168.178.102 obtained from 192.168.178.1, lease time 864000
Mon Sep 25 08:58:54 2023 kern.err kernel: [66432.702671] ieee80211 phy2: brcmf_inetaddr_changed: fail to get arp ip table err:-52
Mon Sep 25 08:58:54 2023 daemon.notice netifd: Interface 'wwan' is now up
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using nameserver 192.168.178.1#53
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Mon Sep 25 08:58:54 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Mon Sep 25 08:58:54 2023 user.notice mwan3-hotplug[12088]: Execute ifup event on interface wwan (wlan2)
Mon Sep 25 08:58:55 2023 user.info mwan3track[16198]: Detect ifup event on interface wwan (wlan2)
Mon Sep 25 08:58:55 2023 user.info mwan3track[16198]: Check (ping) success for target "1.0.0.1" on interface wwan (wlan2). Current score: 0
Mon Sep 25 08:58:55 2023 user.notice mwan3track[16198]: Interface wwan (wlan2) is connecting
Mon Sep 25 08:58:55 2023 user.notice firewall: Reloading firewall due to ifup of wwan (wlan2)
Mon Sep 25 08:58:56 2023 user.notice mwan3track[16198]: Interface wwan (wlan2) is online
1 Like

i live same problems. but i couldnt find a solution. i think there is a general problem at openwrt firmware(especialy 5ghz band).

my post link; Speed Fluctuation Problem! - Installing and Using OpenWrt - OpenWrt Forum

I believe your linked issue is different. I do not experience any speed fluctuation, rather I experience a sudden total loss of connection for about 2 minutes when stressing the connection.

1 Like

When my speed fluctuates, even my access to the router is cut off. It's somewhat similar to yours. There is no problem with stock rom, but with openwrt the wireless network crashes.

I have also tried wlan1 (the 2.4 GHz band), but I experience the exact same problem.

Tue Sep 26 16:20:33 2023 daemon.notice wpa_supplicant[2439]: wlan1: CTRL-EVENT-DISCONNECTED bssid=29:1b:52:54:4b:4c reason=0 locally_generated=1
Tue Sep 26 16:20:33 2023 daemon.notice netifd: Network device 'wlan1' link is down
Tue Sep 26 16:20:33 2023 daemon.notice netifd: Interface 'wwan2' has link connectivity loss
Tue Sep 26 16:20:33 2023 daemon.notice netifd: wwan2 (6037): udhcpc: received SIGTERM
Tue Sep 26 16:20:33 2023 daemon.notice netifd: wwan2 (6037): udhcpc: unicasting a release of 192.168.178.58 to 192.168.178.1
Tue Sep 26 16:20:33 2023 daemon.notice netifd: wwan2 (6037): udhcpc: sending release
Tue Sep 26 16:20:33 2023 daemon.notice netifd: wwan2 (6037): udhcpc: entering released state
Tue Sep 26 16:20:33 2023 daemon.notice netifd: wwan2 (6037): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan2" } (Permission denied)
Tue Sep 26 16:20:33 2023 daemon.notice netifd: Interface 'wwan2' is now down
Tue Sep 26 16:20:33 2023 daemon.notice netifd: Interface 'wwan2' is disabled
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Tue Sep 26 16:20:33 2023 daemon.notice netifd: Interface 'wwan2' is enabled
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Tue Sep 26 16:20:33 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Tue Sep 26 16:20:33 2023 kern.err kernel: [82851.780269] ieee80211 phy1: brcmf_inetaddr_changed: fail to get arp ip table err:-52
Tue Sep 26 16:20:33 2023 user.notice mwan3-hotplug[19952]: Execute ifdown event on interface wwan2 (unknown)
Tue Sep 26 16:20:34 2023 user.info mwan3track[21706]: Detect ifdown event on interface wwan2 (wlan1)
Tue Sep 26 16:20:34 2023 user.notice mwan3track[21706]: Interface wwan2 (wlan1) is offline
Tue Sep 26 16:20:34 2023 daemon.notice wpa_supplicant[2439]: wlan1: Trying to associate with SSID 'HomeSweetHome'
Tue Sep 26 16:20:35 2023 user.notice mwan3-hotplug[20099]: Execute disconnected event on interface wwan2 (wlan1)
Tue Sep 26 16:20:36 2023 daemon.notice wpa_supplicant[2439]: wlan1: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
Tue Sep 26 16:20:36 2023 daemon.notice wpa_supplicant[2439]: BSSID 29:1b:52:54:4b:4c ignore list count incremented to 2, ignoring for 10 seconds
Tue Sep 26 16:20:37 2023 daemon.notice wpa_supplicant[2439]: wlan1: Trying to associate with SSID 'HomeSweetHome'
Tue Sep 26 16:20:39 2023 daemon.notice wpa_supplicant[2439]: wlan1: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
Tue Sep 26 16:20:39 2023 daemon.notice wpa_supplicant[2439]: BSSID 29:1b:52:54:4b:4c ignore list count incremented to 2, ignoring for 10 seconds
Tue Sep 26 16:20:40 2023 daemon.notice wpa_supplicant[2439]: wlan1: Trying to associate with SSID 'HomeSweetHome'
Tue Sep 26 16:20:41 2023 daemon.notice netifd: Network device 'wlan1' link is up
Tue Sep 26 16:20:41 2023 daemon.notice netifd: Interface 'wwan2' has link connectivity
Tue Sep 26 16:20:41 2023 daemon.notice netifd: Interface 'wwan2' is setting up now
Tue Sep 26 16:20:41 2023 daemon.notice wpa_supplicant[2439]: wlan1: Associated with 29:1b:52:54:4b:4c
Tue Sep 26 16:20:41 2023 daemon.notice wpa_supplicant[2439]: wlan1: CTRL-EVENT-CONNECTED - Connection to 29:1b:52:54:4b:4c completed [id=0 id_str=]
Tue Sep 26 16:20:41 2023 daemon.notice wpa_supplicant[2439]: wlan1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Tue Sep 26 16:20:41 2023 daemon.notice netifd: wwan2 (20529): udhcpc: started, v1.35.0
Tue Sep 26 16:20:41 2023 daemon.notice netifd: wwan2 (20529): udhcpc: broadcasting discover
Tue Sep 26 16:20:41 2023 daemon.notice netifd: wwan2 (20529): udhcpc: broadcasting select for 192.168.178.58, server 192.168.178.1
Tue Sep 26 16:20:41 2023 daemon.notice netifd: wwan2 (20529): udhcpc: lease of 192.168.178.58 obtained from 192.168.178.1, lease time 864000
Tue Sep 26 16:20:41 2023 kern.err kernel: [82860.045251] ieee80211 phy1: brcmf_inetaddr_changed: fail to get arp ip table err:-52
Tue Sep 26 16:20:41 2023 daemon.notice netifd: Interface 'wwan2' is now up
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using nameserver 192.168.178.1#53
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using nameserver 8.8.4.4#53
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Tue Sep 26 16:20:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Tue Sep 26 16:20:42 2023 user.notice mwan3-hotplug[20546]: Execute ifup event on interface wwan2 (wlan1)
Tue Sep 26 16:20:43 2023 user.info mwan3track[21706]: Detect ifup event on interface wwan2 (wlan1)
Tue Sep 26 16:20:43 2023 user.info mwan3track[21706]: Check (ping) success for target "1.0.0.1" on interface wwan2 (wlan1). Current score: 0
Tue Sep 26 16:20:43 2023 user.notice mwan3track[21706]: Interface wwan2 (wlan1) is connecting
Tue Sep 26 16:20:43 2023 user.notice firewall: Reloading firewall due to ifup of wwan2 (wlan1)
Tue Sep 26 16:20:43 2023 user.notice mwan3track[21706]: Interface wwan2 (wlan1) is online

At line 0, it says: CTRL-EVENT-DISCONNECTED reason=0. Looking for reason 0 online yields no results, other than "reserved" and "normal working operation".

I really am clueless. It indeed looks like a bug in OpenWrt, or more likely, the Broadcom wireless driver.