Question: do i only need a router for wifi?
Answer: You do not need to have a router to use Wi-Fi as long as you're not trying to share an Internet connection. The common consumer Wi-Fi router is actually a combination device that includes a network switch, a network router and a Wi-Fi access point.