Added p2p wifi connection and discovery.