your router most likely uses WPA/WPA2 password protection which the DS doesn't support. you have a few choices: create a guest wifi on the router where only your DS can connect, using WEP password or no password, or set up hotspot wifi on your phone.
if you set up a hotspot on your phone, you...