Does anyone else have mt7612 pcie wifi-card in bpi-r2 who can test? I have my card in main-router and waiting for second card (for test-router)…maybe anyone can test it till then
I did some tests recently with this kernel 4.19.16 which includes mt76 driver from openwrt.
The max speed I could reach for upload and download was around 175 - 180 Mpbs.
I tried to compare with another kernel 4.19.66 which has the normal mt76 driver and results were close maybe 10Mbps slower than previous.
I also tried using the latest 5.3-rc kernel and the speed drops down to around 120 - 125 Mbps for both download and upload.
The wifi card from my PC detects the maximum reported speed up to 400Mbps
Using Debian kernels I cannot use higher channel numbers over 44 for 5GHz using both mainline mt76 or included OpenWRT driver.
I loaded then an OpenWRT image (Lexa2 repository) and using this driver it detected higher rate speed up to 600 or more (maximum 866Mbps).
When doing speed test from OpenWRT on WiFI I was able to reach around 230 - 240 Mbps.
Is the development for the OpenWRT mt76 driver separate from the mt76 drivers included in mainline kernels ?
imho i reverted the mt76 changes in 4.19 if not you can replace it by mainline-driver…i just wanted to use a newer version, but had not updated it afterwards…
i expect that openwrt makes some core changes not ported to linux mainline. As i understand openwrt-driver is nearly the same as mainline mt76 in 4.19 but worse in later kernels?
At least hwnat (reported as unstable) and hwqos (untested) are not ported. Also vlan is not working yet…in 4.14 it works somehow (sometimes not tagged as i found out yeaterday).
tried also to integrate mt7622-driver only into mainline mt76-driver, but failed to compile
drivers/net/wireless/mediatek/mt76/mt7622/soc.c:57:4: error: 'const struct mt76_driver_ops' has no member named 'drv_flags'; did you mean 'txwi_flags'?
.drv_flags = MT_DRV_TXWI_NO_FREE,
^~~~~~~~~
txwi_flags
drivers/net/wireless/mediatek/mt76/mt7622/soc.c:57:16: error: 'MT_DRV_TXWI_NO_FREE' undeclared (first use in this function); did you mean 'MT_TXWI_NO_FREE'?
.drv_flags = MT_DRV_TXWI_NO_FREE,
^~~~~~~~~~~~~~~~~~~
MT_TXWI_NO_FREE