nl80211.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __LINUX_NL80211_H
  2. #define __LINUX_NL80211_H
  3. /*
  4. * 802.11 netlink interface public header
  5. *
  6. * Copyright 2006, 2007 Johannes Berg <johannes@sipsolutions.net>
  7. */
  8. /**
  9. * enum nl80211_iftype - (virtual) interface types
  10. * @NL80211_IFTYPE_UNSPECIFIED: unspecified type, driver decides
  11. * @NL80211_IFTYPE_ADHOC: independent BSS member
  12. * @NL80211_IFTYPE_STATION: managed BSS member
  13. * @NL80211_IFTYPE_AP: access point
  14. * @NL80211_IFTYPE_AP_VLAN: VLAN interface for access points
  15. * @NL80211_IFTYPE_WDS: wireless distribution interface
  16. * @NL80211_IFTYPE_MONITOR: monitor interface receiving all frames
  17. * @__NL80211_IFTYPE_AFTER_LAST: internal use
  18. *
  19. * These values are used with the NL80211_ATTR_IFTYPE
  20. * to set the type of an interface.
  21. *
  22. */
  23. enum nl80211_iftype {
  24. NL80211_IFTYPE_UNSPECIFIED,
  25. NL80211_IFTYPE_ADHOC,
  26. NL80211_IFTYPE_STATION,
  27. NL80211_IFTYPE_AP,
  28. NL80211_IFTYPE_AP_VLAN,
  29. NL80211_IFTYPE_WDS,
  30. NL80211_IFTYPE_MONITOR,
  31. /* keep last */
  32. __NL80211_IFTYPE_AFTER_LAST
  33. };
  34. #define NL80211_IFTYPE_MAX (__NL80211_IFTYPE_AFTER_LAST - 1)
  35. #endif /* __LINUX_NL80211_H */