()
return None
Gets the first Wi-Fi interface name.

  Returns:
    interface: str, the first Wi-Fi interface name (e.g. en0) or None if no
      interface exists.
Gets the first Wi-Fi interface name.
Gets the first Wi - Fi interface name .
def GetWifiInterface():
  """Gets the first Wi-Fi interface name.

  Returns:
    interface: str, the first Wi-Fi interface name (e.g. en0) or None if no
      interface exists.
  """
  interfaces = systemconfig.GetNetworkInterfaces()
  for interface in interfaces:
    if interface['type'] == 'IEEE80211':
      return interface['dev']
  return None
def GetWifiInterface ( ) : interfaces = systemconfig . GetNetworkInterfaces ( ) for interface in interfaces : if interface [ 'type' ] == 'IEEE80211' : return interface [ 'dev' ] return None