Wi-Fi mode selection