I too just started having this problem. Been on the phone with ATT for hours. Here is what I tried, maybe will work for you. Did NOT work for me, mine still not working. Phone finds WiFi, but says it can't connect. I get the same message you are, at all networks, not just at home.
Tried "forget this network" Not only didn't work, doesn't ever show up anymore to forget.
Finds networks, but have full black bars, not blue, won't accept password
Airline mode is OFF
Macbook connects to wifi at home just fine. Phone won't connect to ANY WiFi anywhere, open or otherwise.
Tried entering network into "other," still won't accept.
Under "settings," "general", then "reset": tried reset network settings, and reset ALL settings. Nada
Tried syncing to macbook through itunes, the RESTORE, which sets it back to original settings. ATT said this would determine if it was a hardware or software problem. Tech guy said to try it before resyncing with saved data. Nada. Still didn't work. Thus not a software problem, must be hardware.
Hope you find answer, I have no other options than to find an Apple store, about 6 hours away.