Follow on conversation for TP-Link Archer A6 v2 5GHz improvements, including user support

Hi @shakin89.

It is not necessary upload board-2.bin, it is already included.

Juliano

1 Like

some testing result of version 2 builds

  • after removing pci.....bin file 5ghz is working
[   13.378997] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x56.
[   13.400867] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   13.407677] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   13.556457] ath10k_pci 0000:00:00.0: fwcfg key: dma_burst  val: 0
[   15.178897] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   15.188473] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   15.207445] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-tH-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,no-bmiss-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 43aefc1c
[   15.572409] ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=24 from ath10k/QCA9888/hw2.0/board-2.bin
[   15.586286] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id 0:24 crc32 30f41a1e
[   17.265324] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   17.273133] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   17.321688] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   17.332988] ath10k_pci 0000:00:00.0: wmi print 'free: 151124 iram: 3988 sram: 56640'
[   17.566207] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
  • 100/10 lan speed test
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   113 MBytes  94.6 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   112 MBytes  93.9 Mbits/sec                  receiver
  • 1000/10 giga lan speed
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   331 MBytes   278 Mbits/sec  148             sender
[  5]   0.00-10.01  sec   329 MBytes   276 Mbits/sec                  receiver
  • 72.2Mbps 2.4GHz speed
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  34.9 MBytes  29.3 Mbits/sec    0             sender
[  5]   0.00-10.02  sec  34.5 MBytes  28.9 Mbits/sec                  receiver
  • I do not have any 5GHz device. So i can not do any 5GHz speed test.

Hi @julianocs,
tested version 1 and 2 on an archer c6 eu version.
First of all, i've used openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade, is it ok or do i have to use initramfs version?
This is the log output

Wed Feb 17 13:40:21 2021 kern.warn kernel: [   51.323022] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
Wed Feb 17 13:40:21 2021 kern.warn kernel: [   51.330864] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
Wed Feb 17 13:40:21 2021 kern.info kernel: [   51.366143] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
Wed Feb 17 13:40:21 2021 kern.info kernel: [   51.377413] ath10k_pci 0000:00:00.0: wmi print 'free: 151124 iram: 3988 sram: 56640'
Wed Feb 17 13:40:21 2021 kern.info kernel: [   51.733650] ath10k_pci 0000:00:00.0: rts threshold -1
Wed Feb 17 13:40:21 2021 kern.warn kernel: [   51.745978] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Wed Feb 17 13:40:22 2021 kern.info kernel: [   52.360930] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
Wed Feb 17 13:41:23 2021 kern.info kernel: [  113.677198] ath10k_pci 0000:00:00.0: mac flush null vif, drop 0 queues 0xffff
Wed Feb 17 13:41:41 2021 kern.warn kernel: [  131.306686] ath10k_pci 0000:00:00.0: Invalid peer id 0 or peer stats buffer, peer: 1cb856b0  sta: 00000000

This is iperf3 output only for 5 gHz
Version 1

Powered by LuCI Master (git-21.040.83252-3c166c2) / OpenWrt SNAPSHOT r15742-d8afae0be8
iperf3.exe -c 192.168.1.14 -t 30
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-30.01  sec   575 MBytes   161 Mbits/sec                  sender
[  4]   0.00-30.01  sec   575 MBytes   161 Mbits/sec                  receiver

Version 2

iperf3.exe -c 192.168.1.14 -t 30
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-30.01  sec   533 MBytes   149 Mbits/sec                  sender
[  4]   0.00-30.01  sec   533 MBytes   149 Mbits/sec                  receiver

Hope this will help

Hi @shakin89

I don´t have this low throughput in my router (Archer C2 US).
I don´t have any other skills and/or knowledge to do more than that.

Anyway, i switched now to Openwrt 5.10 kernel to test.

It´s on my pCloud.

Juliano

1 Like

I am still running this version. I would like to update my device every now and then to keep my network secure. What is the adviced strategy here? Can I just pull the latest build?

[EDIT]
Problem solved, it was a Luci configuration problem. I disabled country and channels and reenabled them. The interface have been configured
I'm now testing pdcin #132 variant 3.
Which are the differences between variant 1,2,3?
Thanks in advance
[/EDIT]

Hi, i was testing @pdcin version but had some problem on the 5GhZ iface.
So installed @julianocs last version but had the same problem.
The 5GHz interface won't come up and give these error:

