Some updates to working with wpa_supplicant, to be continued