morrownr / USB-WiFi

USB WiFi Adapter Information for Linux
2.4k stars 161 forks source link

[Help]: Fenvi AX1800 slow on OpenWRT, Fast on Ubuntu. #462

Open austonpramodh opened 5 days ago

austonpramodh commented 5 days ago

Checklist

uname

Linux OpenWrt 5.15.150 #0 SMP Fri Mar 22 22:09:42 2024 mips GNU/Linux

lsusb

Bus 002 Device 003: ID 0e8d:7961 MediaTek Inc. Wireless_Device

rfkill

rfkill: not found

dkms

dkms: not found

iw

phy#3
    Interface phy3-sta0
        ifindex 19
        wdev 0x300000003
        addr 90:de:80:47:92:22
        type managed
        channel 40 (5200 MHz), width: 80 MHz, center1: 5210 MHz
        txpower 3.00 dBm
        multicast TXQ:
            qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes    tx-packets
            0   0   0   0   0   0   0   0       0
phy#0
    Interface wlan0
        ifindex 6
        wdev 0x1
        addr 94:83:c4:11:96:c9
        type managed
        txpower 3.00 dBm
        multicast TXQ:
            qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes    tx-packets
            0   0   0   0   0   0   0   0       0

What happened?

I am using Fenvi AX1800(MT7921AU). It seems like its running slow on OpenWRT router, but runs fast on my PC(Ubuntu-24.04).

I tested the USB port if that was the issue, but it's not. Tested with USB3 SSD, got around 103MBps

image

Screenshot from 2024-06-26 00-58-03 Screenshot from 2024-06-26 00-58-14

Edit: Forgot to mention, The router I am using GL.INet MT1300

austonpramodh commented 4 days ago

Update: Got access to another router with OpenWRT. It gets the same 200mbps speed. I am assuming this could be a driver issue. image

But speeds are not going above 240mbps.

morrownr commented 4 days ago

Hi @austonpramodh

Sorry for the delay. Been busy.

A quick look and the first thing that comes to mind is that the USB port(s) are running in USB2 mode. Recommend you go to the OpenWRT command line and run:

lsusb -t

Things that I noticed:

wgetge commented 9 hours ago

You should check the MT1300 CPU usuage. I don't think MT7621 support HWNAT for USB Device. So most likely CPU bottlenecked.