Mon Mar 29 22:51:06 2021 daemon.notice netifd: radio0 (2987): Could not find PHY for device 'radio0'
Mon Mar 29 22:51:06 2021 daemon.notice netifd: radio0 (3002): WARNING: Variable 'data' does not exist or is not an array/object

This is the version.

Model|TP-Link Archer C6 v2 (EU/RU/JP)|
Architecture|Qualcomm Atheros QCA956X ver 1 rev 0|
Firmware Version|OpenWrt SNAPSHOT r15742-d8afae0be8 / LuCI Master git-21.040.83252-3c166c2|
Kernel Version|5.4.97|

Any help would be appreciated

@pdinc-oss 've done iperf3 performance test.
TP-Link Archer C6 v2 (EU/RU/JP)
Version OpenWrt SNAPSHOT r0+16355-571aedbc6c / LuCI Master git-21.086.63453-9ff45c9
#132 version 3
this is the output, router attached to gigabit network, laptop lenovo t470, 1 meter distance from router.

5GHz radio Qualcomm Atheros QCA9886 802.11acn Channel: 149 (5.745 GHz)

iperf3.exe -c 192.168.1.14
Connecting to host 192.168.1.14, port 5201
[  4] local 192.168.1.96 port 51396 connected to 192.168.1.14 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  13.0 MBytes   109 Mbits/sec
[  4]   1.00-2.01   sec  16.0 MBytes   133 Mbits/sec
[  4]   2.01-3.00   sec  14.1 MBytes   120 Mbits/sec
[  4]   3.00-4.00   sec  15.2 MBytes   128 Mbits/sec
[  4]   4.00-5.02   sec  16.8 MBytes   139 Mbits/sec
[  4]   5.02-6.00   sec  16.8 MBytes   143 Mbits/sec
[  4]   6.00-7.00   sec  16.2 MBytes   136 Mbits/sec
[  4]   7.00-8.00   sec  12.4 MBytes   104 Mbits/sec
[  4]   8.00-9.00   sec  17.1 MBytes   144 Mbits/sec
[  4]   9.00-10.00  sec  12.6 MBytes   106 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   150 MBytes   126 Mbits/sec                  sender
[  4]   0.00-10.00  sec   150 MBytes   126 Mbits/sec                  receiver

iperf Done.

2.4 GHz radio Qualcomm Atheros QCA9560 802.11bgn Channel: 7 (2.442 GHz)

iperf3.exe -c 192.168.1.14
Connecting to host 192.168.1.14, port 5201
[  4] local 192.168.1.96 port 51324 connected to 192.168.1.14 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  7.00 MBytes  58.7 Mbits/sec
[  4]   1.00-2.00   sec  5.00 MBytes  41.9 Mbits/sec
[  4]   2.00-3.00   sec  3.88 MBytes  32.5 Mbits/sec
[  4]   3.00-4.01   sec  5.00 MBytes  41.4 Mbits/sec
[  4]   4.01-5.00   sec  7.38 MBytes  62.7 Mbits/sec
[  4]   5.00-6.01   sec  5.62 MBytes  46.9 Mbits/sec
[  4]   6.01-7.00   sec  5.75 MBytes  48.5 Mbits/sec
[  4]   7.00-8.00   sec  4.12 MBytes  34.6 Mbits/sec
[  4]   8.00-9.01   sec  3.62 MBytes  30.3 Mbits/sec
[  4]   9.01-10.00  sec  4.50 MBytes  37.8 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  51.9 MBytes  43.5 Mbits/sec                  sender
[  4]   0.00-10.00  sec  51.9 MBytes  43.5 Mbits/sec                  receiver

iperf Done.

installed #132 variant 1

same results

OpenWrt SNAPSHOT r0+16355-571aedbc6c / LuCI Master git-21.086.63453-9ff45c9
iperf3.exe -c 192.168.1.14
Connecting to host 192.168.1.14, port 5201
[  4] local 192.168.1.96 port 57903 connected to 192.168.1.14 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.01   sec  9.38 MBytes  77.5 Mbits/sec
[  4]   1.01-2.01   sec  15.6 MBytes   132 Mbits/sec
[  4]   2.01-3.00   sec  14.1 MBytes   119 Mbits/sec
[  4]   3.00-4.00   sec  18.8 MBytes   157 Mbits/sec
[  4]   4.00-5.00   sec  17.4 MBytes   146 Mbits/sec
[  4]   5.00-6.00   sec  15.8 MBytes   132 Mbits/sec
[  4]   6.00-7.01   sec  14.9 MBytes   124 Mbits/sec
[  4]   7.01-8.01   sec  13.8 MBytes   116 Mbits/sec
[  4]   8.01-9.00   sec  18.0 MBytes   152 Mbits/sec
[  4]   9.00-10.00  sec  14.9 MBytes   125 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   152 MBytes   128 Mbits/sec                  sender
[  4]   0.00-10.00  sec   152 MBytes   128 Mbits/sec                  receiver

