So basically on the nbg6817, all LEDs are working perfectly, the WLAN LEDs are just the wrong colour (amber instead of white. yes, technically they are different LEDs, but sharing the same light pipe).
The amber wlan (and white power & WAN-) LEDs are controlled by the SOC, fully working and configurable - including brightness (down to zero) and can be disabled alltogether. The white wlan LEDs are connected to the QCA9984 cores and should be covered by this new patch - and obviously there is some kind of support, it just doesn't work properly yet.
Both LEDs just share the same light pipe and accordingly appear to be the same, but electronically they are completely independent - and they can both work at the same time (tested), but for obvious (cosmetic) reasons I did disable the amber LEDs for most of my tests.
At least the version changelog doesn't suggest any functional changes (compared to v6, which I tested) - and very obviously it hasn't been run through checkpatch either, as there are still horrible coding style issues that prevent it from being merged alone.
Just noticed that nbd has released his fast-path patches to master. But, kernel 4.14 is required.
Now that dissent1 has sold his R7800, who is capable and willing to take the software for our beloved router to kernel 4.14?
I finally had some time to do the rebase on the first work that I did with kernel 4.14.
I've cleaned-up and split the commits, so they can be better understood.
Currently, I'm running it on an Asus ac58u, which has an ipq4019 SoC.
Also, I've compile tested all ipq806x devices, and the only one failing is the R7800, because the kernel size is larger than the kernel partition (2MB?).
Finally, there is still work to do (check the commit marked with [temporal]), specially for the PCIe of the ipq8064/5, which is out of my scope for now.
Think we should really expand the kernel partition 2mb is too low... A stock image will create a 2mb even in kernel 4.9
But to do this we need to use tftp and reset
I agree, 2MB is too small for the kernel, but wouldn't that break stock firmware compatibility?
I don't have an R7800 to test modifications or if it even boots.
i modified the kernel partition without any problem except the fact that openwrt doesn't recognize the new image and mark it as invalid... (we have 32 mb of extra space so we can increase the kernel partition with no damage)
(u-boot doesn't have any pattition table at allo, it's openwrt that creates it)
also why not compressing it? if it's a problem increase the size... i will check if stock uboot support kernel compression
I don't see any change or improvement with v9 on the nbg6817, the ath10k controlled LEDs randomly work after some reboots - but most of the time they don't.
Odd. V8 works quite well on my R7800. I just applied the patches and configured the LEDs using LuCI for both, but I used a different trigger. I used the phy[0/1]tpt trigger. Seems to work fine across router reboots.
I've tested phy0tpt/ phy1tpt as well (first, actually), using default-on was just an attempt in getting it to light up at all (for manual manipulation via sysfs). The same works fine for SOC GPIOs or a connected USB stick (ath9k_htc-phy2).
Is this a constant +2ms additional latency? or very spiky? I am seeing around 1.5ms, which is close. But I am also seeing significant spikes to 50.100ms once or twice a minute (with ping 8.8.8.8 test), which are not present at all with the stock firmware or when connecting my PC directly to the modem.