Archer C7 V5 - Wifi connection far slower than expected

Hi,

I setup my Archer C7 V5 with Openwrt 19.07.05. I followed the guide to change it into a dump ap: https://openwrt.org/docs/guide-user/network/wifi/dumbap and activated 802.11r to enable roaming with my first Openwrt device (WRT19000ACS).
The connection from archer to the rest of the network is a CAT6 cable plugged into LAN Port 1.

The Speed via LAN according to iperf to other devices in the network is fine (e.g. Laptop -> Archer -> WRT1900ACS), the speed via wifi (N-connection ~1m away, clear sight) however is far lower (~13 MBit/s) then expected. Any idea what I could have forgotten or must change to improve the wifi throughput?

Regards

Also, is it normal that a Generic driver is being used?

What are you expecting from 2.4Ghz?
Did you enabled 40Mhz width?
What are the user devices connected to the AP at the time of the test?
Is it a crowded channel?

Kernel Logs show the following:

[   12.530309] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   12.582239] random: crng init done
[   12.844083] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[   12.854996] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.151510] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[   13.160914] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   13.172002] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.544096] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   13.555130] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[   13.566489] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.941605] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   13.951436] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[   13.962793] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.211423] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   14.221247] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   14.232337] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.411264] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   14.420809] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   14.431895] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.613834] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   14.623336] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   14.634435] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.812043] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   14.821586] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[   14.832674] ath10k_pci 0000:00:00.0: Falling back to user helper
[   15.014923] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   15.219548] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000

I'd expect ~ 40-50 Mbit/s from the 2.4Ghz and far more from the 5Ghz conection.
40 Mhz is enabled for 2.4, 80 for 5Ghz.
The devices are a Sony Vaio Laptop from 2012 with 2.4Ghz only that delivers ~50 mbit/s when connected to WRT1900ACS and an iPhone 11 Pro. Both cap at ~13Mbit/s.
The channel is mostly free, like 3-4 wlans on chan 6 around our house.

Legacy 802.11b disabled?
What is the speed if you test between 2 devices connected to the same wiif?

Legacy disabled.
~40 MBit/s on iperf3 from iPhone to Laptop

So that means issue would be in the Wifi to Ethernet.
How about Wifi speed to a device connected to the switch on the C7?

Wifi to Lan: ~13 Mbit/s

So that is LAN directly on the C7?
Guess then it must be a configuration issue.
You would need to post the configs here using </> so that someone might see whats wrong.

Yes directly connected via lan.
Do you know which files exactly I should post?

At least /etc/config/network and /etc/config/firewall

config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fdec:8839:afdb::/48'

config interface 'lan'
	option type 'bridge'
	option proto 'static'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option gateway '192.168.1.5'
	option ipaddr '192.168.1.7'
	list dns '192.168.1.201'
	list dns '10.8.1.1'
	option ifname 'eth0.1'

config device 'wan_eth0_2_dev'
	option name 'eth0.2'
	option macaddr 'e4:c3:2a:47:3e:37'

config switch
	option name 'switch0'
	option reset '1'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option ports '0t 2 3 4 5'
	option vid '1'
config defaults
	option syn_flood '1'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'REJECT'

config zone
	option name 'lan'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'ACCEPT'
	option network 'lan'

config zone
	option name 'wan'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'

config forwarding
	option src 'lan'
	option dest 'wan'

config rule
	option name 'Allow-DHCP-Renew'
	option src 'wan'
	option proto 'udp'
	option dest_port '68'
	option target 'ACCEPT'
	option family 'ipv4'

config rule
	option name 'Allow-Ping'
	option src 'wan'
	option proto 'icmp'
	option icmp_type 'echo-request'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-IGMP'
	option src 'wan'
	option proto 'igmp'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-DHCPv6'
	option src 'wan'
	option proto 'udp'
	option src_ip 'fc00::/6'
	option dest_ip 'fc00::/6'
	option dest_port '546'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-MLD'
	option src 'wan'
	option proto 'icmp'
	option src_ip 'fe80::/10'
	list icmp_type '130/0'
	list icmp_type '131/0'
	list icmp_type '132/0'
	list icmp_type '143/0'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Input'
	option src 'wan'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	list icmp_type 'router-solicitation'
	list icmp_type 'neighbour-solicitation'
	list icmp_type 'router-advertisement'
	list icmp_type 'neighbour-advertisement'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Forward'
	option src 'wan'
	option dest '*'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-IPSec-ESP'
	option src 'wan'
	option dest 'lan'
	option proto 'esp'
	option target 'ACCEPT'

config rule
	option name 'Allow-ISAKMP'
	option src 'wan'
	option dest 'lan'
	option dest_port '500'
	option proto 'udp'
	option target 'ACCEPT'

config include
	option path '/etc/firewall.user'