You don’t need to be connected to the internet via Wi-Fi; you only need to have Wi-Fi enabled on your device and ensure that multiple Wi-Fi networks are detectable. You can use a wired Ethernet connection for internet access while keeping Wi-Fi enabled at the same time.