band-steering: add band-steering component
This adds a new band-steering component to usteer. With band-steering enabled, usteer will attempt to move clients with a consistently good SNR / signal from 2.4 GHz to the 5 GHz band. In contrast to existing policies usteer tracks, band-steering is non-invasive and will not lead to forceful connection termination. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
4
sta.c
4
sta.c
@@ -160,8 +160,10 @@ usteer_sta_info_update(struct sta_info *si, int signal, bool avg)
|
||||
if (si->connected == STA_CONNECTED && si->signal != NO_SIGNAL && !avg)
|
||||
signal = NO_SIGNAL;
|
||||
|
||||
if (signal != NO_SIGNAL)
|
||||
if (signal != NO_SIGNAL) {
|
||||
si->signal = signal;
|
||||
usteer_band_steering_sta_update(si);
|
||||
}
|
||||
|
||||
si->seen = current_time;
|
||||
|
||||
|
Reference in New Issue
Block a user