[PATCH RFC 0/3] Improve roam scan strategy

Alexander Ganslandt <[email protected]> Tue, 15 Apr 2025 10:21:11 +0200
Newsgroups dev.linux.lists.iwd
Message-ID <[email protected]>
These patches are WIP, I'm not submitting them for merging at this
point, but rather to start a discussion if this approach makes sense and
if it's a good addition to IWD.

My use case is livestreaming video while moving around a building, which
requires quickly finding a new BSS when the current one becomes weak.
The current behavior of scanning all frequencies at once takes too long
and is almost guaranteed to end up with a disconnection, resulting in
choppy livestreams.

The approach in these patches works a lot better for my use case, but
I'm unsure if it could cause issues for other use cases. I'd appreciate
any feedback or ideas!

Thanks,
Alexander

---
Alexander Ganslandt (3):
      util: add scan_freq_set_size function
      scan: add scan_freq_map
      station: improve roam scan strategy

 src/scan.c    |  36 +++++++++++
 src/scan.h    |   2 +
 src/station.c | 190 +++++++++++++++++++++++++++++++++++++++++++++-------------
 src/util.c    |  11 ++++
 src/util.h    |   1 +
 5 files changed, 199 insertions(+), 41 deletions(-)
---
base-commit: 7d5bcd738bb92cd33756985ffd2c4c67452a7f85
change-id: 20250414-roam-scan-improvements-02116c7c4631

Best regards,
-- 
Alexander Ganslandt <[email protected]>