wpa_cli roam

Jouni Malinen j
Wed Feb 15 08:28:08 PST 2012

On Wed, Feb 15, 2012 at 02:54:42PM +0100, Patrick Herrmann wrote:
> Initiating a scan using the "wpa_cli scan" command and then shortly after that initiating the roam does work. Thank you!
> But I still wonder what is happening. Because wpa_supplicant still had the BSS in its own scan result list, I thought it would be possible to roam to the other AP.

This is the detail that you will need to know to be able to use this
test command.. ;-)  That BSS table is different from the one maintained
in cfg80211.

> How long das cfg80211 has valid scan results? A pointer to a documentation where I can read something about this would be very nice.

Not for long - 15 second expiration time. See Linux kernel
net/wireless/scan.c for more details.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list