If you can connect via ethernet it's very possible that your Router is set to Wireless N mode only and the adaptor built into your laptop/computer isn't compatible with it.
Try setting the router to a lower standard (802.11b/g) you'll find that'll probably work.