Adding OpenWrt support for Archer A6 v3

I've added the special_id:43410000 line to my build and I was able to get openwrt working on my archer a6 (CA). Wireless works as it should. @Borromini looks like you've logged off IRC, feel free to ping me when you're back. Hopefully we can include this merge in rc3!

1 Like

Yes work called :stuck_out_tongue:

You can PM me your details here on the forum if you'd like, will probably be online later again, this evening.

Edit: you did build master, right?

I did a git pull https://github.com/openwrt/openwrt, I assume that's master?

Powered by LuCI Master (git-21.166.32358-19e237d) / OpenWrt SNAPSHOT r16957+1-3d026d2425

edit: details sent!

1 Like

Huh, strange. Anyone else able to get DFS channels working? I think with stock I was able to get into channel 112 during my short tests. Is this related? MT76: MT7613 radio and DFS support - #3 by Borromini

Yep the open source driver does not support DFS yet unfortunately. One of the MediaTek devs said it should not be too difficult to get it going, but my C skills are non-existent. So for that we'll have to wait until someone implements it...

1 Like

Flash memory is actually 16MB. I made the edit on wikidev.
You can tell because dmesg | grep spi-nor returns [ 0.867989] spi-nor spi0.0: gd25q128 (16384 Kbytes)

Additionally, vrpatil's PR also has the same flash size https://github.com/openwrt/openwrt/pull/3786#:~:text=SPI%20Flash%3A%20W25Q128%20(16MB)

So no need to worry about the impending 8/64 requirements :slight_smile:

1 Like

Yes, the DFS channels don't work. I was running into a problem with the 5 ghz wireless dropping after awhile and traced it back to the device trying to switch to unusable channels. As long as you force the channel used, it seems to stay up.

1 Like

Not sure if it's just me but the device ended up bricking when flashing back to stock (TP-Link) firmware. I'm waiting for some jumper wires to arrive in order to serial flash it, so be warned that flashing back to stock may not work.

That's common for TP-Link. Their images often include bootloaders etc., so you cannot just flash OEM images from within OpenWrt. Unless there's instructions for your model on how to revert and those broke yours, of course... Then there's something else at play.

You would need to strip the OEM firmware of the bootloader before you would be able to flash it through the openwrt upgrade page. There used to be a website that stored stripped TP-link OEM firmwares for just that purpose, but it no longer is around. There are generic instructions floating around on how to do it though.

2 Likes

Hot off the presses, looks like 21.02.0 rc3 now supports Archer A6 V3!

2 Likes

Is A6 V3 also suffering from 5GHz disconnections with more than 1 STA connected, as is happening to C6 V3 (reported here: https://github.com/openwrt/mt76/issues/518 ) ?

I had disconnecting problems with 5ghz when I tested the original PR a few months ago. I had the same symptoms which they encountered ( processes getting killed due to running out of memory and 5 ghz wireless droping after a while). I had switched all my clients to the 2.4 ghz band to get around it. I had thought it had been fixed with the RC releases, but I realize now that I only have one 5 ghz client connecting at the moment so I haven't encountered the probelm. I never got around to switching the clients back. The A6 and the C6 v3 are the same hardware if I recall.

Might be this issue at play:

As previously mentioned by @frankis, I can confirm the 5Ghz radio is unstable (tested with Archer C6 v3.2, same hardware as A6 v3).

If two devices make intensive use of Wifi, the 5GHz WLAN simply dies. OpenWRT shows radio as active, but the SSID stops broadcasting and clients loose connection.

Restarting the radio does not help. Only a reboot solves the problem.

The issue can be easily reproduced with two WLAN clients running IPERF3 to two different servers at the same time. Country Code was not changed and set to "driver default", this does not solve the problem.

Regular web browsing does not cause problems. Only intense use of Wifi by two clients cause the problem to appear.

Issue tested and reproduced on SNAPSHOT r17419-364bd887a1.

EDIT: I failed to mention I tested with "IPERF3 -R -P4" in both clients. If I reduce the number of parallel streams to "P3" or less the problem does not happen. But if I run both clients with "-R -P4" simultaneously the OpenWRT 5Ghz radio almost immediately dies and only a reboot restores it.

1 Like

Glad it's not just me.

Allow me to quote myself...

Yep, I've saw that issue report from your post. This issue seems related to a memory leak, and while @ptpt52 provided a patch the issue is still open. It is not clear if the patch is a fix or a temporary workaround. Also I believe it it was not committed yet (since we are running a snapshot built from master and the issue still exists).

I will add my question an report to that issue and check for further progress.

Thanks! :+1:

ptpt52 said himself it's a hack (it just empties the buffers/queues forcibly), and that the code is not patch/merge quality.

I do plan to provide 21.02 stable builds for the mt76 drivers once it goes 'gold'.

1 Like

It is not just you. I've also had a lot of stability issues with the A6 v3 radios. At one point I tried disabling 5G entirely, but even the 2.4G radio would hang daily with ~20 clients and moderate use. Swapping out the hardware did not improve anything.

Interestingly, I've not experienced full hangs like this with the EAP235-Wall, though I hesitate to call it "stable" as individual clients tend to hang sometimes and need to reconnect. I haven't looked into it yet; those units are still running a snapshot from June.