Suppose I am in an area with a lot of Wireless AP's for a particular SSID.
If I run the command
sudo iw dev wlan0 connect <ESSID>
iw decide which AP to connect to?
It does not seem to be based on signal strength, since the one it connects to is not the one with the best signal strength.