USB-WiFi icon indicating copy to clipboard operation
USB-WiFi copied to clipboard

[Help]: High latency with Mediatek mt7921 and Model: COMFAST CF-952AX

Open HuaZ opened this issue 1 year ago • 7 comments

Checklist

  • [X] I acknowledge that support is provided on a best-effort basis.
  • [X] I acknowledge that the authors and contributors to this repository cannot be held responsible for the results of my use of any information contained in or linked from this repository.

uname

Linux raspberrypi 5.19.17-v7l #1 SMP Wed Sep 20 12:06:15 CST 2023 armv7l GNU/Linux

lsusb

Bus 001 Device 003: ID 3574:6211

rfkill

0: phy0: Wireless LAN Soft blocked: no Hard blocked: no

dkms

null

iw

phy#0
        Interface wlan0
                ifindex 3
                wdev 0x1
                addr e0:e1:a9:36:26:df
                type managed
                channel 161 (5805 MHz), width: 80 MHz, center1: 5775 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

What happened?

I used COMFAST Model:CF-952AX with MT7921u driver on the Raspberry Pi 4B

ethtool -i wlan0
driver: mt7921u
version: 5.19.17-v7l
firmware-version: ____010000-20240826151030
expansion-rom-version:
bus-info: 1-1.3:1.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
modinfo mt7921u
filename:       /lib/modules/5.19.17-v7l/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921u.ko.xz
license:        Dual BSD/GPL
author:         Lorenzo Bianconi <[email protected]>
firmware:       mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
firmware:       mediatek/WIFI_RAM_CODE_MT7961_1.bin
srcversion:     78A8A76A4A305A2938754ED
alias:          usb:v0E8Dp7961d*dc*dsc*dp*icFFiscFFipFFin*
depends:        mt76-connac-lib,mt76-usb,mt7921-common,mt76
intree:         Y
name:           mt7921u
vermagic:       5.19.17-v7l SMP mod_unload modversions ARMv7 p2v8
sudo dmesg |grep 'mt'
[    7.897372] usbcore: registered new interface driver mt7921u
[    8.306440] mt7921u 1-1.3:1.0: HW/SW Version: 0x8a108a10, Build Time: 20240826150948a
[    8.594406] mt7921u 1-1.3:1.0: WM Firmware Version: ____010000, Build Time: 20240826151030

which works, but with really high latencies。 I have also tried some older firmware versions, and the situation is the same.

pi@raspberrypi:~ $ ping 192.168.50.1
PING 192.168.50.1 (192.168.50.1) 56(84) bytes of data.
64 bytes from 192.168.50.1: icmp_seq=1 ttl=64 time=2.50 ms
64 bytes from 192.168.50.1: icmp_seq=2 ttl=64 time=328 ms
64 bytes from 192.168.50.1: icmp_seq=3 ttl=64 time=2.43 ms
64 bytes from 192.168.50.1: icmp_seq=4 ttl=64 time=375 ms
64 bytes from 192.168.50.1: icmp_seq=5 ttl=64 time=5.05 ms
64 bytes from 192.168.50.1: icmp_seq=6 ttl=64 time=319 ms
64 bytes from 192.168.50.1: icmp_seq=7 ttl=64 time=2.39 ms
64 bytes from 192.168.50.1: icmp_seq=8 ttl=64 time=365 ms
64 bytes from 192.168.50.1: icmp_seq=9 ttl=64 time=2.94 ms
64 bytes from 192.168.50.1: icmp_seq=10 ttl=64 time=311 ms
64 bytes from 192.168.50.1: icmp_seq=11 ttl=64 time=2.05 ms
64 bytes from 192.168.50.1: icmp_seq=12 ttl=64 time=357 ms

Any suggestions? thanks a lot.

HuaZ avatar Sep 05 '24 08:09 HuaZ