pub fn connect() -> Result<()>
there is no replacement, use hostapd and wpa_supplicant directly
Connects to the access point.