openwrt / openwrt/mt76

AP stops with mt76x2u: error: mt76x02u_mcu_wait_resp failed with -110

Open
#405 88 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

My AP usually stops when I update all the packages on my Android phone that were installed via google play.
I tried to reproduce it with iperf (client on my phone and server on my desktop).
It happened once but works alot.
I haven't found a way to reproduce it on demand.
I use a Raspberry Pi4 with an imagebuilder 2020-05-14 build of openwrt
and an Alfa AWUS036ACM (Mediatek MT7612U).
I have it set as a 5GHz access point.

I found this bug report that might be related:
mt76x2u mac specific condition occurred #403

# dmesg
[1461031.326341] mt76x2u 2-1:1.0: error: mt76x02u_mcu_wait_resp failed with -110

After remove and insert USB device:

# dmesg
[1461528.333182] usb 2-1: USB disconnect, device number 14
[1461528.555583] mt76x2u 2-1:1.0: mac specific condition occurred
[1461528.665062] mt76x2u 2-1:1.0: mac specific condition occurred
[1461528.765063] mt76x2u 2-1:1.0: timed out waiting for pending tx
[1461528.771773] br-lan: port 2(wlan12) entered disabled state
[1461528.782735] device wlan12 left promiscuous mode
[1461528.787501] br-lan: port 2(wlan12) entered disabled state
[1461530.265357] usb 2-1: new SuperSpeed Gen 1 USB device number 15 using xhci_hcd
[1461530.290773] usb 2-1: New USB device found, idVendor=0e8d, idProduct=7612, bcdDevice= 1.00
[1461530.299179] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[1461530.306529] usb 2-1: Product: Wireless 
[1461530.310568] usb 2-1: Manufacturer: MediaTek Inc.
[1461530.315387] usb 2-1: SerialNumber: 000000000
[1461530.453673] usb 2-1: reset SuperSpeed Gen 1 USB device number 15 using xhci_hcd
[1461530.483230] mt76x2u 2-1:1.0: ASIC revision: 76120044
[1461530.521613] mt76x2u 2-1:1.0: ROM patch build: 20141115060606a
[1461530.696481] mt76x2u 2-1:1.0: Firmware Version: 0.0.00
[1461530.701755] mt76x2u 2-1:1.0: Build: 1
[1461530.705606] mt76x2u 2-1:1.0: Build Time: 201507311614____
[1461531.521298] ieee80211 phy13: Selected rate control algorithm 'minstrel_ht'

I reset USB device from Luci and it works.

Any ideas on how to reproduce it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the mt76x2u_mcu_wait_resp failure and the mt76x2u log messages in the report, then try the described iperf traffic between the Android phone and desktop. Compare the behavior with related issue #403 and determine whether the AP failure can be reproduced reliably; done requires an identified cause and a validated fix or reproduction procedure.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, raspberry-pi
Domain
embedded-iot, networking, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.