Edit your `/etc/wpa_supplicant.conf` configuration file as follow:
At least you need to add the following line :
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
CONFIG_DRIVER_NL80211=y
You can enable some others support:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
CONFIG_DRIVER_NL80211=y
CONFIG_WPS=y
CONFIG_WPS2=y
CONFIG_WPS_ER=y
CONFIG_WPS_NFC=y
uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Get the `uuid` through `status` command from `wpa_cli`
To connect
1. run `wpa_cli`
2. From the Interactive mode, run `wps_pbc` and push the `wps` button.
3. Once connected run `dhclient wlan0` (change `wlan0` with your interface wifi)