Posted: Fri Oct 25, 2019 11:19 Post subject: ath10k driver in DDWRT
Hi folks,
i'm building x64 router with KANSUNG Intel 3865U processor router board with COMPEX WLE1216V5-20 wifi card and I'm trying to find the best ath10k driver for linux and board.bin as-well firmware.bin for wifi card.
And the end i compare the throughout with my WRT3200acm main router and the client is macbook pro 2018. As a conclusion, It seems that OpenWRT is so unoptimized versus ddwrt regarding 5GHz wifi and ath10k chipset.
So my question is, which ath10k driver ddwr-t uses? is it issue with drivers and firmware for this wifi adapter or in special patches as whole on every level in ddwrt it self(kernel..etc). because trial ddwrt x64 image behave so much better then openwrt one(i use both the latest build version).
should i use kmod-ath10k vanilla or kmod-ath10k-ct from candella tech or kmod-ath10k from kvalo.
I noticed that ddwrt uses board.bin and firmware-5 from latest kvalo firmware https://github.com/kvalo/ath10k-firmware, Q: which ath10k driver uses latest x86 build?
i also wanna to have 160Mhz channel wide, it seems that my throughput is bigger then even my client is 80MHz, any toughts?
Joined: 21 Jan 2017 Posts: 1783 Location: Illinois Moderator
Posted: Fri Oct 25, 2019 13:52 Post subject:
Fwiw, Kong uses kmod-ath10k-ct from Candella tech on his openwrt builds. I believe BS is getting his ath10k from elsewhere.
In Terms of VHT160- Very few clients exist that have wifi 5 wave 2 chipsets, or wifi 6, in them to take advantage of VHT160. The Intel 9260/9265 wifi card is one of the only few I have seen readily available for laptops. As far as cell phone's and tablets are concerned for VHT160- I am only aware of the Mate 20 Pro that supports VHT 160. Most Flagships, available today, will top out at VHT80. The issue with VHT160 is that Globally there is only one set of spectrum space (36-64) available to use. You may get lucky and live somewhere that allows 100 - 128, but then you have to contend with Doppler Radar Frequencies...it's a mess.
VHT160 is great, in theory, but in terms of everyday use and practicality- very few clients exist to be able to take full advantage of it; so, VHT80 is going to remain the best alternative to use for a long time to come. _________________ FORUM RULES
Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Posted: Fri Oct 25, 2019 16:17 Post subject:
Just bought an Acer Nitro 5 that has the Intel wifi 6 chipset, recently connected with VHT160 to my R7800 (build 41375), connected at 1733 Mb/s (the laptop is a 2 stream device), real life throughput 850 Mb/s (In the same room as the router) for what it is worth.
Fwiw, Kong uses kmod-ath10k-ct from Candella tech on his openwrt builds. I believe BS is getting his ath10k from elsewhere.
In Terms of VHT160- Very few clients exist that have wifi 5 wave 2 chipsets, or wifi 6, in them to take advantage of VHT160. The Intel 9260/9265 wifi card is one of the only few I have seen readily available for laptops. As far as cell phone's and tablets are concerned for VHT160- I am only aware of the Mate 20 Pro that supports VHT 160. Most Flagships, available today, will top out at VHT80. The issue with VHT160 is that Globally there is only one set of spectrum space (36-64) available to use. You may get lucky and live somewhere that allows 100 - 128, but then you have to contend with Doppler Radar Frequencies...it's a mess.
VHT160 is great, in theory, but in terms of everyday use and practicality- very few clients exist to be able to take full advantage of it; so, VHT80 is going to remain the best alternative to use for a long time to come.
1- I am not sure what you mean, but BrainSlayer is the main developer of all things DD-WRT. That file is his latest "beta" build. All builds are considered "beta" and there is no such thing as a stable build. BS simply makes rolling changes/commits of drivers and other things. Always try the latest beta build first.
2- http://www.desipro.de/openwrt/ Kong is no longer developing any DD-WRT builds because of time constraints to maintain it all.... for his reasons he has chosen to move to OpenWRT. There is no support on these forums for his OpenWRT builds, so don't ask. OpenWRT and the LuCi gui has a learning curve to it and it might seem overwhelming. That said, with my last set of testing in early September, I saw no real advantage of using Kong's OpenWRT over DD-WRT for my simple AP reasons. There are other reasons to consider using OpenWRT, but it's almost for much more advanced purposes and reasons that exceed most people's simply need for a wireless AP. I haven't testing his newest December 19th build vs. BS latest build to see if there's any reason to swap things out.
I personally run on a R9000 which seems to have dodged the latency issues reported by Tatsuya46 on the R7800... _________________ FORUM RULES
Ok, i see now. For x86 build is payed, and i need extra packages that i wanna compile, and as i understand, it is hard to build your own packages for ddwrt, there is no ipkg for x86 aslo. So i wanna fetch the best out of ath10k patches and drivers for wifi card to get max throughput and minimal latency.
What i understand, ddwrt repo is not so open and understandable as openwrt one...
Can you please post some debug log or dmesg log regarding ath10 driver to see from wich repo is it?
Ok, i see now. For x86 build is payed, and i need extra packages that i wanna compile, and as i understand, it is hard to build your own packages for ddwrt, there is no ipkg for x86 aslo. So i wanna fetch the best out of ath10k patches and drivers for wifi card to get max throughput and minimal latency.
What i understand, ddwrt repo is not so open and understandable as openwrt one...
Can you please post some debug log or dmesg log regarding ath10 driver to see from wich repo is it?
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Sat Oct 26, 2019 8:40 Post subject:
gsustek wrote:
Ok, i see now. For x86 build is payed, and i need extra packages that i wanna compile, and as i understand, it is hard to build your own packages for ddwrt, there is no ipkg for x86 aslo. So i wanna fetch the best out of ath10k patches and drivers for wifi card to get max throughput and minimal latency.
should be ddwrt x86 build as is then.. im probably going to try it myself, as ipq806x's terrible high cpu usage, jittery throughput, and high latency is probably never going to get attention let alone fixed. such a waste of qca9984 radios, there is a nic with 2x qca9984 that im watching, qnap qwa-ac2600.
what radios are u going to have in the x86 router? _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
Ok, i see now. For x86 build is payed, and i need extra packages that i wanna compile, and as i understand, it is hard to build your own packages for ddwrt, there is no ipkg for x86 aslo. So i wanna fetch the best out of ath10k patches and drivers for wifi card to get max throughput and minimal latency.
should be ddwrt x86 build as is then.. im probably going to try it myself, as ipq806x's terrible high cpu usage, jittery throughput, and high latency is probably never going to get attention let alone fixed. such a waste of qca9984 radios, there is a nic with 2x qca9984 that im watching, qnap qwa-ac2600.
what radios are u going to have in the x86 router?
there also minipcie extension cable,
i'm worried about this statement..
"if you make custom (even with powerful CPU x86) router, you always will get low WiFi speed and big CPU usage, because of bridging and Ethernet packets framing from/to WiFi adapter, that is costly routers has built-in wireless acceleration chips (for frames offloading)" but i'm not sure about that, becasue i got the same speed on my wrt3200acm and my own build with compex card, but on ddwrt only, not on openwrt builds.
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Sat Oct 26, 2019 22:27 Post subject:
gsustek wrote:
i'm worried about this statement..
"if you make custom (even with powerful CPU x86) router, you always will get low WiFi speed and big CPU usage, because of bridging and Ethernet packets framing from/to WiFi adapter, that is costly routers has built-in wireless acceleration chips (for frames offloading)"
i'm worried about this statement..
"if you make custom (even with powerful CPU x86) router, you always will get low WiFi speed and big CPU usage, because of bridging and Ethernet packets framing from/to WiFi adapter, that is costly routers has built-in wireless acceleration chips (for frames offloading)"
one guy told me via private messages on openvpn forum, he was building the same thing.
I can concur with him in one, and that tis that i have about 2000 sirq(KANSUNG x86 hardware) from my ath10k kernel driver, and only 300sirq from mvebu driver from WRT3200ACS(100MB/s) router, i use netdata software to see that. The test was the same, localy mounted ext4 SSD 120 GB, copy data from filezilla client (macbook 2018) and vsftpd on router side.
ps. where can i find latest KONG firmware x86_x64? you told me that he used ath10k-ct driver, and i need to know which driver use BrainSlayer.
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Sun Oct 27, 2019 22:35 Post subject:
gsustek wrote:
tatsuya46 wrote:
gsustek wrote:
i'm worried about this statement..
"if you make custom (even with powerful CPU x86) router, you always will get low WiFi speed and big CPU usage, because of bridging and Ethernet packets framing from/to WiFi adapter, that is costly routers has built-in wireless acceleration chips (for frames offloading)"
one guy told me via private messages on openvpn forum, he was building the same thing.
I can concur with him in one, and that tis that i have about 2000 sirq(KANSUNG x86 hardware) from my ath10k kernel driver, and only 300sirq from mvebu driver from WRT3200ACS(100MB/s) router, i use netdata software to see that. The test was the same, localy mounted ext4 SSD 120 GB, copy data from filezilla client (macbook 2018) and vsftpd on router side.
ps. where can i find latest KONG firmware x86_x64? you told me that he used ath10k-ct driver, and i need to know which driver use BrainSlayer.
there is no x86 kong build he never built any for it. and kong abandoned us for openwrt as well.
that thread is a bit old now and i dont think i believe that, x86 > mips in every single way except power usage (usually). there may be something wrong with some of the prebuilt atom/celeron units maybe, but i prefer custom, though my cpu is more powerful than that one, its a i3 4150.
brainslayer uses official ath10k driver with custom modifications by him, when we tried ct fw/driver it caused more issues here. _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
i'm worried about this statement..
"if you make custom (even with powerful CPU x86) router, you always will get low WiFi speed and big CPU usage, because of bridging and Ethernet packets framing from/to WiFi adapter, that is costly routers has built-in wireless acceleration chips (for frames offloading)"
one guy told me via private messages on openvpn forum, he was building the same thing.
I can concur with him in one, and that tis that i have about 2000 sirq(KANSUNG x86 hardware) from my ath10k kernel driver, and only 300sirq from mvebu driver from WRT3200ACS(100MB/s) router, i use netdata software to see that. The test was the same, localy mounted ext4 SSD 120 GB, copy data from filezilla client (macbook 2018) and vsftpd on router side.
ps. where can i find latest KONG firmware x86_x64? you told me that he used ath10k-ct driver, and i need to know which driver use BrainSlayer.
there is no x86 kong build he never built any for it. and kong abandoned us for openwrt as well.
that thread is a bit old now and i dont think i believe that, x86 > mips in every single way except power usage (usually). there may be something wrong with some of the prebuilt atom/celeron units maybe, but i prefer custom, though my cpu is more powerful than that one, its a i3 4150.
brainslayer uses official ath10k driver with custom modifications by him, when we tried ct fw/driver it caused more issues here.
thnx for the info, yeah, your cpu is a bit faster then my, https://askgeek.io/en/cpus/vs/Intel_Core-i3-4150-vs-Intel_Celeron-3865U, what i need it aslo 4k support and direct Vxt, i nearly bought 7100U, bit it tis about 100$ more money.. And is a so this morning once again, same setup two different software, ddwrt give me 100MB/s and openwrt latest trunk give me 60MB/s, if i put CT driver and "firmware-5-ct-non-commercial-full-htt-mgt-11.bin" i got 75MB/s.
So i wanna say, that maybe i need to do some optimization in menuconfig on the kernel/CPU level? What kind of, how to determine bottlenecks?
I wanna make sure, where is a bootle neck. Is there a version od x64 ddwrt which is full trial, to have ssh into it and run some stats? it would be really helpfull
From ddwrt svn, is is possible to find out what are the patches on ath10k driver?
Is it the same source for x86 and other architecture?
How so that there i no radar detection needed in ddwrt to operate on 160MHZ channel width? crda patched?