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

mesh_rssi_threshold Functionality #70

Closed
darkdrgn2k opened this issue Dec 10, 2017 · 8 comments
Closed

mesh_rssi_threshold Functionality #70

darkdrgn2k opened this issue Dec 10, 2017 · 8 comments

Comments

@darkdrgn2k
Copy link

Does mesh_rssi_threshold prevent links with low dBm values, or does it simply not route packets over that links?

I set it to -30 however the links with -50 and -70 both show in station dump.

@chunyeow
Copy link
Contributor

chunyeow commented Dec 14, 2017 via email

@darkdrgn2k
Copy link
Author

yes seems established

 iw dev wlan0 set mesh_param mesh_rssi_threshold -70
Station 8c:88:2b:00:00:4a (on wlan0)
        inactive time:  172 ms
        rx bytes:       6602425
        rx packets:     101132
        tx bytes:       3706042
        tx packets:     24597
        tx retries:     132134
        tx failed:      14820
        signal:         -74 [-74] dBm
        signal avg:     -75 [-75] dBm
        Toffset:        -540333624 us
        tx bitrate:     1.0 MBit/s
        rx bitrate:     6.5 MBit/s MCS 0
        expected throughput:    0.366Mbps
        mesh llid:      41224
        mesh plid:      12402
        mesh plink:     ESTAB
        mesh local PS mode:     ACTIVE
        mesh peer PS mode:      ACTIVE
        mesh non-peer PS mode:  ACTIVE
        authorized:     yes
        authenticated:  yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no

@chunyeow
Copy link
Contributor

chunyeow commented Dec 16, 2017 via email

@darkdrgn2k
Copy link
Author

so i did some testing
NEW connections will not be established when the threshold is set and sit at "LISTEN"

OLD connections are not dropped even after several hours

is this by design?

No encryption open air and settings are still set.

@chunyeow
Copy link
Contributor

chunyeow commented Dec 16, 2017 via email

@darkdrgn2k
Copy link
Author

Awesome thank you that explains the behavior i am seeing, seems like its all by design.
So a connection established BEFORE threshold is set will NOT be blocked

What about a connection that is set AFTER but then at a later point falls below the threshold?

@chunyeow
Copy link
Contributor

chunyeow commented Dec 17, 2017 via email

@darkdrgn2k
Copy link
Author

Awsome thank you for the explanation. It is all working as designed then.

I also am working on a script to keep en eye out for the signal and block connections that fall bellow the threshold while opening one's that go above. I just didn't want to reinvent the wheel.

The threshold in o11s is a def useful thank you

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

2 participants