This question already has an answer here:
I can't find a way to disable Wi-Fi roaming on my Mac so I can connect to a specific AP and stay associated to it without roaming to the strongest AP. Is there any way I can do that?
My MacOS version is High Sierra 10.13.2.
I have already tried all airport JoinMode settings (
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport prefs JoinMode) and the "airport-bssid" tool that is available on GitHub, and both solutions didn't work.