MT7612u driver failing in AP mode

Hey all, I just installed a new ALFA AWUS036ACM with MT7612u driver on my pi router. When it works, it works great!. 300 or so mbps down (270 from steam!), but it seems to crash every few hours. Reloading the driver mod requires a reboot. I'm getting error -110 'mcu_wait_resp'. Are any of you aware of alternative drivers that work better or a self healing solution without reboot?

What OpenWrt-version?

21.02.3. Fresh install

Maybe try snapshot and see, if it works better? Another option could be turning the USB-ports off for a second and then back on with a script, when the driver crashes with uhubctl?

I have a different wifi usb adapter based in the same chipset, if the following file exists:

ls /sys/module/mt76_usb/parameters/disable_usb_sg

try setting true the above parameter with:

mv /etc/modules.d/mt76-usb /etc
echo "mt76_usb disable_usb_sg=1" > /etc/modules.d/mt76-usb

and reboot the rpi

1 Like

It was set to 0, so I set it to 1. After that my speeds are limited to 100mbps instead of 270mbps like I was getting before. Did you encounter something similar?

As the usb adapter was unusable before setting the parameter, I don't know if are any slowdown, currently the adapter is in a nano pi r4s working in 5Ghz band channel 36 VHT80 and testing with iperf3:

sending to:
 iperf3 -c 192.168.1.1 -t 15s -i1s
Connecting to host 192.168.1.1, port 5201
[  5] local 192.168.2.50 port 36156 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  16.5 MBytes   138 Mbits/sec    0    469 KBytes       
[  5]   1.00-2.00   sec  12.5 MBytes   105 Mbits/sec    0    419 KBytes       
[  5]   2.00-3.00   sec  25.0 MBytes   210 Mbits/sec    0    749 KBytes       
[  5]   3.00-4.00   sec  25.0 MBytes   210 Mbits/sec    0    484 KBytes       
[  5]   4.00-5.00   sec  25.0 MBytes   210 Mbits/sec    0    489 KBytes       
[  5]   5.00-6.00   sec  23.8 MBytes   199 Mbits/sec    0    413 KBytes       
[  5]   6.00-7.00   sec  23.8 MBytes   199 Mbits/sec    0    416 KBytes       
[  5]   7.00-8.00   sec  11.2 MBytes  94.4 Mbits/sec    0    467 KBytes       
[  5]   8.00-9.00   sec  15.0 MBytes   126 Mbits/sec    0    478 KBytes       
[  5]   9.00-10.00  sec  15.0 MBytes   126 Mbits/sec    0   5.66 KBytes       
[  5]  10.00-11.00  sec  21.2 MBytes   178 Mbits/sec    0    450 KBytes       
[  5]  11.00-12.00  sec  25.0 MBytes   210 Mbits/sec    0    452 KBytes       
[  5]  12.00-13.00  sec  25.0 MBytes   210 Mbits/sec    0    436 KBytes       
[  5]  13.00-14.00  sec  13.8 MBytes   115 Mbits/sec    0    766 KBytes       
[  5]  14.00-15.00  sec  22.5 MBytes   189 Mbits/sec    0    574 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-15.00  sec   300 MBytes   168 Mbits/sec    0             sender
[  5]   0.00-15.01  sec   298 MBytes   166 Mbits/sec                  receiver

Receiving
iperf3 -c 192.168.1.1 -t 15s -i1s -R
Connecting to host 192.168.1.1, port 5201
Reverse mode, remote host 192.168.1.1 is sending
[  5] local 192.168.2.50 port 52186 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  18.5 MBytes   155 Mbits/sec                  
[  5]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec                  
[  5]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec                  
[  5]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec                  
[  5]   4.00-5.00   sec   337 KBytes  2.76 Mbits/sec                  
[  5]   5.00-6.00   sec  18.2 MBytes   152 Mbits/sec                  
[  5]   6.00-7.00   sec  0.00 Bytes  0.00 bits/sec                  
[  5]   7.00-8.00   sec  90.5 KBytes   742 Kbits/sec                  
[  5]   8.00-9.00   sec   479 KBytes  3.93 Mbits/sec                  
[  5]   9.00-10.00  sec  3.61 MBytes  30.2 Mbits/sec                  
[  5]  10.00-11.00  sec  34.9 MBytes   292 Mbits/sec                  
[  5]  11.00-12.00  sec  43.8 MBytes   367 Mbits/sec                  
[  5]  12.00-13.00  sec  43.7 MBytes   367 Mbits/sec                  
[  5]  13.00-14.00  sec  43.4 MBytes   364 Mbits/sec                  
[  5]  14.00-15.00  sec  45.9 MBytes   385 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-15.00  sec   256 MBytes   143 Mbits/sec  355             sender
[  5]   0.00-15.00  sec   253 MBytes   141 Mbits/sec                  receiver

Would you mind sharing which wifi adapter you're currently using and what your wifi config is? Also what software/drivers you're using for the adapter?

Nvm, I'm just stupid. I had setup the integrated radio instead. Big Thanks for the help!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.