Yes should be SDK 11 I just picked the commits from acwifidude, but I didn't really verify it:-) See my repo: https://github.com/ricsc/openwrt/tree/kernel5.10-nss-qsdk10.0/package/qca

P.S. I just tested nss qos, offloading at least for normal ethernet works fine, if anyone wants to test here is a test build:

http://www.desipro.de/openwrt/trunk/ipq806x-nss-5.10/

Comes with the same packages as my previous nss build with 5.4 kernel, but this time it is on 5.10.

12 Likes

@ACwifidude @Ansuel If I didn't mess up when I cleaned up, you should get a working 5.10 build with the patches I just committed.

Note: PPPOE offload is untested.

6 Likes

Yep qsdk 11.2r1 drivers.

Nice @KONG - that is a ton of work. I’ll try out your commits!

Edit: posted a 5.10 NSS build with all of @KONG commits. I’m currently running it and everything seems ok. I’ll rebase it this weekend with the latest master commits.

4 Likes

Hey,

a few days ago I upgraded to your latest openwrt-21.02-nss-qsdk10.0 image and I noticed that my WiFi 5G speed got alot worse than with the Version I had before (from Oktober I think. maybe nov)

Now I was wondering if you changed something in the drivers that would explain that? I was looking for a changelog or something, but I couldn't find any. Also I wanted to re-flash the oct or nov build to compare both versions for myself, but I don't have it anymore and can't find that image either.
Today I did a clean flash with the 5.10 NSS build. same story.

