I tried to ignore the fact that it doesn't scan, so I went on with wpa_supplicant.conf, and I entered my ssid and psk parameters. After I started the interface, I was lucky the first time, as it connected properly. Unfortunately, now it connects randomly, as if it was some changing parameter...