// +build freebsd package wifi /* This interface is left to be developed in the future when I installed a WiFi adapter on TrueNAS server */ import "errors" //Toggle WiFi On Off. Only allow on sudo mode func (w *WiFiManager) SetInterfacePower(wlanInterface string, on bool) error { return errors.New("Platform not supported") } func (w *WiFiManager) GetInterfacePowerStatuts(wlanInterface string) (bool, error) { return false, errors.New("Platform not supported") } func (w *WiFiManager) ScanNearbyWiFi(interfaceName string) ([]WiFiInfo, error) { return []WiFiInfo{}, errors.New("Platform not supported") } func (w *WiFiManager) GetWirelessInterfaces() ([]string, error) { return []string{}, nil } func (w *WiFiManager) ConnectWiFi(ssid string, password string, connType string, identity string) (*WiFiConnectionResult, error) { return &WiFiConnectionResult{}, errors.New("Platform not supported") } func (w *WiFiManager) GetConnectedWiFi() (string, string, error) { return "", "", errors.New("Platform not supported") } func (w *WiFiManager) RemoveWifi(ssid string) error { return errors.New("Platform not supported") }