finish refactoring new wpa_supplicant autowifi