I recently switched from DD-WRT to OpenWrt on my TP-Link Archer C7 v5 (AC1750). Everything is fine, except the Wi-Fi performance. On the 5 GHz network:
Using DD-WRT, I was able to download files at ~60 MB/s over the internet. SpeedTest was around 500 Mbps, which is the limit of my ISP contract.
Using OpenWrt, downloads never go above 16 MB/s and SpeedTest is around 100 Mbps over AC Wi-Fi. If I use Ethernet, I get 500 Mbps back to normal.
I tried to install iperf on the router to monitor the wireless link, here is the result:
➜ ~ iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 129 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.50 port 53735 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 370 MBytes 310 Mbits/sec
➜ ~ iperf -c 192.168.1.1 -t 20
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 129 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.50 port 53771 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-20.0 sec 736 MBytes 308 Mbits/sec
You could try changing the ath10k-qca988x-ct wireless driver for it's htt variant as some suggest. You could also test the non ct driver but you would probably need to compile a build yourself for that.
I tried to remove qca988x-ct and to install qca988x-ct-htt, performances dropped again. SpeedTest was about 50 Mbps and iperf:
➜ ~ iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 129 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.50 port 58604 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 55.2 MBytes 46.2 Mbits/sec
Then I tried to remove qca988x-ct-htt and kmod-ath10k-ct, and to install qca988x and kmod-ath10k, performances increased, but not significantly. SpeedTest was around 120 Mbps, and iperf:
➜ ~ iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 129 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.50 port 58879 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 194 MBytes 162 Mbits/sec
A WDS 5GHz wireless link at about 6 meters apart behind a thin brick wall and running the latest qca988x-ct-htt variant (ver 10.1-ct-8x-__fH-022-b0e1b7cd).
~ iperf3.exe -c 192.168.1.2 -t 20
Connecting to host 192.168.1.2, port 5201
[ 4] local 192.168.1.242 port 55490 connected to 192.168.1.2 port 5201
[ 4] 0.00-20.00 sec 618 MBytes 259 Mbits/sec receiver
Channels from 100 to 140 seem to have higher tx power output depending on the radio country code that's set.
Did you find a solution to fix the wireless speeds? Or you think I should flash back to the stock OEM.
I'm at the same version and same router as you and the wireless is around 60-80mbps for me.
running iperf on router itself is not recommended. CPU is not up to task. To truly benchmark WiFi, connect a PC to LAN via Ethernet and run iperf3 server on it. Then run a iperf3 client on a mobile device.
My 6 years old Archer C7 v2 regularly bench >400Mbit on VHT80 using 5GHz.