Wireless devices connect directly to each other peer to peer, with no access point or central controller, when they are…