barbieri-playground icon indicating copy to clipboard operation
barbieri-playground copied to clipboard

Adapter config

Open rodtraves opened this issue 3 years ago • 2 comments

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.

rodtraves avatar Jan 12 '22 13:01 rodtraves

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 b1326919d2eb768c173203bdc18fe4627487816e 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)

barbieri avatar Jan 12 '22 17:01 barbieri

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.

jxph1123 avatar Feb 05 '22 06:02 jxph1123