Ps3 wont connect to wireless

Im have a problem with it in which my ps3 cant connect to any wifi. It cannot scan my wifi signal or any other wifi internet for that matter. Before, there used to be a list of wifi but now, there isnt any, when i press scan, it says "access point wasnt detected" . Also, my ps3 controller wont connect to the ps3 without the wire.

Clear internet device

Isn't there a clear/rescan button for the device list? Just try rebooting the gateway (pull plug for 15 secs. and let it fully reboot). Or factory reset (push red button in the back for about 15 secs.) but if you do the factory reset any changes you made to the gateway will be lost.