As all know, the open source driver mt76 is too slow/unstable to use. I built the mt7628 driver using the source codes from rt-n56u, the driver can be built & loaded without any error, but the wifi is not working.
I set up a repository in GitHub (mt7628 ap driver) and uploaded my build script for lede 17.01, hope someone can give me some advice to improve.
I build my own MT7603 and MT76x2 mediatek drivers from source in the past. I can have a look at the MT7628 driver within the next few days.
However, there is a lot of improvement on the MT76 driver in the last few months and I actually moved back to those drivers on my own routers. I am using them on both a MT7621 based ZBT and Mercury MAC1200r v2 (MT7628).
According to my observation, this is the result of mt76 driver performance:
In STA mode, the bitrate shown by iwconfig can only reach 6.5mb/s. I tried downloading a 200M file from a HTTP server. MT76 wifi's average speed is around 30-50KB/s and it can never finish this whole task in my testing due to the below unstable issue. while my macbook's 2.4G can reach 2.89MB/s.
the link is not stable after receiving few megabytes, it loses association with AP and most of times It's unable to recover forever unless I restart the whole system.
Also, since you are using a device with MT7628 don't expect miracles as MT7628 is supported pretty badly.
MT7620/1 and MT7612 are supported really good
I don't think thats bad at all, but of course the driver could still be improved. I will try to do a comparison with the MTK MT7628AP driver when I have some time to build that.
Your result looks pretty good and far beyond my expectation. But my testing result is real and really bad. I don’t know why yet. Maybe it’s due to the mt76 version is too old.
Because the onboard SPI controller will be used to communicate with other device than the internal flash, the whole linux can only run on RAM disk. I cannot use the prebuilt lede snapshot.
after I checkout the latest source codes from Lede GIT and rebuild. I will get back on this later. Thanks for your iperf3 data.