Just as a place to start, because it will rule out so many other possible issues, would you first try to connect to an unencrypted wireless AP ? If you can do this, then we can restrict the problem solving effort to your configuration of wpa_supplicant
