public inbox for iwd@lists.linux.dev
 help / color / mirror / Atom feed
* Roaming questions
@ 2025-02-13 15:01 Alexander Ganslandt
  2025-02-13 15:24 ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Ganslandt @ 2025-02-13 15:01 UTC (permalink / raw)
  To: iwd

Hello,

I'm looking into different roaming solutions and currently evaluating 
iwd, which seems promising so far! My use-case is a device live 
streaming video while moving around large areas, and the goal is to do 
so without hiccups in the live stream. I have a few questions:

Looking at station_roam_failed(), it will schedule a full scan if the 
previous limited scan failed to find a better BSS to roam to. A full 
scan on our chip takes about 7 seconds, which is often enough time for 
the signal to get low enough to deauthenticate the station when you're 
moving. It seems to me that a better approach would be to schedule a 
scan for either the "known frequencies", or all non-DFS frequencies 
(since passive scanning takes extra time) or some other popular group of 
frequencies that won't take long to scan. If we're lucky there is a good 
BSS in that scan, otherwise we schedule a scan for the rest of the 
frequencies. In the worst case, this should be identical to a full scan 
with minor extra overhead. Do you have any thoughts about this from your 
side? Is it something that could be accepted into iwd or could it cause 
issues for other use-cases?

Another question is about the "CriticalRoamThreshold". There seems to be 
a config for this and some functions for lowering and raising the roam 
threshold, but I can't see that they're called from anywhere? It seems 
to me that only "RoamThreshold" is used, or am I missing something? 
There's also a hardcoded delay of 5 seconds from the point where the 
roam threshold is passed before a scan is started, is that just a 
"hysteresis" to not immediately start a scan if the signal temporarily 
drops, or does it have some other function?

Thanks in advance!

Best regards,
Alexander

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

end of thread, other threads:[~2025-02-17 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-13 15:01 Roaming questions Alexander Ganslandt
2025-02-13 15:24 ` Denis Kenzior
2025-02-13 15:42   ` James Prestwood
2025-02-17 10:15     ` Alexander Ganslandt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox