openwrt / mt76

mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
731 stars 334 forks source link

mt7615: slow AC wifi speed on Linksys EA7500 v2 #305

Closed programmingisart closed 4 years ago

programmingisart commented 4 years ago

Hi, I am trying to bring support to Linksys EA7500 V2 with dual MT7615 The wifi works but the AC speed is about 50~150Mbps, which is not normal because the original firmware can do ~350Mbps, Thanks!

Btw, thanks for the hard work giving us an open source driver!

[    0.000000] Linux version 4.14.132 (jksl@jksl-ZenBook-Pro-15-UX550GDX-UX580GD) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10588-7b73cad7be)) #0 SMP Tue Jul 30 13:00:52 2019
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Linksys EA7500 V2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat 805ee4c0, node_mem_map 81003000
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4d8 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26064 r8192 d23088 u57344
[    0.000000] pcpu-alloc: s26064 r8192 d23088 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=00012400
[    0.000000] Readback ErrCtl register=00012400
[    0.000000] Memory: 251692K/262144K available (4784K kernel code, 251K rwdata, 1036K rodata, 1276K init, 254K bss, 10452K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007806] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073978] pid_max: default: 32768 minimum: 301
[    0.078799] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085308] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094469] Hierarchical SRCU implementation.
[    0.099691] smp: Bringing up secondary CPUs ...
[    0.104925] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.104935] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.104946] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.105083] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.164447] Synchronize counters for CPU 1: done.
[    0.198797] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.198806] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.198815] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.198892] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.255670] Synchronize counters for CPU 2: done.
[    0.286155] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.286164] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.286172] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.286250] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340855] Synchronize counters for CPU 3: done.
[    0.370721] smp: Brought up 1 node, 4 CPUs
[    0.379006] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.388807] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.395207] pinctrl core: initialized pinctrl subsystem
[    0.401827] NET: Registered protocol family 16
[    0.416384] FPU Affinity set after 11720 emulations
[    0.417069] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.722333] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.727366] ***** Xtal 40MHz *****
[    0.730737] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.735847] Port 0 N_FTS = 1b102800
[    0.739288] Port 1 N_FTS = 1b102800
[    0.742749] Port 2 N_FTS = 1b102800
[    1.898113] PCIE2 no card, disable it(RST&CLK)
[    1.902458]  -> 21007f2
[    1.904878] PCIE0 enabled
[    1.907485] PCIE1 enabled
[    1.910071] PCI host bridge /pcie@1e140000 ranges:
[    1.914831]  MEM 0x0000000060000000..0x000000006fffffff
[    1.920023]   IO 0x000000001e160000..0x000000001e16ffff
[    1.925189] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    1.941365] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.947193] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.952976] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.960272] PCI host bridge to bus 0000:00
[    1.964302] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.971158] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.976990] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.983746] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.991632] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.991671] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.991682] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.991744] pci 0000:00:00.0: supports D1
[    1.991753] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.991997] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.992024] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.992037] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.992086] pci 0000:00:01.0: supports D1
[    1.992095] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.992317] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.000251] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.008355] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    2.008405] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.008703] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.008936] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[    2.008999] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.009332] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.009359] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    2.009442] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.016016] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.022873] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.029455] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.036355] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.043110] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.049826] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    2.056593] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
[    2.063324] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.070600] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.075491] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.082257] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.089498] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.094429] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.102535] clocksource: Switched to clocksource GIC
[    2.109216] NET: Registered protocol family 2
[    2.114276] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.121161] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.127619] TCP: Hash tables configured (established 2048 bind 2048)
[    2.134033] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.139798] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.146303] NET: Registered protocol family 1
[    2.150623] PCI: CLS 0 bytes, default 32
[    2.382495] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.388866] Crashlog allocated RAM at address 0x3f00000
[    2.394276] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    2.409425] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.415244] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.426618] random: fast init done
[    2.432332] io scheduler noop registered
[    2.436304] io scheduler deadline registered (default)
[    2.441849] gpio-export gpio_export: 1 gpio(s) exported
[    2.447841] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.455572] console [ttyS0] disabled
[    2.459121] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    2.468131] console [ttyS0] enabled
[    2.475011] bootconsole [early0] disabled
[    2.483708] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.490556] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.497722] Enable NFI Clock
[    2.500594] # MTK NAND # : Use HW ECC
[    2.504285] Device not found, ID: c2f1
[    2.508013] Not Support this Device! 
[    2.511738] chip_mode=00000001
[    2.514794] Support this Device in MTK table! c2f1 
[    2.519742] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.526213] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    2.532556] nand: Macronix NAND 128MiB 3,3V 8-bit
[    2.537242] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.544806] Scanning device for bad blocks
[    2.790329] 11 fixed-partitions partitions found on MTD device MT7621-NAND
[    2.797191] Creating 11 MTD partitions on "MT7621-NAND":
[    2.802508] 0x000000000000-0x000000080000 : "boot"
[    2.808456] 0x000000080000-0x0000000c0000 : "u_env"
[    2.814432] 0x0000000c0000-0x000000100000 : "factory"
[    2.820537] 0x000000100000-0x000000140000 : "s_env"
[    2.826549] 0x000000140000-0x000000180000 : "devinfo"
[    2.832773] 0x000000180000-0x000000580000 : "kernel"
[    2.838863] 0x000000580000-0x000002980000 : "ubi"
[    2.844946] 0x000002980000-0x000002d80000 : "alt_kernel"
[    2.851381] 0x000002d80000-0x000005180000 : "alt_rootfs"
[    2.857981] 0x000005180000-0x000005280000 : "sysdiag"
[    2.863996] 0x000005280000-0x000007f80000 : "syscfg"
[    2.870193] [mtk_nand] probe successfully!
[    2.875002] Signature matched and data read!
[    2.879251] load_fact_bbt success 1023
[    2.883793] libphy: Fixed MDIO Bus: probed
[    2.954340] mtk_soc_eth 1e100000.ethernet: generated random MAC address 86:73:43:db:d8:82
[    2.962679] libphy: mdio: probed
[    4.365438] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.372051] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.382705] NET: Registered protocol family 10
[    4.388693] Segment Routing with IPv6
[    4.392429] NET: Registered protocol family 17
[    4.396982] 8021q: 802.1Q VLAN Support v1.8
[    4.404220] UBI: auto-attach mtd6
[    4.407546] ubi0: attaching mtd6
[    4.742054] ubi0: scanning is finished
[    4.760913] ubi0: attached mtd6 (name "ubi", size 36 MiB)
[    4.766331] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.773189] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.779943] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.786884] ubi0: good PEBs: 288, bad PEBs: 0, corrupted PEBs: 0
[    4.792876] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.800064] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 19541410
[    4.808992] ubi0: available PEBs: 0, total reserved PEBs: 288, PEBs reserved for bad PEB handling: 20
[    4.818211] ubi0: background thread "ubi_bgt0d" started, PID 389
[    4.820206] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.829716] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.836678] hctosys: unable to open rtc device (rtc0)
[    4.848181] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.859549] Freeing unused kernel memory: 1276K
[    4.864104] This architecture does not have kernel memory protection.
[    5.422945] init: Console is alive
[    5.426594] init: - watchdog -
[    5.902049] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[    6.083765] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.106510] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    6.159444] usbcore: registered new interface driver usbfs
[    6.165121] usbcore: registered new interface driver hub
[    6.170564] usbcore: registered new device driver usb
[    6.177356] gpio-keys keys: unable to claim gpio 12, err=-16
[    6.183097] gpio-keys: probe of keys failed with error -16
[    6.190781] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.198363] ehci-platform: EHCI generic platform driver
[    6.209433] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    6.218184] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    6.227125] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.232453] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    6.242684] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    6.251851] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    6.258675] hub 1-0:1.0: USB hub found
[    6.262562] hub 1-0:1.0: 2 ports detected
[    6.267222] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.272614] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    6.280086] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    6.286715] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.295684] hub 2-0:1.0: USB hub found
[    6.299517] hub 2-0:1.0: 1 port detected
[    6.308561] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.322910] init: - preinit -
[    7.023325] mtk_soc_eth 1e100000.ethernet: PPE started
[    7.098548] random: procd: uninitialized urandom read (4 bytes read)
[   10.246844] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 495
[   10.319881] UBIFS (ubi0:1): recovery needed
[   10.533003] UBIFS (ubi0:1): recovery completed
[   10.537564] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   10.545382] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.555266] UBIFS (ubi0:1): FS size: 28569600 bytes (27 MiB, 225 LEBs), journal size 1396736 bytes (1 MiB, 11 LEBs)
[   10.565671] UBIFS (ubi0:1): reserved for root: 1349412 bytes (1317 KiB)
[   10.572259] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 8EF4A13A-25A9-4C4F-8AEE-584CB6CF7AC5, small LPT model
[   10.584912] mount_root: switching to ubifs overlay
[   10.612011] urandom-seed: Seeding with /etc/urandom.seed
[   10.703927] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   10.719049] procd: - early -
[   10.722029] procd: - watchdog -
[   11.422714] procd: - watchdog -
[   11.426177] procd: - ubus -
[   11.499897] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.562049] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.568946] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.576237] procd: - init -
[   12.079576] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.089878] urngd: v1.0.0 started.
[   12.144716] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.156479] Loading modules backported from Linux version v5.2-rc7-0-g6fbc7275c7a9
[   12.164102] Backport generated by backports.git v5.2-rc7-1-0-g021a6ba1
[   12.172802] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.184777] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   12.231604] xt_time: kernel timezone is -0000
[   12.240014] random: crng init done
[   12.243484] random: 6 urandom warning(s) missed due to ratelimiting
[   12.285902] bus=0x1, slot = 0x0, irq=0x0
[   12.289855] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
[   12.313133] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   12.313133] 
[   12.528056] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20190103180756
[   12.543938] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
[   20.192806] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   20.195230] bus=0x2, slot = 0x1, irq=0x0
[   20.199221] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
[   20.223050] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   20.223050] 
[   20.248386] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20190103180756
[   20.264395] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
[   27.910461] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   27.918468] PPP generic driver version 2.4.2
[   27.924323] NET: Registered protocol family 24
[   27.931813] kmodloader: done loading kernel modules from /etc/modules.d/*
[   34.245615] mtk_soc_eth 1e100000.ethernet: PPE started
[   34.259745] device eth0 entered promiscuous mode
[   34.265531] br-lan: port 1(eth0.2) entered blocking state
[   34.271009] br-lan: port 1(eth0.2) entered disabled state
[   34.277269] device eth0.2 entered promiscuous mode
[   34.287508] br-lan: port 1(eth0.2) entered blocking state
[   34.292965] br-lan: port 1(eth0.2) entered forwarding state
[   34.299140] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   35.283365] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   36.585296] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   36.595642] br-lan: port 2(wlan1) entered blocking state
[   36.600994] br-lan: port 2(wlan1) entered disabled state
[   36.606979] device wlan1 entered promiscuous mode
[   39.546267] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   39.552951] br-lan: port 2(wlan1) entered blocking state
[   39.558252] br-lan: port 2(wlan1) entered forwarding state
dissent1 commented 4 years ago

In my case the tx speed is ~350 but rx is around 50 and drops very quickly with distance. At around 5 meters the wifi is unusable. TP-Link RE650 with eLNA/ePA.

sanitariu commented 4 years ago

Same is with Mediatek 7628 for example TP-Link 840 version 6. 2 meters away and signal is 50% low. Also from latest reisions router start to stuck each 3-4 days. I am unable to print crash log because it needs power cycle. Main problem is txpower. Seems like it is working at 15db or 15Miliwatt Maybe this is the default. All mediatek chips have that txpower problems.

On 3 Aug 2019, at 22:58, dissent1 notifications@github.com wrote:

In my case the tx speed is ~350 but rx is around 50 and drops very quickly with distance. At around 5 meters the wifi is unusable. TP-Link RE650 with eLNA/ePA.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openwrt/mt76/issues/305?email_source=notifications&email_token=ACVA45HFOBPL7T6CTN6C4FLQCXPPTA5CNFSM4IJDDJH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PUYXI#issuecomment-517950557, or mute the thread https://github.com/notifications/unsubscribe-auth/ACVA45FFR6S6BZDFTWF2SRLQCXPPTANCNFSM4IJDDJHQ.

iscilyas commented 4 years ago

same with xiaomi mir3p (mt7621 with dual mt7615)... getting rates of 200mbit (on AC) while on closed-source driver could achieve 400mbit... N is also about half the speed of closed-source driver.

otherwise, congratulations and good job! very nice that it's working!

iscilyas commented 4 years ago

sorry just wanted to update/fix my previous post. i've done more testing, and what i see is more like 336+mbps on 5ghz and 115mbps on 2.4ghz (40mhz channel). this matches the speed of the closed-source mt7615e driver.

i'm also not seeing any significant quality drop with reasonable distance (1 very thick wall, 10-15 metres away from router)... my impression is that it's fine at even greater distances (but the network here is rather complicated so i can't be sure without testing more)....

so: fantastic work!

pjgowtham commented 4 years ago

I only tested 5Ghz since 2.4Ghz is mostly being used by IOT anyways. I tested it using iperf on an Asus TUF FX505DT, which probably has a 2x2 antenna. It was done 12 feet from the router with no obstructions inbetween. The power mode was on high performance while testing. I did a 60 seconds run each. Surprisingly, the speeds were better than that of the Archer C7 v4.

Mi R3P Tx @20dbm channel 36, Band width 80Mhz. 160Mhz wouldn't work anyways. (without hsdma) Run 1 - 311Mbit/sec Run 2 - 339Mbit/sec

Same testing with hsdma Run 1 - 334Mbit/sec Run 2 - 338Mbit/sec

whereas my archer c7 1950 v4 with latest snapshot Run 1 - 244Mbit/sec Run 2 - 258Mbit/sec

nbd168 commented 4 years ago

Please try the latest version, it should work better now