[PATCH] Verify that the selected BSS has a better signal level before roaming

Jouni Malinen j at w1.fi
Sat Nov 24 10:20:12 EST 2012


On Sun, Nov 18, 2012 at 11:17:37PM -0500, Robert Shade wrote:
> This prevents situations like the following where we roam to a
> lesser quality BSS just because the signal level delta is over our
> threshold.

Thanks, applied.

> wlan0: Considering within-ESS reassociation
> wlan0: Current BSS: 00:24:6c:74:0a:40 level=-51
> wlan0: Selected BSS: 00:24:6c:74:0a:e0 level=-64

Though, it would be interesting to know how the :e0 BSS got selected in
this case.. Do the APs use different security parameters?
wpa_scan_result_compar() is supposed to order the BSS entries so that
this selection should not have happened in the first place..

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list