[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  65.2 MBytes  54.7 Mbits/sec                  sender
[  4]   0.00-10.00  sec  65.1 MBytes  54.6 Mbits/sec                  receiver
[  6]   0.00-10.00  sec  48.4 MBytes  40.6 Mbits/sec                  sender
[  6]   0.00-10.00  sec  48.2 MBytes  40.5 Mbits/sec                  receiver
[  8]   0.00-10.00  sec   155 MBytes   130 Mbits/sec                  sender
[  8]   0.00-10.00  sec   155 MBytes   130 Mbits/sec                  receiver
[ 10]   0.00-10.00  sec  45.4 MBytes  38.1 Mbits/sec                  sender
[ 10]   0.00-10.00  sec  45.3 MBytes  38.0 Mbits/sec                  receiver
[SUM]   0.00-10.00  sec   314 MBytes   263 Mbits/sec                  sender
[SUM]   0.00-10.00  sec   314 MBytes   263 Mbits/sec                  receiver

iperf Done.

with the build from oct or november (not quite sure) I had around 650-.700mbit/s at the exact same position with the exact same device.

Anyway, thank you very much for your hard work. Your R7800 build is the best for my usecase :+1:

Working great. CPU usage readings issue has been fixed now.
bind-nslookup is not working due to missing symbols.
Thanks @KONG

1 Like

Just FYI I built this branch for the Netgear XR500 and it seems to work just fine, inclusive of the NSS offloading functionality.

2 Likes

His build lacks wifi offloading which causes ecm to draw a lot of cpu.
I just added nss wifi offloading to mac80211 and updated my builds:

http://www.desipro.de/openwrt/trunk/ipq806x-nss/

@ACwifidude I also deleted my kernel5.10-nss-qsdk10.0 branch as I had one error in my commits, which caused a rebase problem and while I was at it I created it with proper sdk name to avoid confusion:

P.S. With 80Mhz I get around 720Mbps on 5G.

5 Likes

Hm I'm gonna be honest, I most likely understand only 50% of what you're saying :sweat_smile:
I'm no dev at all, wich most likely disqualifies me from even posting on here. I'm just a regular user that appreciates openwrt on his netgear r7800 with Gbit support and all your work you're doing here :grimacing: And @ACwifidude was the best for that usescase so far.

You say his build is lacking "wifi offloading", but I think I don't quite understand? With that build from oct/nov I got 650-700mbit/s over WLAN 5G (iperf), just with the recent release I got low wifi speeds and I don't see the reason why that happens

Looks great. I’ll clone and build tomorrow. Down the line (in the next couple weeks) I’ll organize the commits to put them in an easy order for trouble shooting (as we keep up with the changes in master).

Appreciate the work! I’m excited to see how it runs.

3 Likes

The older build used an older kernel and had offloading, now latest openwrt has moved to a new kernel version. Thus all the code from qualcomm for this router family had to be updated to work with the new kernel version.

3 Likes

Thank you for the explanation. I am still not quite sure if this is really the reason for my decreased wifi speed though. Before I flashed the build with kernel 5.10, I had the
openwrt-21.02-nss-qsdk10.0 build on my router and everything was fine, therefore I don't understand what's the matter now.

openwrt-21.02-nss-qsdk10.0 used kernel 5.4 and offloading was supported in the wireless mac80211 code that came with this build. For 5.10 and latest mac80211 I ported the code yesterday. If openwrt 21 updates the mac80211 code then it is also possible, that offloading code has to be updated.

2 Likes

Yeah but that would only explain why I have slower speeds on the kernel 5.10 build but not on the latest openwrt-21.02-nss-qsdk10.0 one. You might have misunderstood me there.

I was on openwrt-21.02-nss-qsdk10.0 oct or november image at first, everything was fine. Then I updated to the build from 9 days ago, same branch, wifi got worse. Then I wanted to go back to the image from Oct /Nov, couldn't find it, and only cause of that I did a clean flash of the kernel 5.10 one.

Anyways, I guess I'm gonna try your build and the next one from Acwifidude and see if everything is back to normal. Thanks for the replies and your amazing work :+1:

I can't be sure you're having this same issue, but some of my devices have very bad WiFi performance when my R7500v2 is using a firmware with ath10k no-ct drivers (mainline), because they show a transfer speed cap around 65 Mbps. Transfer speed goes back to normal at those devices when the firmware uses ath10k ct drivers.

1 Like

Unfortunately not
Im using the ath10k images. Always have
Appreciate the help tho

On openwrt-21.02-nss-qsdk10.0 it is in theory supported, but that doesn't mean it is activated in the build.
It is pretty easy to tell if offloading works, by looking at the cpu load. If you experience high cpu load while transfering at 260Mbps, then offloading is not working. Thus it is possible, that something in his openwrt-21.02-nss-qsdk10.0 wasn't correct. In case load wasn't high, then it was some other wifi problem.

2 Likes

On a R7800 with a busy network the 21.02 20211202 build looks ok on wifi speed (2x2 iphone client)

Usually it is a config, modem (if you have a cable connection), ISP, interference, or config issue. Post your config there might be an easy fix. I have my 5ghz on a separate SSID to make sure my devices dont connect to 2.4ghz (super slow!).

2 Likes

I just flashed the new build and everything seems to be fine again

- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]   4.00-5.00   sec  17.1 MBytes   144 Mbits/sec
[  6]   4.00-5.00   sec  16.5 MBytes   138 Mbits/sec
[  8]   4.00-5.00   sec  16.1 MBytes   135 Mbits/sec
[ 10]   4.00-5.00   sec  15.1 MBytes   127 Mbits/sec
[ 12]   4.00-5.00   sec  14.8 MBytes   124 Mbits/sec
[SUM]   4.00-5.00   sec  79.6 MBytes   668 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -

On fast.com I even got 750mbit/s at times :+1:

Tested out your new 5.10 Master on my NBG6817 (sysupgrade - did not retain previous settings), but unfortunately it power cycled within the first few minutes. Didn't see anything specific in the logs. When it came back up, I couldn't even access 192.168.1.1 or SSH. I killed power to it for a few moments, then rebooted it... it came back up. I proceeded through setup, but it power cycled again about 10 minutes later. When it came back up, I was able to flash back to Stable... and running rock solid again (as your stable builds always do).

I know it's not much help for troubleshooting, but just wanted to give the feedback regardless. Love and appreciate the work you do for us @ACwifidude !

Stupid question here: can i clone this, modify the .config file and build from here like i do with @ACwifidude 's repository?
thanks :slight_smile: