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

Adapter config #17

Open
rodtraves opened this issue Jan 12, 2022 · 2 comments
Open

Adapter config #17

rodtraves opened this issue Jan 12, 2022 · 2 comments

Comments

@rodtraves
Copy link

Seeing that on the description you this:
Edit the /etc/config/wireless either manually or using uci and add the option signal_NAME 'value' to config wifi-device sections.

Looking at the example, you have it configured under config wifi-iface 'default_radio0' - can you clarify which one is the right approach?

Adding another question, I see these events:
wifi-disconnect-low-signal: wlan0: E0:2B:E9:D7:EF:7E signal=-78dBm snr=21dBm strikes=1 (threshold: signal_connect=-65 strikes=0): should disconnect
wifi-disconnect-low-signal: wlan0: disconnected E0:2B:E9:D7:EF:7E {signal=-78dBm, noise=-99dBm, snr=21dBm, strikes=1, is_new=true}

My expectation is that the device should disconnect immediately, right? Not seeing the same happening on Windows device.

Thanks in advance.

@barbieri
Copy link
Owner

Hi @rodtraves,

I'm not using this at the moment, so I can't confirm my own setup, but I'm pretty sure the examples were copied from it, so the wifi-iface should be the correct... likely I did a typo in there.

Since the last commit b132691 the disconnect method changed from del_client to wnm_disassoc_imminent, please check if reverting that fixes it for you.

the author tested on Android devices, so eventually Windows doesn't implement that (actually it looks this may be per-radio/driver)

@jxph1123
Copy link

jxph1123 commented Feb 5, 2022

14:19:47 2022 user.info wifi-disconnect-low-signal: wlan1: disconnected 16:50:BB:11:E1:D0 {signal=-80dBm, noise=0dBm, snr=-80dBm, strikes=1, is_new=false}
14:20:50 2022 user.info wifi-disconnect-low-signal: wlan1: forget 16:50:BB:11:E1:D0

The forget log seems to have a 1 minute delay.

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