Ipq806x NSS build (Netgear R7800 / TP-Link C2600 / Linksys EA8500)

Our Shifu Quarky is the only developer here who always does proper unit-testing of his code changes. Lol!

Linksys E8450/Belkin RT3200 have internal trace antennas and most routers with integrated antennas suck for long ranges.

Looks like the high latency bug that is causing download speed to get throttle. Still can't figure out why the new VTBA scheduler is causing this issue. Reverting to the round-robin scheduler brings back normal WiFi operations to my R7800.

Restarting the WiFi interface may help, tho. the issue may come back fast, but yeah, a router reboot will clear the issue up until it happens again. Looks suspiciously like some counter is not getting reset which builds up over time.

hi,

what about build with kernel 5.15, pretty stable now?
thanks

Haven’t tried a 5.15 build yet. From 5.4 => 5.10 there were a good number of patch changes (pretty much every patch needed tweaks). Master will probably make the jump soon for ipq806x (dunno, weeks, months?).

1 Like

In the next master is this going to be included?

3 Likes

Thanks sppmaster for spreading the good news! Finally some light at the end of the tunnel...

Yep! I’ll watch master closely and build when it is officially committed.

3 Likes

Is this the commit?
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=958785508cc802de75698607670f9a236883d24d

quarky said the patch did not seem to work for him at all when back-ported to his 21.02.x build.

1 Like

For now it seems that Felix single-handedly handles all attempts to fix these wireless issues. He also included the original authors of VTBA scheduler in his commit emails but nobody made any comment. I hope better coordination between quarky and Felix would help Felix come up with a working solution. According to Felix, using the round-robin scheduler is pretty much the same as disabling or bypassing ATF.

1 Like

I can finally get back gigabit. Godspeed wifidude! :pray:

1 Like

Our hero needs to change his username to AXwifidude :slight_smile:

5 Likes

Updated master build. Has that commit. Let me know how it works!

3 Likes

Hmmmmm while my wired performance is good now, my wireless performance dropped to an inexcusable 20mbps down/40mbps up. I tried both the at10k and the other version. Device is a Netgear Nighthawk X4S R7800.

I’m getting 570mbps+ speed testing an iPhone on 5ghz (same room). Having issues on 2.4ghz or 5ghz or both?

Look at the System and Kernel logs for any ath10k errors.
See my post here. I've had similar issue with previous master build.
Now I try the latest master but let's wait several days to see if the same issue will come up again.

@ACwifidude Do we really use QSDK 11.2r1 release in master.

The drivers are from the QSDK 11.2r1 release.  The entire QSDK 11.2r1 release
can be found in the link below:

https://source.codeaurora.org/quic/qsdk/releases/manifest/qstak/tree/caf_AU_LINUX_QSDK_NHSS.QSDK.11.2.R1_TARGET_ALL.12.0.4540.030.xml?h=release

With greatest regret I report that since this commit the Wi-Fi 5GHz is completely unusable

Fri Jun 17 17:13:55 2022 kern.warn kernel: [35612.980044] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35612.980080] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35612.986241] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35612.993376] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35613.000634] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35613.008484] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35613.015003] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35613.022271] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35613.029470] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0
Fri Jun 17 17:13:55 2022 kern.warn kernel: [35613.036655] ath10k_pci 0000:01:00.0: failed to lookup txq for peer_id 27 tid 0

Huge latency, very low throughput and frequent errors "no connection" for all 5GHz clients.
Same as reported here.
I've reverted to the master build from 20220519.

@ACwifidude There is a new patch. Can you put it in master?

1 Like

Can't reproduce the issue here so far.

1 Like

I've put the latest master on five R7800 - on three of them the above errors showed up after several hours or days. They all have more than 3 WLAN clients on 5GHz. But with master builds before the recent mac80211 patches I've never observed issues.
For the other two R7800s that have 1-2 and 3 Wi-Fi devices (only 1 or 2 are connected to 5GHz) the error still doesn't show up.