Optionalinterface: string | nullthe interface name as returned by interfaces(); omit for the system's default Wi-Fi interface
a table with keys interface, active, power, ssid, bssid, security, interfaceMode, activePHYMode, rssi, noise, transmitRate, transmitPower, countryCode, hardwareAddress, wlanChannel, supportedChannels, cachedScanResults, configuration; or null if the interface doesn't exist. ssid/bssid/countryCode/wlanChannel may be absent without Location Services authorization.
Returns detailed information about a Wi-Fi interface.