Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WRT1900AC - TIMEOUTS/POOR LATENCY WHEN GUEST DEVICES CONNECT #350

Open
SuperJuke opened this issue Feb 20, 2019 · 17 comments
Open

WRT1900AC - TIMEOUTS/POOR LATENCY WHEN GUEST DEVICES CONNECT #350

SuperJuke opened this issue Feb 20, 2019 · 17 comments

Comments

@SuperJuke
Copy link

I have tried OpenWrt v18.06.1, v18.06.2 and the latest version on @davidc502 website on the WRT1900AC. Same behaviour on all of them - the wireless network, 2.4GHz, performance begins to degrade(poor latency, timeouts) when about 3 or more devices are connected on the guest network. The degraded connection is between devices on the LAN and the router. No other packages were installed when tested. The guest network was configured using this guide. There are no obvious messages in system/kernel log when the problem(large fluctuations in LAN ping times) pops up but I know for sure it only happens when devices begin to get on to the guest network) .

A few observations:

  1. The wireless performance improves when legacy mode is disabled on the 2.4Ghz network. Nonetheless, ping times can fluctuate quite high sometimes and the occasional timeout occurs.

  2. All the devices on the guest network(3 to 6 most times) are Android devices. I don't know if this matters.

  3. The wireless guess devices are my neighbours and are a little distance from me, hence they usually connect at 80(+)db.

Could this be a Wifi driver issue?

@derosier
Copy link

derosier commented Feb 20, 2019 via email

@SuperJuke
Copy link
Author

Thanks for the reply. Let me address your second point first. I live in a third world country where all of us are not fortunate to have a broadband Internet connection at home. I happen to be able to afford it, so I share what I can with my neighbors.

On your first point; yes, the devices are connecting at b/g rates. However, should this affect latency on the main WiFi, to the point of even "timeouts" between a device on the main wireless LAN(not the guest LAN) and the router itself, especially on a router with solid hardware as the WRT1900AC?

What should I look for on the wireless sniff?

You

@derosier
Copy link

derosier commented Feb 20, 2019 via email

@SuperJuke
Copy link
Author

Hi Steve, if signal strength is the culprit, then how much signal strength is good enough? No matter the signal strength, there will always be clients on the edge of the WiFi, possibly connecting at b/g rates. Yet still we have open public access points which do deteriorate like this when many clients are connected. Prior to this router, I ran a Xiaomi R3G router at the same location which did not behave this way. Neither did my GL-MT300N-V2 or a Linksys EA3500.

@derosier
Copy link

derosier commented Feb 20, 2019 via email

@SuperJuke
Copy link
Author

SuperJuke commented Feb 20, 2019

I'm sure you will agree that having 3 to 6 'guest' devices within a 100-150 meter range connected to a router isn't exactly enterprise stuff. Is it? Obviously, the cause of the problem is unclear but I'm willing to try out different suggestions. Thanks for the input.

@anomeome
Copy link

If you still have any of those other devices, setting one up as a dumb AP for the guest network, with a UTP backhaul may offer a way around the apparent mwlwifi difficulties.

@SuperJuke
Copy link
Author

SuperJuke commented Feb 21, 2019

I have given some thought to this but I wouldn't benefit from the good range of the WRT1900AC. So I'm gonna keep on trying to figure this out and if nothing else works, then I may have no choice but to settle for this option.

@BrainSlayer
Copy link

just some cents from me. since all about talking about android and mobile devices. mobile devices have one annoying features which will fuck up every network and increase latencies. "power save". power save often means, a mobile radio goes to sleep but the connection is still established and the ap gets no signal that the device is gone in reality. now we have different clients wich are showing as connectable but in fact they wont receive anymore any data. this will cause a lot of troubles with hanging packets within a transmission queue. of course we cannot fix it since marvell still refuse to maintain the driver in any way and to fix bugs at all. but as a work around you may simply disable the power save function in your wifi settings (on your mobile device). i know that this option is available on several phones.

@SuperJuke
Copy link
Author

Thanks for the option, @BrainSlayer. I can certainly try it out on my own phone but I wouldn't want to touch others phones. Some people are very sensitivity when it comes to a cellphone and their privacy. Hopefully, a solution can be found which does not involved the end-user.

@cowwoc
Copy link

cowwoc commented Feb 22, 2019

@BrainSlayer Don't the packets and zombie clients time out eventually?

marvell still refuse to maintain the driver in any way and to fix bugs at all

Isn't this github repository the device driver in question? If so, what prevents us from implementing this fix ourselves? The code is hard to understand? Or is it something else?

@BrainSlayer
Copy link

they should. the problem is that the chipset firmware is handling this and we can't change it. on ath9k and other drivers der is a cyclic null frame ping link packet to detect such zombies to kick them out or at least ignore them and clean the queue. the marvell driver has 2 parts. the opensource part here which is a interface between the linux wireless stack and the chipset. but the chipset has a own closed source firmware which we cannot control. thats the main issue here

@BrainSlayer
Copy link

a common solution is also to announce that the ap isnt powersave capable. but i need to research if this works where and how we can handle this. my request on your is first to find out if its a solution at all. and it only works if all devices have powersave disabled

@dmascord
Copy link

dmascord commented Mar 6, 2019

can we not implement a cyclic null frame ping link packet that is handled in the "software side" of the driver, and keep the devices in the active list forcibly and kick out the ones that we don't get a response ?

@RunGp
Copy link

RunGp commented Mar 24, 2019

Hi same problem for my on my router
WRT3200ACM on 2.4GHZ newtwork
a fix is planned or not?

@PalebloodSky
Copy link

Seem to be experiencing this problem on my WRT32X too running the latest driver version. Looks like there is isn't much support here anymore.

@BrainSlayer
Copy link

@dmascord . no we can't. its fullmac chipset .all relevant functions are handled within the chipset firmware binary blob.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants