code: def connect(self, params):
          
  
          self._logger.info("iface '%s' connects to AP: '%s'",
                            self.name(), params.ssid)
  
          self._wifi_ctrl.connect(self._raw_obj, params)
docs: Connect to the specified AP.