Hi,
I tried to follow the instruction provided in this thread to bump the numbers of allowed peers to 100.
I am running OpenWRT 21.02.03 on a Linksys MR8300. I added one wifi on radio0 Qualcomm Atheros QCA9886 802.11nac
and another one on for radio1 Qualcomm Atheros IPQ4019 802.11bgn
. The third radio (radio2) Qualcomm Atheros IPQ4019 802.11nac
is not in use.
One thing I noticed was, that despite having radio0 being listed as QCA9886, in the software tab the board and firmware for QCA9888 was installed. I kept going with QCA9888 and didn't switch to QCA9886. I installed CT-HTT for both radios: radio0 and radio1:
opkg remove ath10k-firmware-qca4019-ct && opkg remove ath10k-firmware-qca9888-ct && opkg install ath10k-firmware-qca4019-ct-htt && opkg install ath10k-firmware-qca9888-ct-htt && opkg install kmod-ath10k-ct
I added the file fwcfg-pci-0000:01:00.0.txt
to directory /lib/firmware/ath10k
with the following content:
vdevs = 4
peers = 100
active_peers = 100
stations = 100
rate_ctrl_objs = 7
regdom = 840
#fwname = firmware-5-htt-mgt-b.bin
fwver = 5
nohwcrypt = 0
ct_sta_mode = 0
tx_desc = 2200
#max_nss = 3
tids = 256
skid_limit = 360
max_amsdus = 3
After a reboot I see the following output for dmesg | grep ath10k
:
[ 11.995503] ath10k_pci 0000:01:00.0: fwcfg key: vdevs val: 4
[ 11.995547] ath10k_pci 0000:01:00.0: fwcfg key: peers val: 100
[ 12.000285] ath10k_pci 0000:01:00.0: fwcfg key: active_peers val: 100
[ 12.005971] ath10k_pci 0000:01:00.0: fwcfg key: stations val: 100
[ 12.012596] ath10k_pci 0000:01:00.0: fwcfg key: rate_ctrl_objs val: 7
[ 12.018730] ath10k_pci 0000:01:00.0: fwcfg key: regdom val: 840
[ 12.025254] ath10k_pci 0000:01:00.0: fwcfg key: fwver val: 5
[ 12.031416] ath10k_pci 0000:01:00.0: fwcfg key: nohwcrypt val: 0
[ 12.037046] ath10k_pci 0000:01:00.0: fwcfg key: ct_sta_mode val: 0
[ 12.043135] ath10k_pci 0000:01:00.0: fwcfg key: tx_desc val: 2200
[ 12.049197] ath10k_pci 0000:01:00.0: fwcfg key: tids val: 256
[ 12.055475] ath10k_pci 0000:01:00.0: fwcfg key: skid_limit val: 360
[ 12.061291] ath10k_pci 0000:01:00.0: fwcfg key: max_amsdus val: 3
However, after some time I am still seeing this warning:
[39808.870198] ath10k_ahb a000000.wifi: refusing to associate station: too many connected already (32)
[39817.744651] ath10k_ahb a000000.wifi: refusing to associate station: too many connected already (32)
[39830.545958] ath10k_ahb a000000.wifi: refusing to associate station: too many connected already (32)
[39849.241843] ath10k_ahb a000000.wifi: refusing to associate station: too many connected already (32)
[39867.952368] ath10k_ahb a000000.wifi: refusing to associate station: too many connected already (32)
...
Do you see anything obvious what I might have done wrong? Does it look strange to you as well that QCA9886 is listed in my wireless configuration but QCA9888 firmware was installed for the Linksys MR8300 OpenWRT image? I am not sure if this could already be the culprit. Looking forward to hearing your thoughts
Thanks a lot in advance!