iperf Done.

juliano version
OpenWrt SNAPSHOT r15880-8d8125a43b / LuCI Master git-21.051.50677-2b9fca8
5 GHz

iperf3.exe -c 192.168.1.14
Connecting to host 192.168.1.14, port 5201
[  4] local 192.168.1.96 port 58868 connected to 192.168.1.14 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  5.50 MBytes  46.1 Mbits/sec
[  4]   1.00-2.01   sec  7.12 MBytes  59.3 Mbits/sec
[  4]   2.01-3.00   sec  5.88 MBytes  49.7 Mbits/sec
[  4]   3.00-4.01   sec  6.88 MBytes  57.1 Mbits/sec
[  4]   4.01-5.01   sec  5.50 MBytes  46.2 Mbits/sec
[  4]   5.01-6.00   sec  7.62 MBytes  64.6 Mbits/sec
[  4]   6.00-7.01   sec  7.12 MBytes  59.0 Mbits/sec
[  4]   7.01-8.01   sec  6.25 MBytes  52.6 Mbits/sec
[  4]   8.01-9.01   sec  5.50 MBytes  46.1 Mbits/sec
[  4]   9.01-10.01  sec  5.38 MBytes  45.2 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.01  sec  62.8 MBytes  52.6 Mbits/sec                  sender
[  4]   0.00-10.01  sec  62.6 MBytes  52.5 Mbits/sec                  receiver

Installed #132 variant 2
OpenWrt SNAPSHOT r0+16355-571aedbc6c / LuCI Master git-21.086.63453-9ff45c9
No way to have a throughput over 200 mb....

iperf3.exe -c 192.168.1.14 -P 4
Connecting to host 192.168.1.14, port 5201
[  4] local 192.168.1.96 port 52143 connected to 192.168.1.14 port 5201
[  6] local 192.168.1.96 port 52144 connected to 192.168.1.14 port 5201
[  8] local 192.168.1.96 port 52145 connected to 192.168.1.14 port 5201
[ 10] local 192.168.1.96 port 52146 connected to 192.168.1.14 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  4.00 MBytes  33.5 Mbits/sec
[  6]   0.00-1.00   sec  3.88 MBytes  32.5 Mbits/sec
[  8]   0.00-1.00   sec  4.00 MBytes  33.5 Mbits/sec
[ 10]   0.00-1.00   sec  3.75 MBytes  31.4 Mbits/sec
[SUM]   0.00-1.00   sec  15.6 MBytes   131 Mbits/sec
...
[  4]   9.00-10.12  sec  7.25 MBytes  54.7 Mbits/sec
[  6]   9.00-10.12  sec  7.00 MBytes  52.8 Mbits/sec
[  8]   9.00-10.12  sec  7.00 MBytes  52.8 Mbits/sec
[ 10]   9.00-10.12  sec  6.50 MBytes  49.0 Mbits/sec
[SUM]   9.00-10.12  sec  27.8 MBytes   209 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.12  sec  60.2 MBytes  50.0 Mbits/sec                  sender
[  4]   0.00-10.12  sec  60.1 MBytes  49.9 Mbits/sec                  receiver
[  6]   0.00-10.12  sec  57.4 MBytes  47.6 Mbits/sec                  sender
[  6]   0.00-10.12  sec  57.2 MBytes  47.5 Mbits/sec                  receiver
[  8]   0.00-10.12  sec  58.0 MBytes  48.1 Mbits/sec                  sender
[  8]   0.00-10.12  sec  58.0 MBytes  48.1 Mbits/sec                  receiver
[ 10]   0.00-10.12  sec  52.5 MBytes  43.5 Mbits/sec                  sender
[ 10]   0.00-10.12  sec  52.4 MBytes  43.4 Mbits/sec                  receiver
[SUM]   0.00-10.12  sec   228 MBytes   189 Mbits/sec                  sender
[SUM]   0.00-10.12  sec   228 MBytes   189 Mbits/sec                  receiver

iperf Done.
_______________________________________________

