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

802.11S ??? WORK? #5

Open
vigeruno opened this issue Jun 27, 2019 · 5 comments
Open

802.11S ??? WORK? #5

vigeruno opened this issue Jun 27, 2019 · 5 comments

Comments

@vigeruno
Copy link

I tried your scrypt and it works visually but the STAs really don't get disconnected as ever?

The test was performed in MESH 802.11S mode

wifi-disconnect-low-signal: wlan0: 90:F6:52:40:03:8E signal=-68dBm snr=26dBm strikes=3 (threshold: snr_stay=27 strikes=3): should disconnect
wifi-disconnect-low-signal: wlan0: disconnected 90:F6:52:40:03:8E {signal=-68dBm, noise=-94dBm, snr=26dBm, strikes=3, is_new=false}
wifi-disconnect-low-signal: wlan0: signal poll: 1 STAs, 1 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: signal poll: 0 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: forget 90:F6:52:40:03:8E
wifi-disconnect-low-signal: wlan0: 90:F6:52:40:03:8E signal=-55dBm snr=40dBm strikes=0 (threshold: snr_connect=33 strikes=0): good signal
wifi-disconnect-low-signal: wlan0: signal poll: 1 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: 90:F6:52:40:03:8E signal=-43dBm snr=52dBm strikes=0 (threshold: snr_stay=27 strikes=3): good signal
wifi-disconnect-low-signal: wlan0: signal poll: 1 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: 90:F6:52:40:03:8E signal=-42dBm snr=53dBm strikes=0 (threshold: snr_stay=27 strikes=3): good signal
wifi-disconnect-low-signal: wlan0: signal poll: 1 STAs, 0 disconnected
wifi-disconnect-low-signal: wlan0: 90:F6:52:40:03:8E signal=-42dBm snr=53dBm strikes=0 (threshold: snr_stay=27 strikes=3): good signal
wifi-disconnect-low-signal: wlan0: signal poll: 1 STAs, 0 disconnected

@barbieri
Copy link
Owner

it should have disconnected:

wifi-disconnect-low-signal: wlan0: disconnected 90:F6:52:40:03:8E {signal=-68dBm, noise=-94dBm, snr=26dBm, strikes=3, is_new=false}

at least this does the command to, when I first wrote this it was to force my phone to roam to another AP and it did work.

@jxph1123
Copy link

jxph1123 commented Sep 7, 2020

In fact, signal_connect and signal_snr_connect are useless, they will not prohibit wifi connection, and will repeatedly connect and remove them.

@barbieri
Copy link
Owner

barbieri commented Sep 7, 2020

yes, there is no way (AFAIK) to prohibit the connection, just force the disconnect.

The reasoning is that most wifi devices will try to keep connected to the same AP as much as possible, but if you roam in your house, the signal may become weak, which will require more retransmissions and make the quality worse... and it may be that there is a much better AP nearby, but the wifi won't "jump" to the new AP unless you kick it from the previous AP (or it becomes disconnected due some other reason), then it will look for the best signal with the same SSID.

@jxph1123
Copy link

jxph1123 commented Sep 8, 2020

In fact, the WIFI weak signal disconnect function has been implemented, which is very useful for AP switching at home. Thank you for the excellent tool.

@barbieri
Copy link
Owner

could we close this?

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

3 participants