I use openwrt 21.02.0-rc I have problems that disconnect clients, I use the 802.11n wireless mode and I have clients in which the ap puts VHT, losing communication without disconnecting, until the ap disconnects them due to inactivity. After several editions of my post I published the log of my four APs
https://drive.google.com/file/d/1Vhknd2GF12ml7PmzS1RI5pshd0tLahdU/view?usp=drivesdk
https://drive.google.com/file/d/1VfXpMEU9CkWaSaFaZuYx2zeY2jfVWH4w/view?usp=drivesdk
Here logs first AP:
[ 0.000000] Linux version 5.4.121 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16822-fbd6f099f5)) #0 Wed May 26 09:48:15 2021
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is TP-Link EAP225-Outdoor v1
[ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] Normal zone: 288 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 121672K/131072K available (5247K kernel code, 188K rwdata, 1192K rodata, 1236K init, 205K bss, 9400K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] random: get_random_bytes called from start_kernel+0x358/0x54c with crng_init=0
[ 0.000000] CPU clock: 775.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[ 0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[ 0.008230] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.074750] pid_max: default: 32768 minimum: 301
[ 0.079746] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.087462] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.099625] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.110036] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.117303] pinctrl core: initialized pinctrl subsystem
[ 0.125219] NET: Registered protocol family 16
[ 0.156969] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.170779] clocksource: Switched to clocksource MIPS
[ 0.177239] NET: Registered protocol family 2
[ 0.181993] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.190291] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.199178] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.207276] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.214722] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.221558] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.228460] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.236158] NET: Registered protocol family 1
[ 0.240825] PCI: CLS 0 bytes, default 32
[ 0.248501] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.261553] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.267696] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.291032] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.302162] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.309191] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.318017] printk: console [ttyS0] disabled
[ 0.322616] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[ 0.331725] printk: console [ttyS0] enabled
[ 0.340780] printk: bootconsole [early0] disabled
[ 0.362217] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[ 0.367306] 7 fixed-partitions partitions found on MTD device spi0.0
[ 0.373888] Creating 7 MTD partitions on "spi0.0":
[ 0.378853] 0x000000000000-0x000000020000 : "u-boot"
[ 0.384864] 0x000000020000-0x000000030000 : "partition-table"
[ 0.391674] 0x000000030000-0x000000040000 : "info"
[ 0.397453] 0x000000040000-0x000000dc0000 : "firmware"
[ 0.407614] 2 elf-loader-fw partitions found on MTD device firmware
[ 0.414136] Creating 2 MTD partitions on "firmware":
[ 0.419271] 0x000000000000-0x0000002160ec : "kernel"
[ 0.425260] 0x0000002160ec-0x000000d80000 : "rootfs"
[ 0.431221] mtd: device 5 (rootfs) set to be root filesystem
[ 0.438805] 1 squashfs-split partitions found on MTD device rootfs
[ 0.445250] 0x000000670000-0x000000d80000 : "rootfs_data"
[ 0.451701] 0x000000dc0000-0x000000df0000 : "config"
[ 0.457641] 0x000000f30000-0x000000ff0000 : "log"
[ 0.463399] 0x000000ff0000-0x000001000000 : "art"
[ 0.470935] libphy: Fixed MDIO Bus: probed
[ 1.471165] libphy: ag71xx_mdio: probed
[ 1.477160] ag71xx 19000000.eth: connected to PHY at mdio.0:04 [uid=004dd074, driver=Atheros 8031 ethernet]
[ 1.487815] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[ 1.494566] i2c /dev entries driver
[ 1.500120] NET: Registered protocol family 10
[ 1.510040] Segment Routing with IPv6
[ 1.513985] NET: Registered protocol family 17
[ 1.518638] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.532039] 8021q: 802.1Q VLAN Support v1.8
[ 1.537181] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[ 1.543549] MEM 0x0000000012000000..0x0000000013ffffff
[ 1.548940] IO 0x0000000000000000..0x0000000000000000
[ 1.554504] PCI host bridge to bus 0000:00
[ 1.558748] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[ 1.565885] pci_bus 0000:00: root bus resource [io 0x0000]
[ 1.571646] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.578651] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.586871] pci 0000:00:00.0: [168c:0056] type 00 class 0x028000
[ 1.593129] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 1.600257] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.606836] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.613714] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[ 1.622168] hctosys: unable to open rtc device (rtc0)
[ 1.631309] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.645551] Freeing unused kernel memory: 1236K
[ 1.650228] This architecture does not have kernel memory protection.
[ 1.656896] Run /sbin/init as init process
[ 2.302813] init: Console is alive
[ 2.306544] init: - watchdog -
[ 2.510789] random: fast init done
[ 3.504997] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.543124] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.561220] init: - preinit -
[ 4.579082] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.694147] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.726280] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.887083] eth0: link up (1000Mbps/Full duplex)
[ 4.897812] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 9.123409] jffs2: notice: (543) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (8 unchecked, 1 orphan) and 26 of xref (1 dead, 0 orphan) found.
[ 9.141346] mount_root: switching to jffs2 overlay
[ 9.150578] overlayfs: upper fs does not support tmpfile.
[ 9.162899] urandom-seed: Seeding with /etc/urandom.seed
[ 9.256224] eth0: link down
[ 9.271296] procd: - early -
[ 9.274360] procd: - watchdog -
[ 9.899148] procd: - watchdog -
[ 9.903812] procd: - ubus -
[ 10.013894] urandom_read: 5 callbacks suppressed
[ 10.013901] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.064820] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.074897] procd: - init -
[ 10.858956] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.936184] GACT probability on
[ 10.941170] Mirror/redirect action on
[ 10.966446] u32 classifier
[ 10.969247] input device check on
[ 10.973084] Actions configured
[ 11.007176] Loading modules backported from Linux version v5.10.34-0-g0aa66717f684
[ 11.015047] Backport generated by backports.git v5.10.34-1-0-g7b5533e1
[ 11.111672] xt_time: kernel timezone is -0000
[ 11.186404] urngd: v1.0.2 started.
[ 11.293324] PPP generic driver version 2.4.2
[ 11.300027] NET: Registered protocol family 24
[ 11.397318] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x56.
[ 11.421877] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 11.428629] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 11.439381] random: crng init done
[ 14.002013] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[ 14.011572] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 14.031680] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-fW-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,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 59e741e7
[ 14.368130] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 0:24 crc32 f228337a
[ 16.129034] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 16.136814] ath10k_pci 0000:00:00.0: msdu-desc: 2500 skid: 32
[ 16.186997] 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'
[ 16.198308] ath10k_pci 0000:00:00.0: wmi print 'free: 114572 iram: 12644 sram: 29508'
[ 16.435473] 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
[ 16.533983] ath: EEPROM regdomain sanitized
[ 16.533993] ath: EEPROM regdomain: 0x64
[ 16.533996] ath: EEPROM indicates we should expect a direct regpair map
[ 16.534015] ath: Country alpha2 being used: 00
[ 16.534018] ath: Regpair used: 0x64
[ 16.627630] ath: EEPROM regdomain sanitized
[ 16.627641] ath: EEPROM regdomain: 0x64
[ 16.627644] ath: EEPROM indicates we should expect a direct regpair map
[ 16.627662] ath: Country alpha2 being used: 00
[ 16.627665] ath: Regpair used: 0x64
[ 16.638784] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 16.640657] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[ 16.681203] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 32.422477] eth0: link up (1000Mbps/Full duplex)
[ 32.427285] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 32.535952] ath: EEPROM regdomain: 0x8348
[ 32.540098] ath: EEPROM indicates we should expect a country code
[ 32.546446] ath: doing EEPROM country->regdmn map search
[ 32.551938] ath: country maps to regdmn code: 0x3a
[ 32.556878] ath: Country alpha2 being used: US
[ 32.561465] ath: Regpair used: 0x3a
[ 32.565061] ath: regdomain 0x8348 dynamically updated by user
[ 32.571073] ath: EEPROM regdomain: 0x8348
[ 32.575209] ath: EEPROM indicates we should expect a country code
[ 32.581511] ath: doing EEPROM country->regdmn map search
[ 32.586993] ath: country maps to regdmn code: 0x3a
[ 32.591947] ath: Country alpha2 being used: US
[ 32.596525] ath: Regpair used: 0x3a
[ 32.600119] ath: regdomain 0x8348 dynamically updated by user
[ 36.269313] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 40.344238] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 40.352027] ath10k_pci 0000:00:00.0: msdu-desc: 2500 skid: 32
[ 40.402033] 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'
[ 40.419302] ath10k_pci 0000:00:00.0: wmi print 'free: 114572 iram: 12644 sram: 29508'
[ 40.741661] ath10k_pci 0000:00:00.0: rts threshold -1
[ 40.753671] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[ 41.156862] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 41.223788] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 214.380212] ath10k_pci 0000:00:00.0: Invalid VHT mcs 15 peer stats
[ 2207.802688] ath10k_pci 0000:00:00.0: wmi: fixing invalid VHT TX rate code 0xff
[31718.056415] ath10k_pci 0000:00:00.0: Invalid peer id 7 or peer stats buffer, peer: 00000000 sta: 00000000
[91576.511901] ath10k_pci 0000:00:00.0: htt tx: fixing invalid VHT TX rate code 0xff