iperf-3.1.3-win64>iperf3.exe -c 192.168.1.14 -P 2
Connecting to host 192.168.1.14, port 5201
[  4] local 192.168.1.96 port 52149 connected to 192.168.1.14 port 5201
[  6] local 192.168.1.96 port 52150 connected to 192.168.1.14 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.08   sec  8.75 MBytes  68.2 Mbits/sec
[  6]   0.00-1.08   sec  8.62 MBytes  67.2 Mbits/sec
[SUM]   0.00-1.08   sec  17.4 MBytes   135 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
...
- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]   8.00-9.01   sec  8.75 MBytes  72.6 Mbits/sec
[  6]   8.00-9.01   sec  5.88 MBytes  48.7 Mbits/sec
[SUM]   8.00-9.01   sec  14.6 MBytes   121 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]   9.01-10.01  sec  10.8 MBytes  90.4 Mbits/sec
[  6]   9.01-10.01  sec  7.62 MBytes  64.1 Mbits/sec
[SUM]   9.01-10.01  sec  18.4 MBytes   155 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.01  sec  98.9 MBytes  82.9 Mbits/sec                  sender
[  4]   0.00-10.01  sec  98.8 MBytes  82.8 Mbits/sec                  receiver
[  6]   0.00-10.01  sec  87.0 MBytes  72.9 Mbits/sec                  sender
[  6]   0.00-10.01  sec  86.9 MBytes  72.8 Mbits/sec                  receiver
[SUM]   0.00-10.01  sec   186 MBytes   156 Mbits/sec                  sender
[SUM]   0.00-10.01  sec   186 MBytes   156 Mbits/sec                  receiver

iperf Done.

and this is the output for #132 generic variant

iperf3.exe -c 192.168.1.14
Connecting to host 192.168.1.14, port 5201
[  4] local 192.168.1.96 port 58397 connected to 192.168.1.14 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.01   sec  15.6 MBytes   130 Mbits/sec
[  4]   1.01-2.00   sec  13.8 MBytes   116 Mbits/sec
[  4]   2.00-3.00   sec  17.0 MBytes   143 Mbits/sec
[  4]   3.00-4.01   sec  17.1 MBytes   142 Mbits/sec
[  4]   4.01-5.00   sec  14.6 MBytes   124 Mbits/sec
[  4]   5.00-6.01   sec  15.1 MBytes   126 Mbits/sec
[  4]   6.01-7.00   sec  14.0 MBytes   119 Mbits/sec
[  4]   7.00-8.00   sec  13.6 MBytes   114 Mbits/sec
[  4]   8.00-9.00   sec  16.6 MBytes   140 Mbits/sec
[  4]   9.00-10.01  sec  14.6 MBytes   122 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.01  sec   152 MBytes   128 Mbits/sec                  sender
[  4]   0.00-10.01  sec   152 MBytes   128 Mbits/sec                  receiver

Now, the snapshot builds are giving stable 5ghz performance, So, i request to remove other 3 variants build from your build automation.

on which router are you triyng the builds? and which build?
on my archer c6 eu version, the router doesn't activate the 5ghz interface. on 3 routers, i have only one with working 5ghz caus it has an old build.

the latest build don't activate the luci interface saying the config isn't valid.
have restarted rpc but without success.

use snapshot build, set 5ghz wifi country to US, save & apply. then set channel to 149 and see the magic. only snapshot build is stable in 5ghz.

thanks for the tips, but having 3 router i cannot set them all on ch 149...

does it work only on ch 149?

yeah, 149 and upper channel is working, for every router set your channel width to 20mhz

thank you very much, i will try immediately.
Can i take the latest build from pdinc-oss site?
or do you use the official snapshot build?

I use my own latest snapshot build. You can try @pdinc-oss snapshot latest build.

1 Like

hey can you post your snapshot build if possible, I haven't spent enough time to figure out how to do it, so getting a build with LuCi would be amazing. btw this is for the c6 us version right?

thank you, I'll try it now.

@humanOS thanks for your tips. On my archer c6 v2 eu version I've Installed build #156 of april 26 (Powered by LuCI Master (git-21.112.13639-7d61b38 / OpenWrt SNAPSHOT r0+16582-3326b5e75c) from @pdinc-oss builds.
I've set 5ghz network on channels more than 149. 20-40-80 MHz bandwith is ok for all. Country US. i will test transfer speed, but is working correctly for now.

1 Like

5ghz range is cut by half for me when using the snapshot build, tested for a few hours before going back to version 1 which gives me max speed and range.

1 Like