Add utilities function for wifi