Devices that support this standard (e.g. more recent smartphones) can send a request to obtain a list of neighbor access points, with their channels and status, for instance when the signal strength of the current one starts weakening.
Once obtained, the devices know which access points are candidates for the next roam.