ath10k driver in DDWRT

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Fri Oct 25, 2019 11:19    Post subject: ath10k driver in DDWRT Reply with quote
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?
Sponsor
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1783
Location: Illinois Moderator

PostPosted: Fri Oct 25, 2019 13:52    Post subject: Reply with quote
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

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]52396 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800] resting
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)


Last edited by msoengineer on Fri Oct 25, 2019 16:30; edited 2 times in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Fri Oct 25, 2019 16:17    Post subject: Reply with quote
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.

But I agree in real life it is not very usefull

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Fri Oct 25, 2019 19:46    Post subject: Reply with quote
msoengineer wrote:
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.


i agree, regarding 160MHz...but somehow, the speed is higher if i advertise router on 160MHz channel, need more testing_:-)
two questions,:
1: which build is this? https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2019/10-24-2019-r41379/
2. where to find kong's one: http://www.desipro.de/dd-wrt/Notice.txt
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1783
Location: Illinois Moderator

PostPosted: Fri Oct 25, 2019 21:20    Post subject: Reply with quote
[quote="gsustek"]
msoengineer wrote:

two questions,:
1: which build is this? https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2019/10-24-2019-r41379/
2. where to find kong's one: http://www.desipro.de/dd-wrt/Notice.txt


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

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]52396 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800] resting
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Sat Oct 26, 2019 0:18    Post subject: Reply with quote
msoengineer wrote:
I personally run on a R9000 which seems to have dodged the latency issues reported by Tatsuya46 on the R7800...


it doesnt, its just as affected. ur just "satisfied" with it/dont care..

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Sat Oct 26, 2019 8:21    Post subject: Reply with quote
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?
gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Sat Oct 26, 2019 8:22    Post subject: Reply with quote
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?
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Sat Oct 26, 2019 8:40    Post subject: Reply with quote
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

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Sat Oct 26, 2019 10:39    Post subject: Reply with quote
tatsuya46 wrote:
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?


the base is this: https://www.aliexpress.com/item/32914606865.html
wifi card is https://techship.com/products/compex-wle1216v5-20/
because, 2.4 is not of my interest anymore. there is also some card with 2,4 and 5GHZ on board concurrently working. like: http://forum.banana-pi.org/t/bpi-mt7615-802-11-ac-wifi-4x4-dual-band-pcie-module-mass-production-version/10037

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.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sat Oct 26, 2019 13:04    Post subject: Reply with quote
Smaller picture.
_________________
I am far from a guru, I'm barely a novice.
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Sat Oct 26, 2019 22:27    Post subject: Reply with quote
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)"


where did u see this statement?

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Sun Oct 27, 2019 12:59    Post subject: Reply with quote
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)"


where did u see this statement?


not from here, but it is a valid link for see how to build x86 openwrt machines. https://forum.openwrt.org/t/how-to-install-lede-on-x86/14601

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.
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Sun Oct 27, 2019 22:35    Post subject: Reply with quote
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)"


where did u see this statement?


not from here, but it is a valid link for see how to build x86 openwrt machines. https://forum.openwrt.org/t/how-to-install-lede-on-x86/14601

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

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

gsustek
DD-WRT Novice


Joined: 04 Jun 2011
Posts: 35

PostPosted: Mon Oct 28, 2019 8:15    Post subject: Reply with quote
tatsuya46 wrote:
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)"


where did u see this statement?


not from here, but it is a valid link for see how to build x86 openwrt machines. https://forum.openwrt.org/t/how-to-install-lede-on-x86/14601

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?Smile
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum