Netgear R7800 exploration (IPQ8065, QCA9984)

Building these now and will let you know the results after I get it deployed.

Does anyone have a link to the most recent stable Hnyman build? Wanted to check out Lede on my new r7800 and see how it runs. Thanks.

Both master and 17.01 builds have been stable for me. Currently running master r5486 myself.

Links to the download site are in that community build thread's first message.

Is it possible to use the pcie-0071 fix with the latest snapshot? I was able to use the fast-classifier and shortcut-fe just fine but the pcie-0071 patch asks me which file to patch. Wired speeds seem fine but wifi not so much.

Openwrt

What kind of wifi speeds are you getting? I'm curious because I also have a gigabit connection.

@dissent1 does the wifi patch will be pushed to the trunk? it solve all this problem so why not?

@Ansuel it's in nbd's staging tree. Just wait.

just asking as my friend can't compile an image and have some problem with package and custom build...

A newer qca9984 firmware available
https://github.com/kvalo/ath10k-firmware/blob/master/QCA9984/hw1.0/3.4/firmware-5.bin_10.4-3.4-00104

If anyone interested in taking part in porting ipq806x onto k4.14, here are initial commits
https://github.com/dissent1/r7800/commit/129035d748b4e73fb2a2399215e5151279c91e3d
https://github.com/dissent1/r7800/commit/a77957a153e2df94cc9a4315c57d3c9c0eb49fca
@luaraneda has started doing and did great initial job, his device on ipq4019 boots correctly.
I've ported all ipq8064/5 patches (updated after @luaraneda and added missing ones).
ATM it compiles ok, but on ipq8064/5 enters a boot loop.

@blogic

i'm working on the opp patch? did you port them?

Yes, pcie, clk, cpufreq, opp, scm. I've merged those changes into the commit that I've posted above.

So what are the patch that make compilation error?

It compiles ok but causes a boot loop. Need an uart bootlog.

If someone wants to test performance difference in their environment here are 2 patches related to L2 cache freq management
https://github.com/dissent1/r7800/commit/448070cf17ef1d288b4f1149c1c683c3de0058ec
@hnyman

update: nvm about 2nd patch (deleted), I've missed one function in the driver so it's ok.

Hi guys, I have a query, I have been downloading the images in development for several days to solve the problems of the wifi, although it seems that the patches are still applied to the problems in the 5GHZ band. Does anyone know how it goes? only the version works well @hnyman. Thank you

what do you mean? what problem with 5ghz?

@Ansuel
I have 50 mb symmetric, the 2.4ghz band me my mobile devices receive 50 mb of download and 50 mb of upload. But in the 5ghz band, if it reaches 1 mb, the router crashes and restarts itself, gives errors in the file's file to the internet, etc. Basically the 5G wifi network falls within seconds of any device connecting.

Runnig it now against latest master, including all the pull requests you've send to NBD.
The router seems to run faultless with the previous ATH firmware and your pull requests, but with this one dmesg is flooded with:

[21952.327921] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[21952.416374] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[21954.873996] ath10k_warn: 5 callbacks suppressed
[21954.874012] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[21955.084142] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[21955.183536] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[21958.360060] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[21959.690105] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats

There is a discussion about the same error here: https://www.spinics.net/lists/linux-wireless/msg167522.html
but i can't really make head or tails from it yet. Seems we backport this 4.14 ath10k driver to 4.9?

anyway. ideas to fix this error are appreciated.

According to this msg it is fixed in a firmware, probably in the one that was released a week ago.
https://www.spinics.net/lists/linux-wireless/msg167875.html