[PATCH] Add blacklist command
Thu Mar 17 09:55:14 PDT 2011
On Thu, Mar 17, 2011 at 1:45 AM, Jouni Malinen <j at w1.fi> wrote:
> On Wed, Mar 16, 2011 at 02:37:39PM -0700, Dmitry Shmidt wrote:
>> This command allows to network manager to avoid AP
> What would this be used for? Please note that wpa_supplicant will
> automatically clear the blacklist if no matching networks are found and
> as such, this may result in unexpected behavior if you assume that
> blacklisting a BSS would mean that that BSS would not be selected in the
> next scan. It may very well get picked anyway..
We are talking about ESSID case where we have several APs. We are
connecting to the "best"
AP but it can be not really the best one. So to switch we can
blacklist it and reconnect to another one.
In wpa_supplicant_pick_network() we try to select another AP from same
if there is no any we will clean blacklist.
> Jouni Malinen ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?PGP id EFC895FA
> HostAP mailing list
> HostAP at lists.shmoo.com
More information about the Hostap