If you're experiencing issues with your Mac connecting to the slower 2G band on routers that share SSID between 5G/2G (like the Google Wifi Nest), here's a guide to help you force a 5 GHz connection.
- Check Current Band: Hold
option
and click on the wifi icon on the macOS status bar. This will display the band you are currently connected to. - Scan WiFi Channels: Use the following command to list all channels your WiFi is operating on:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport scan