Tue Feb 14 13:57:26 PST 2012
On Tue, Feb 14, 2012 at 02:03:52PM +0100, Patrick Herrmann wrote:
> I have some trouble using "wpa_cli roam <bssid>" command.
Please note that this is really a developer command and you need to know
some low-level details to be able to use it in practice..
> Now I initiate the handover from AP2 back to AP1. The lookup of the PMKID succeeds as can be seen in the debug output below. But the nl80211 driver fails sometimes "nl80211: MLME command failed ret=-2 (No such file or directory)":
That was most likely caused by cfg80211 not having a valid BSS entry for
the destination AP. The roam command does not trigger a scan to allow it
to be used in various testing needs. In other words, you are responsible
for making sure that cfg80211 has valid scan results at the time you
issue this command. For example, run a single channel scan on the
channel of the destination AP with iw just prior to using wpa_cli roam.
Jouni Malinen PGP id EFC895FA
More information about the Hostap