cfg80211-wext.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #ifndef __NET_CFG80211_WEXT_H
  3. #define __NET_CFG80211_WEXT_H
  4. /*
  5. * 802.11 device and configuration interface -- wext handlers
  6. *
  7. * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
  8. */
  9. #include <linux/netdevice.h>
  10. #include <linux/wireless.h>
  11. #include <net/iw_handler.h>
  12. /*
  13. * Temporary wext handlers & helper functions
  14. *
  15. * These are used only by drivers that aren't yet fully
  16. * converted to cfg80211.
  17. */
  18. int cfg80211_wext_giwname(struct net_device *dev,
  19. struct iw_request_info *info,
  20. union iwreq_data *wrqu, char *extra);
  21. int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
  22. union iwreq_data *wrqu, char *extra);
  23. int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
  24. union iwreq_data *wrqu, char *extra);
  25. int cfg80211_wext_siwscan(struct net_device *dev,
  26. struct iw_request_info *info,
  27. union iwreq_data *wrqu, char *extra);
  28. int cfg80211_wext_giwscan(struct net_device *dev,
  29. struct iw_request_info *info,
  30. union iwreq_data *wrqu, char *extra);
  31. int cfg80211_wext_giwrange(struct net_device *dev,
  32. struct iw_request_info *info,
  33. union iwreq_data *wrqu, char *extra);
  34. int cfg80211_wext_siwrts(struct net_device *dev,
  35. struct iw_request_info *info,
  36. union iwreq_data *wrqu, char *extra);
  37. int cfg80211_wext_giwrts(struct net_device *dev,
  38. struct iw_request_info *info,
  39. union iwreq_data *wrqu, char *extra);
  40. int cfg80211_wext_siwfrag(struct net_device *dev,
  41. struct iw_request_info *info,
  42. union iwreq_data *wrqu, char *extra);
  43. int cfg80211_wext_giwfrag(struct net_device *dev,
  44. struct iw_request_info *info,
  45. union iwreq_data *wrqu, char *extra);
  46. int cfg80211_wext_giwretry(struct net_device *dev,
  47. struct iw_request_info *info,
  48. union iwreq_data *wrqu, char *extra);
  49. #endif /* __NET_CFG80211_WEXT_H */