Remove the wifi security and try to connect to it. If it connects you already know that the problem is the security protocol. Maybe you do not have it configured correctly in the network settings of your laptop.
Some routers, (I have come across a case with a Telefónica router), despite having compatibility with WPS, does not work as it should. You can ask to have it disconnected from the technical service of your operator.
Best regards