Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mt76: fix system recovery routine for MT7915 #3436

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

blocktrron
Copy link
Member

This is a draft-PR to fix the longstanding "Message timed out" errors with mt7915 based radios.

I've had positive experience with this patchset over the last 3 weeks and appreciate feedback from communities which frequently face this problem.

Sometimes, the node itself might crash when attempting recovery. I'm not entirely sure where this is happening, but it seems to be somewhere else in the mac80211 stack. The node comes back online by itself, so i still consider this an improvement over the current situation.

Log from a recovered node:

[1029591.814363] br-client: received packet on bat0 with own address as source address (addr:b8:ec:a3:e1:75:4f, vlan:0)
[1029592.855657] br-client: received packet on bat0 with own address as source address (addr:b8:ec:a3:e1:75:4f, vlan:0)
[1029592.856005] br-client: received packet on bat0 with own address as source address (addr:b8:ec:a3:e1:75:4f, vlan:0)
[1031792.254655] mt7915e 0000:02:00.0: Retry message 0000aded (seq 7)
[1031794.334830] mt7915e 0000:02:00.0: Message 0000aded (seq 7) timeout
[1031794.479827] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20240429200716a
[1031794.479827] 
[1031794.495189] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20240429200752
[1031794.518127] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20240429200812
[1031800.085604] ieee80211 phy0: Hardware restart was requested
[1031800.085669] ieee80211 phy1: Hardware restart was requested
[1206189.188440] br-client: received packet on bat0 with own address as source address (addr:b8:ec:a3:e1:75:4f, vlan:0)
[1206189.188719] br-client: received packet on bat0 with own address as source address (addr:b8:ec:a3:e1:75:4f, vlan:0)
[1211397.565504] br-client: received packet on bat0 with own address as source address (addr:b8:ec:a3:e1:75:4f, vlan:0)
[1211397.565790] br-client: received packet on bat0 with own address as source address (addr:b8:ec:a3:e1:75:4f, vlan:0)
[1275209.524711] Ignoring NSS change in VHT Operating Mode Notification from 90:9c:4a:ba:e4:a4 with invalid nss 3
[1278619.260856] br-client: port 6(owe1) entered disabled state
[1278619.298741] mt7915e 0000:02:00.0 owe1 (unregistering): left allmulticast mode
[1278619.298791] mt7915e 0000:02:00.0 owe1 (unregistering): left promiscuous mode

@blocktrron blocktrron force-pushed the mt7915-20250113-restart branch from ceb3262 to 1afebf7 Compare January 28, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant