Support for TP-Link Archer C2 v3

Thanks, this time it worked!
For some reason my router didn't have scp or sftp so I couldn't copy the sysupgrade file; it had wget so I downloaded the file from a web server. Now I have openwrt installed.

So what's the procedure exactly? I have a C2 V3 (AC900) EU version and wish to install OWRT with LUCI.
Just i have to download both files and load the factory.bin into the "Firmware upgrade" section of TP-Link web interface first and after repeat the same with the sysupgrade.bin?
Thank you in advance for any clarification :slight_smile:

Well i answere by myself :slight_smile: i installed the new firmware uploading Dreadlish's files and all went well, so now the Archer C2 V3 is running OWRT like a charm but...
I tested the wifi performance in 5 Ghz and 2.4 Ghz too and i can say that's realy poor...
Making a speed test over the internet i have 49 Mbit/s down and 62 up in 2.4 Ghz , 104 Mbit/s down and 73 up in 5 Ghz when by ethernet i have 323 down and 165 up and if i connect to the main router in wifi i have 147 down and 172 up...
I don't know if there is something to do but if not then i will have to roll back to the original firmware... :frowning:

Today looking into the log file i fount that there are some kernel errors, some user notices, some user errors, some daemon errors and a lot of kernel warnings...
So i think this firmware is far from being optimized for this device... :frowning:

I add a cut off with all the errors in the log file:

kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.

kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes

kern.warn kernel: [    0.267718] Crashlog allocated RAM at address 0x3f00000

kern.warn kernel: [    1.874358] This architecture does not have kernel memory protection.

kern.warn kernel: [    6.415445] urandom_read: 4 callbacks suppressed

kern.warn kernel: [    9.708214] overlayfs: upper fs does not support tmpfile.

user.warn kernel: [    9.727197] urandom-seed: Seeding with /etc/urandom.seed

kern.warn kernel: [   11.197737] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

kern.warn kernel: [   11.479149] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2

kern.warn kernel: [   11.490233] ath10k_pci 0000:00:00.0: Falling back to user helper

kern.err kernel: [   11.623940] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed

kern.warn kernel: [   11.635207] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/firmware-6.bin failed with error -2

kern.warn kernel: [   11.646280] ath10k_pci 0000:00:00.0: Falling back to user helper

kern.err kernel: [   11.825406] firmware ath10k!QCA9887!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed

kern.warn kernel: [   12.101624] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/board-2.bin failed with error -2

kern.warn kernel: [   12.112419] ath10k_pci 0000:00:00.0: Falling back to user helper

kern.err kernel: [   12.200470] firmware ath10k!QCA9887!hw1.0!board-2.bin: firmware_loading_store: map pages failed

user.notice mac80211: Failed command: iw phy phy0 set antenna all all

user.notice mac80211: Failed command: iw phy phy1 set antenna all all

daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf

kern.warn kernel: [   26.089788] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware

kern.info kernel: [   26.104317] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf

kern.warn kernel: [   51.353361] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [   51.373906] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [   51.476314] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [   51.578708] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [  139.338223] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [  233.655779] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [  233.777356] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [  247.856969] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [  300.987487] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [  303.543241] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [  303.659892] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [  304.052247] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [ 3347.070421] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [ 3347.078600] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [ 3347.180990] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [ 3347.283404] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [ 5494.831324] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [13254.822478] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [16487.656277] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [16487.723696] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [16487.826096] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [16578.355600] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19754.681572] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19813.024237] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19813.126047] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19901.087026] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19901.094462] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19901.191693] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19906.196011] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19906.209412] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [19967.288713] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20143.935819] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20143.986715] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20214.508100] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20214.541676] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20216.643325] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20216.942144] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20217.197115] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20217.204575] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [20217.749594] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20218.177864] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20218.650705] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20218.963760] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20219.687061] ath10k_warn: 1 callbacks suppressed

kern.warn kernel: [20219.687076] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20219.926781] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20220.039017] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20220.152626] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20220.266761] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20220.435844] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20220.602514] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20220.929513] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20221.127216] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20221.515147] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20224.981811] ath10k_warn: 8 callbacks suppressed

