Dumb AP latency optimization

Hello all, I am using a setup with an x86 box running pfsense for all routing, dhcp and firewall needs along with a dumb router (U6-LR v2) running openwrt version 23.05.0. I have noticed that when I ping the access point via cable, I get a good latency of around 1ms, but when I do it with a wifi connection, the latency jumps to 12ms.

I have tried changing the wifi channel, adjusting the transmit power, disabling some services, and updating the firmware, but none of them made a significant difference. I have also checked the wifi signal strength and interference, and they seem to be fine.
The issue occurs on both 2.4ghz and 5ghz radios.

Is there a way to mitigate the latency for wifi connection? Are there any settings on openwrt that I can tweak to improve the situation? Any advice or suggestions would be greatly appreciated.

Ethernet connection will always outperform wifi in this way of measuring.

I understand that and am not not surprised about the discrepancy. Just curious if there are any settings I can tweak in order to lessen the client - ap latency.

Not as long as wifi are supposed to use radio instead of wire.
Maybe in wifi7 or 8, or in the future this will be better.

But 12ms is still really fast for wifi6 to begin with.

With a Ubuntu laptop pre-24.04 + Intel AC8265 against EAP615 on OpenWrt 23.05.2 I get avg latency of <3ms
-- 192.168.0.201 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11019ms
rtt min/avg/max/mdev = 1.521/2.887/4.594/0.794 ms

So 12ms in your case indeed looks big.

Possibly the client device introduces additional latency?

Can you test with multiple client devices (linux and windows)?
Can you post the /etc/config/wireless, with redacted passwords, from the accesspoint?

Thanks for the reply ed8. I just tested with a couple different clients and it seems like my laptop was the weak link. Gonna have to debug what and why but that's not an OpenWrt issue :slight_smile:
--- 10.98.98.2 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6123ms
rtt min/avg/max/mdev = 0.727/0.882/1.295/0.197 ms

Looked into things and it's most likely the laptops Qualcomm QCNFA765 that's being cranky on linux.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.