Does anybody happen to know if it is possible to find (or determine) the actual algorithm that wireless clients use to choose which the BSSID to connect to when there are multiple SSIDs available at once? And I'm assuming it is the same algorithm that determines which wireless ap they connect to in a single SSID situation? I'm sure the algorithm is device dependant, but I'd be interested in starting with any one specific OS if you know of any at all (Apple preferred though).

Thanks in advance.


well, this paper describes how 802.11__ devices choose a given AP (BSSID) when there are multiple available for a SSID:


From the paper, it indicates that the primary determinant is the calculated bandwidth to each AP (measuring up and down separately), based on a passive (reciever-only) measurement, by measuring the time it takes for the client to receive beacon frames from the device, advertising its presence and services.

Things like congestion, optimal route determination, and other runtime considerations that would require a back-and-forth with the APs do not appear to have bearing on the decision.

Implementation is up to the manufacturers, but I would hazard a guess that when there is only one AP, the comparison is still made, its just that there is a clear winner, since there's only one horse in the race.

Note, this kind of thing does evolve over time. for instance here is a paper on a more full fledged algorithm released just this last March: http://www.eecs.berkeley.edu/Pubs/TechRpts/2014/EECS-2014-104.pdf . I'm certain it hasn't made it into any device specs as of yet however.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.