kern.warn kernel: [20224.981826] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20224.994164] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20225.405625] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [20226.026870] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20226.289579] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20226.551343] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20226.805603] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20227.070455] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20227.614985] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20227.947377] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20230.281867] ath10k_warn: 6 callbacks suppressed

kern.warn kernel: [20230.281882] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20230.566357] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20230.822744] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20230.830352] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [20231.082552] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20231.328579] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20231.336169] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20231.443366] ath10k_pci 0000:00:00.0: Invalid peer id 233 in peer stats buffer

kern.warn kernel: [20231.818305] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20232.092426] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20235.314526] ath10k_warn: 8 callbacks suppressed

kern.warn kernel: [20235.314542] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20235.649882] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer
W
kern.warn kernel: [20235.991617] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20236.401988] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20236.654543] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20236.932122] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20237.194838] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20237.512689] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [20237.787271] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20238.047026] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20240.373074] ath10k_warn: 6 callbacks suppressed

kern.warn kernel: [20240.373090] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20240.742268] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20241.122226] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer
W
kern.warn kernel: [20241.412563] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20241.545935] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [20241.891243] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [20242.282901] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20242.812843] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20243.067859] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20243.325965] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20245.565342] ath10k_warn: 6 callbacks suppressed

kern.warn kernel: [20245.565358] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20245.577732] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20245.980038] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20246.088498] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20246.415285] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20246.674623] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20247.025602] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20247.317980] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20247.611627] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20247.619253] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20250.586616] ath10k_warn: 8 callbacks suppressed

kern.warn kernel: [20250.586631] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20250.598977] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [20250.950789] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20251.290274] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20251.379368] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20251.461116] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20251.819193] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20252.194341] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20252.491757] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20322.717162] ath10k_pci 0000:00:00.0: Invalid peer id 97 in peer stats buffer

kern.warn kernel: [20322.781291] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20325.713643] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20326.159227] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20326.166837] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20326.457537] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20327.652428] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20424.964705] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20424.978680] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20430.972358] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20431.094888] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20431.217398] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20431.225329] ath10k_pci 0000:00:00.0: Invalid peer id 109 in peer stats buffer

kern.warn kernel: [20431.368326] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20431.600412] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20431.819721] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20431.974504] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20432.132599] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20432.266532] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20436.072482] ath10k_warn: 27 callbacks suppressed

kern.warn kernel: [20436.072498] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20436.429613] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20436.601211] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20436.713599] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20436.852971] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20436.860607] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20436.958933] ath10k_pci 0000:00:00.0: Invalid peer id 109 in peer stats buffer

kern.warn kernel: [20436.966523] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20437.096616] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20437.238585] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20451.340301] ath10k_warn: 15 callbacks suppressed

kern.warn kernel: [20451.340316] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20453.956701] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20453.964190] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20454.292804] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20454.596300] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20455.286792] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20455.294269] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20455.528203] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20455.789163] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20455.945809] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20456.469746] ath10k_warn: 1 callbacks suppressed

kern.warn kernel: [20456.469761] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [20456.518636] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

 kern.warn kernel: [68611.054850] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68611.151030] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68611.253439] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68650.645821] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68673.294550] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68673.309540] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68673.411931] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68673.514338] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68673.616736] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68673.719141] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68673.806850] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68877.340937] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68889.472489] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68889.602957] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68890.001503] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68890.885792] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68891.054101] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68892.261964] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68892.402062] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68900.737264] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

kern.warn kernel: [68900.908549] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer

My Archer C2 keeps crashing pretty rapidly, I believe there is a memory leak somewhere:

Running latest snapshot: Sat Apr 20 09:38:16 2019
sha256sum ec063182807c93b56c53564b9da89a183319bc86f8c361580ede09e7b8779a10

It's completely unusable at this point and I have no clue how to get back to stock firmware. Let me know if I can help with debugging!

Edit: It appears that disabling the 802.11nac interface fixes the mem leaks!

I opened a bug about this: https://bugs.openwrt.org/index.php?do=details&task_id=2260

