All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Improve roam scan strategy
@ 2025-08-29  7:43 Alexander Ganslandt
  2025-08-29  7:43 ` [PATCH v2 1/3] util: add scan_freq_set_size function Alexander Ganslandt
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexander Ganslandt @ 2025-08-29  7:43 UTC (permalink / raw)
  To: iwd

I recommend looking at the diff in a side-by-side viewer, the patch
files are looking far more complicated than they actually are...

This is attempt #2 at improving roaming. This removes the previous
timestamp-based approach and instead uses a simple list to keep track of
which frequencies have been scanned in the current roam attempt.

The main idea is to make station_start_roam() the central point for all
roaming. When some function wants to trigger a roam, it calls
station_start_roam() that takes care of all scan logic.

In my own testing I've noticed a big improvement in connection stability
when running around a building. There might be edge-cases I've missed
though, as I don't have a setup to test all different functionality.

Happy to hear your thoughts on this approach and if it can be improved.

Thanks,
Alexander

---
Changes in v2:
- Removed code that tracked scan frequency timestamps
- Added code to track which frequencies have been scanned
- Link to v1: https://lore.kernel.org/r/20250415-roam-scan-improvements-v1-0-12827e086895@axis.com

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

 src/station.c | 350 +++++++++++++++++++++++++++++++++-------------------------
 src/util.c    |  11 ++
 src/util.h    |   1 +
 3 files changed, 209 insertions(+), 153 deletions(-)
---
base-commit: 3760a49650b39edd623a85a2b9d51645b52d004a
change-id: 20250414-roam-scan-improvements-02116c7c4631

Best regards,
-- 
Alexander Ganslandt <alexander.ganslandt@axis.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-09-12  7:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-29  7:43 [PATCH v2 0/3] Improve roam scan strategy Alexander Ganslandt
2025-08-29  7:43 ` [PATCH v2 1/3] util: add scan_freq_set_size function Alexander Ganslandt
2025-08-29  7:43 ` [PATCH v2 2/3] station: improve scan_freqs_order channel subsets Alexander Ganslandt
2025-09-09 13:25   ` James Prestwood
2025-08-29  7:43 ` [PATCH v2 3/3] station: improve roam scan strategy Alexander Ganslandt
2025-09-09 13:35   ` James Prestwood
2025-09-12  7:53     ` Alexander Ganslandt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.