Last-mile communication time requirements of the smart grid