Closed
Conversation
When the backlog queue fill up, the device does not respond over wlan reliably. Sometimes, the backlog is cleared after a few minutes, but in busy environments this takes far too long and gets the system into an unresponsive state. Pings are not responend, traffic is stalled. I experienced these issues on various Zyxel NWA 55 AXE as well as on an Acer Vero W6M in busy environments.
Djfe
reviewed
Sep 30, 2025
| # SPDX-License-Identifier: MIT | ||
| include $(TOPDIR)/rules.mk | ||
|
|
||
| PKG_NAME:=ffac-mt7915-hotfix |
| define Package/$(PKG_NAME) | ||
| SECTION:=gluon | ||
| CATEGORY:=Gluon | ||
| TITLE:=reboot device if mt7915e driver shows known failure symptom |
| if [ "$backlog" -gt 50 ]; then | ||
| logger -s -t "ffac-mt7915-backlog" -p 5 "$phy_name: Backlog > 50 ($backlog) - restarting wifi" | ||
| wifi | ||
| wifi |
Member
There was a problem hiding this comment.
copy paste issue: wifi twice in lines 9 and 10
this might prevent elif from working
| @@ -0,0 +1,15 @@ | |||
| #!/bin/sh | |||
|
|
|||
| for phy in /sys/kernel/debug/ieee80211/phy*; do | |||
| phy_name=$(basename "$phy") | ||
| backlog=$(iw phy "$phy_name" get txq | awk '/Backlog/ {print $2}') | ||
|
|
||
| if [ "$backlog" -gt 50 ]; then |
Member
There was a problem hiding this comment.
maybe set 50 as a variable so it can be adjusted above and then used here and in the logger message
Member
There was a problem hiding this comment.
I suggest either using a value larger than 50 or only running wifi on second or third run discovering that a backlog has accumulated to prevent wifi from being restarted constantly (bad user experience since it disconnects all clients).
Member
Author
|
This package triggers every 5 minutes and does not really improve the situation.. Except for creating some logging of it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the backlog queue fill up, the device does not respond over wlan reliably. Sometimes, the backlog is cleared after a few minutes, but in busy environments this takes far too long and gets the system into an unresponsive state. Pings are not responend, traffic is stalled.
I experienced these issues on various Zyxel NWA 55 AXE as well as on an Acer Vero W6M in busy environments.
See also: openwrt/mt76#1009