def GetWifiInterface():
  interfaces = systemconfig.GetNetworkInterfaces()
  for interface in interfaces:
    if interface['type'] == 'IEEE80211':
      return interface['dev']
  return None
Gets the first Wi-Fi interface name.
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/wifi_network_order.py/GetWifiInterface