Hello! After this GL-B1300 I decided to buy some more powerful OpenWRT compatible hardware... and the truth is that it works very well, at least during the first two or three speed tests (with peaks of 700 Mbps). After that, the speed is stuck more or less at 100 Mbps at download and 400 Mbps at upload... at least until manual WiFi reconnect on the test device.
At all times during testing a 1200 / 1200 link is established. Before I dig deeper, is there something I'm missing? I don't think that behavior is normal.
I have tested with the following versions:
21.02.2 (r16495-bf0c965af0)
SNAPSHOT (r19481-a5ac8ad0ba)
Note: Iperf over wired network using two threads is 950 Mbps or more (450 using one thread) most of the times... although sometimes I must reboot due to the speed stuck at 150/250 Mbps or less.
Note2: sorry for my bad english
lleachii:
Almost a default installation, with default logger options. What do you need ? General log under Status > System log?
lleachii:
Can you connect a second client and get full speed without disconnecting the first client?
Yes. There is no problem when a new client connect (or reconnect). At least the first minute or two.
lleachii:
Have you tried Packet Steering?
It is activated by default. But not change with it deactivated.
lleachii:
Have you tried software flow offloading?
It is a dump AP. Firewall, DNS and DHCP deactivated. But yes, tried that option without changes.
Problem persist while roaming (the only fix I know is to deactivate / activate WiFi on Android Settings). Problem not present on AC devices, just AX.
Problem still present in OpenWrt SNAPSHOT r19508-0d2d52df69.
Now if I do three or four speed test in a row, my device switch to the 2.4 GHz WiFi.
@lleachii thank you very much for your time. The logs:
With an AC client (Laptop) after the second speed test:
Fri Apr 22 19:27:10 2022 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Apr 22 19:27:10 2022 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 10)
Fri Apr 22 19:27:10 2022 daemon.notice hostapd: wlan1: Prune association for xx:xx:xx:xx:xx:xx
Fri Apr 22 19:27:10 2022 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Fri Apr 22 19:27:12 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Apr 22 19:27:12 2022 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Apr 22 19:27:12 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx
Fri Apr 22 19:27:13 2022 authpriv.info dropbear[8717]: Child connection from 192.168.1.200:56775
Fri Apr 22 19:27:21 2022 authpriv.notice dropbear[8717]: Password auth succeeded for 'root' from 192.168.1.200:56775
Fri Apr 22 19:27:40 2022 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
With an AX client (SmartPhone) after a lot of speed test:
Fri Apr 22 19:49:03 2022 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED yy:yy:yy:yy:yy:yy
Fri Apr 22 19:49:03 2022 daemon.info hostapd: wlan1: STA yy:yy:yy:yy:yy:yy IEEE 802.11: authenticated
Fri Apr 22 19:49:03 2022 daemon.info hostapd: wlan1: STA yy:yy:yy:yy:yy:yy IEEE 802.11: associated (aid 3)
Fri Apr 22 19:49:03 2022 daemon.notice hostapd: wlan1: AP-STA-CONNECTED yy:yy:yy:yy:yy:yy
Fri Apr 22 19:49:03 2022 daemon.info hostapd: wlan1: STA yy:yy:yy:yy:yy:yy WPA: pairwise key handshake completed (RSN)
Fri Apr 22 19:49:03 2022 daemon.notice hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED yy:yy:yy:yy:yy:yy
Fri Apr 22 19:50:00 2022 cron.err crond[1711]: USER root pid 9033 cmd fping -g 192.168.1.0/24 >/dev/null 2>&1
Fri Apr 22 19:50:51 2022 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED yy:yy:yy:yy:yy:yy
Fri Apr 22 19:50:52 2022 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Apr 22 19:50:52 2022 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Apr 22 19:50:54 2022 daemon.info hostapd: wlan0: STA yy:yy:yy:yy:yy:yy IEEE 802.11: authenticated
Fri Apr 22 19:50:54 2022 daemon.info hostapd: wlan0: STA yy:yy:yy:yy:yy:yy IEEE 802.11: associated (aid 11)
Fri Apr 22 19:50:54 2022 daemon.notice hostapd: wlan1: Prune association for yy:yy:yy:yy:yy:yy
Fri Apr 22 19:50:54 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED yy:yy:yy:yy:yy:yy
Fri Apr 22 19:50:54 2022 daemon.info hostapd: wlan0: STA yy:yy:yy:yy:yy:yy WPA: pairwise key handshake completed (RSN)
Fri Apr 22 19:50:54 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED yy:yy:yy:yy:yy:yy
Just to be sure, with the AX client deactivating the fping cron... there is no band switch, but there is speed drop.
Fri Apr 22 20:01:27 2022 daemon.info hostapd: wlan1: STA yy:yy:yy:yy:yy:yy IEEE 802.11: authenticated
Fri Apr 22 20:01:27 2022 daemon.info hostapd: wlan1: STA yy:yy:yy:yy:yy:yy IEEE 802.11: associated (aid 2)
Fri Apr 22 20:01:27 2022 daemon.notice hostapd: wlan1: AP-STA-CONNECTED yy:yy:yy:yy:yy:yy
Fri Apr 22 20:01:27 2022 daemon.info hostapd: wlan1: STA yy:yy:yy:yy:yy:yy WPA: pairwise key handshake completed (RSN)
Fri Apr 22 20:01:27 2022 daemon.notice hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED yy:yy:yy:yy:yy:yy
Fri Apr 22 20:02:20 2022 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED yy:yy:yy:yy:yy:yy
Fri Apr 22 20:02:20 2022 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Apr 22 20:02:20 2022 daemon.info hostapd: wlan1: STA yy:yy:yy:yy:yy:yy IEEE 802.11: associated (aid 2)
Fri Apr 22 20:02:20 2022 daemon.notice hostapd: wlan1: AP-STA-CONNECTED yy:yy:yy:yy:yy:yy
Internet Speed test from ssh on X5000R (same as wired LAN PC):
Download: 655.69 Mbit/s
Upload: 861.33 Mbit/s
iperf3 to OPNSense box from X500R:
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-15.04 sec 214 MBytes 120 Mbits/sec 0 sender
[ 5] 0.00-15.04 sec 214 MBytes 120 Mbits/sec receiver
[ 7] 0.00-15.04 sec 185 MBytes 103 Mbits/sec 0 sender
[ 7] 0.00-15.04 sec 185 MBytes 103 Mbits/sec receiver
[ 10] 0.00-15.04 sec 182 MBytes 102 Mbits/sec 0 sender
[ 10] 0.00-15.04 sec 182 MBytes 102 Mbits/sec receiver
[ 12] 0.00-15.04 sec 435 MBytes 243 Mbits/sec 0 sender
[ 12] 0.00-15.04 sec 435 MBytes 242 Mbits/sec receiver
[SUM] 0.00-15.04 sec 1017 MBytes 567 Mbits/sec 0 sender
[SUM] 0.00-15.04 sec 1017 MBytes 567 Mbits/sec receiver
EDIT: There is no new kernel log
I think that I found the problem and a workaround. The problem is the 802.11r Fast Transition . As soon as I activate it, the speed drop appears after a while. The workaround is to activate these two options:
Enable 802.11w Management Frame Protection > Optional
Enable key reinstallation (KRACK) countermeasures
I will test this configuration in deep and report later.
The workaround works for the speed issue, but disconnections still occurs. I created an issue https://github.com/openwrt/openwrt/issues/9767
Thanks @lleachii
1 Like
@oldium suggested on GitHub to activate the option Disable Inactivity Polling for the disconnections problem and for now it is working. Sometimes the speed stucks while roaming, but I can live with it. Final workaround config:
option ieee80211w '1'
option wpa_disable_eapol_key_retries '1'
option skip_inactivity_poll '1'
system
Closed
May 4, 2022, 10:17am
11
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.