code: def interfaces(self):
          
  
          self._ifaces = []
          wifi_ctrl = wifiutil.WifiUtil()
  
          for interface in wifi_ctrl.interfaces():
              iface = Interface(interface)
              self._ifaces.append(iface)
              self._logger.info("Get interface: %s", iface.name())
  
          if not self._ifaces:
              self._logger.error("Can't get wifi interface")
  
          return self._ifaces
docs: Collect the available wlan interfaces.