Does the problem disappear if you switch from ath10k-ct to ath10k? (Assuming you're using the default of -ct drivers and firmware)

For me, the performance is much better with the ath10k driver/firmware, memory usage is much lower, but there is a warning that is flooding the kernel log ( no problems with the wireless connection):
...........................
[107266.848409] ath10k_pci 0000:00:00.0: Invalid peer id 132 in peer stats buffer
[107266.950808] ath10k_pci 0000:00:00.0: Invalid peer id 78 in peer stats buffer
[107267.053211] ath10k_pci 0000:00:00.0: Invalid peer id 177 in peer stats buffer
[107267.155616] ath10k_pci 0000:00:00.0: Invalid peer id 105 in peer stats buffer
[107267.462823] ath10k_pci 0000:00:00.0: Invalid peer id 48 in peer stats buffer
[107267.770018] ath10k_pci 0000:00:00.0: Invalid peer id 115 in peer stats buffer
[107268.077227] ath10k_pci 0000:00:00.0: Invalid peer id 102 in peer stats buffer
[107268.282026] ath10k_pci 0000:00:00.0: Invalid peer id 110 in peer stats buffer
[107268.691633] ath10k_pci 0000:00:00.0: Invalid peer id 48 in peer stats buffer
[107362.202902] ath10k_warn: 5 callbacks suppressed
[107362.202917] ath10k_pci 0000:00:00.0: Invalid peer id 74 in peer stats buffer
...........................

Would these work on an Archer C900(US)?

Thanks

I followed your advice and made a custom build with ath10k (non-ct) and it seems to work flawlessly. :slight_smile:

To those who wish to reproduce this, here's my patch for building a non-ct image:

diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
index 4a5bb93864..30bbee563f 100644
--- a/target/linux/ath79/image/generic-tp-link.mk
+++ b/target/linux/ath79/image/generic-tp-link.mk
@@ -17,7 +17,7 @@ define Device/tplink_archer-c2-v3
   ATH_SOC := qca9563
   IMAGE_SIZE := 7808k
   DEVICE_TITLE := TP-Link Archer C2 v3
-  DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct
+  DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca9887
   TPLINK_BOARD_ID := ARCHER-C2-V3
 endef
 TARGET_DEVICES += tplink_archer-c2-v3

DEVICE_PACKAGES can be overridden in .config, no need to patch the .mk file as far as I can tell - definitely was not necessary for my C2600

Good to know, thanks!

I've created a image using the image builder.
Download from: http://downloads.openwrt.org/snapshots/targets/ath79/generic/
https://openwrt.org/docs/guide-user/additional-software/imagebuilder

My recipe (including luci):
make image PROFILE=tplink_archer-c2-v3 PACKAGES="luci kmod-ath10k ath10k-firmware-qca9887 -kmod-ath10k-ct -ath10k-firmware-qca9887-ct"

Hello, I am using your image but I have the following error when trying to install openvpn-openssl:

root@OpenWrt:~# opkg install openvpn-openssl
Installing openvpn-openssl (2.4.7-2) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/openvpn-openssl_2.4.7-2_mips_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for openvpn-openssl:
 *      kernel (= 4.19.78-1-0518a4bf7833bdf123ece14953088027)
 * opkg_install_cmd: Cannot install package openvpn-openssl.

Please help.

https://openwrt.org/faq/cannot_satisfy_dependencies

I am not sure I understand how exactly I can do it same day.
I used this to flash router : http://downloads.openwrt.org/snapshots/targets/ath79/generic/

I just reflashed again using factory.bin from openwrt luci gui.
and I tried again to install openvpn few minutes after
Does it count as same day?

Or maybe I need to flash with factory.bin and then again with sysupgrade.bin and then install openvpn?

Hey Wolf,

With snapshot this happens every once in a while. They are build almost daily.

You should wait a day or few before downloading a new image (builder). I had similar issues with the imagebuilder at first, probably because of dependency errors, a week later the problem was gone.

In the downloads page you can see from which dates they stem.

Good luck.

I've used the Non-ct, still got wifi bugs. (Cant connect to wifi sometimes)
Any updates on this topic?

Still OOM issues with newest build.. from stability perspective the build from dreadlish was/is the best..
@Dreadlish maybe u could build a new version for those who cant build it self.