A wireless ad-hoc network is a wireless communication network including relay and mesh networks where wireless relay networks allows the relay node to send its received signal from the source node to the destination node and the wireless mesh networks allows specified or arbitrary nodes to be the access point by communicating with other candidate access points.