Poor wifi speed Nexx WT3020F

Hi,

I was wondering if someone has such problem with this router (or any other with MT7620N chipset probably).
Though very stable, but slow wireless. Currently I`m on latest snapshot with MT76x0 patches.
My ISP is 100/100 Mbps and I get this speed on LAN connection. On wireless its only ~25/20 Mbps. Using HT20 with psk2+ccmp.

Tried different channels, devices, tx power, distance, you name it

Thanks

Which version of Openwrt are you using ? Try master - there is lots of changes for driver MT76

Built yesterday. Btw, tried stable release. Result is the same.
There are some articles already. For example:
https://forum.archive.openwrt.org/viewtopic.php?id=69042
https://bugs.openwrt.org/index.php?do=details&task_id=557

Can post the results of /proc/interrupts ??

root@router:~# cat /proc/interrupts
           CPU0       
  5:       6413      MIPS   5  10100000.ethernet
  6:      76543      MIPS   6  rt2800_wmac
  7:     365171      MIPS   7  systick
  9:       7169      INTC   1  10000100.timer
 20:         12      INTC  12  ttyS0
 25:          3      INTC  17  gsw
 26:          0      INTC  18  ehci_hcd:usb1
ERR:          0

Someting with rt2x00 driver I guess

WiFi has many variables, but regardless of the channel you select, you should see about half of what protocol is selected.

uci show wireless | fgrep hwmode

FYI, you won't get much higher speeds unless you bond channels, such as the 40hz band. Only way to use that is if you're not in a 2Ghz congested area.

wireless.radio0.hwmode='11g'

From that information and probably a medium to ok signal, you're best is about 60% of the MAX PERFECT speed which is 54Mbps, it comes down to about 34.56Mbps. That's very close to the ballpark figure of max throughput. You could probably look for gso, gro, or tso in ethtool and mess with interrupt coalesce plus tuning the channels. Otherwise. that's the best it can be for that protocol. Using WEP would lessen the overhead as well, but not recommended due to security reasons.

1 Like

11g is the base protocol. N speeds are set with HTMODE. Mine is HT20. So I should get N speeds

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '13'
	option country 'LT'
	option legacy_rates '0'
	option hwmode '11g'
	option path 'platform/10180000.wmac'
	option htmode 'HT20'
	option txpower '15'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid '-----------'
	option encryption 'psk2+ccmp'
	option wpa_disable_eapol_key_retries '1'
	option key '--------------'


HT20 (High Throughput 20) means that the wireless devices working with 20MHz channel. hwmod defines the protocol "rate" or highest possible bandwidth available.

What device are you currently using to access this AP? That device's client protocol will define the bandwidth it can utilize. An example is a router that supports AC protocols (1300Mbps) server but you have an older laptop such as a 2013 Macbook Pro client, which it's WiFi card only supports WiFi N (Max 600Mbps). You get the lower speed and about 60% of the max (360Mbps) transfer speed. Many factors affect the outcome but that's the general gist of it.

Wireless N was the big upgrade to the a-b-g early era of WiFi.

Run iwinfo wlan0 assoclist to see the speed the client is actually connected.

As @mindwolf said that is raw radio speed, actual throughput will be about half. And it could be much less if there is noise or interference.

You are right:

64:89:9A:01:EB:00  -78 dBm / unknown (SNR -78)  27190 ms ago
	RX: 6.0 MBit/s                                 10860 Pkts.
	TX: 28.9 MBit/s, MCS 3, 20MHz                   6210 Pkts.
	expected throughput: 18.2 MBit/s

00:0F:00:BC:00:13  -84 dBm / unknown (SNR -84)  870 ms ago
	RX: 39.0 MBit/s, MCS 4, 20MHz                   7356 Pkts.
	TX: 28.9 MBit/s, MCS 3, 20MHz                  11688 Pkts.
	expected throughput: 18.2 MBit/s``

Low rx sensitivity. It works OK on stock firmware.
Look at the links in the original post.

It still looks like OpenWrt MT76 driver issue.

1 Like

Now I am wondering why it`s using rt2800 drivers? Other routers with this chipset use mt76 (for example ELECOM WRH-300CR)

kmod-rt2800-lib - 4.14.149+5.4-rc2-1-1
kmod-rt2800-mmio - 4.14.149+5.4-rc2-1-1
kmod-rt2800-soc - 4.14.149+5.4-rc2-1-1
kmod-rt2x00-lib - 4.14.149+5.4-rc2-1-1
kmod-rt2x00-mmio - 4.14.149+5.4-rc2-1-1

rt2x00 driver is used by MT7620A and MT7620N soc
other MT76XX devices use mt76 driver

So if changes are made for MT76 drivers they do not affect rt2x00? Or am I wrong?

in general no, since the two drivers are independent.