cfg80211-wext.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #ifndef __NET_CFG80211_WEXT_H
  2. #define __NET_CFG80211_WEXT_H
  3. /*
  4. * 802.11 device and configuration interface -- wext handlers
  5. *
  6. * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #include <linux/netdevice.h>
  13. #include <linux/wireless.h>
  14. #include <net/iw_handler.h>
  15. /*
  16. * Temporary wext handlers & helper functions
  17. *
  18. * These are used only by drivers that aren't yet fully
  19. * converted to cfg80211.
  20. */
  21. int cfg80211_wext_giwname(struct net_device *dev,
  22. struct iw_request_info *info,
  23. char *name, char *extra);
  24. int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
  25. u32 *mode, char *extra);
  26. int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
  27. u32 *mode, char *extra);
  28. int cfg80211_wext_siwscan(struct net_device *dev,
  29. struct iw_request_info *info,
  30. union iwreq_data *wrqu, char *extra);
  31. int cfg80211_wext_giwscan(struct net_device *dev,
  32. struct iw_request_info *info,
  33. struct iw_point *data, char *extra);
  34. int cfg80211_wext_giwrange(struct net_device *dev,
  35. struct iw_request_info *info,
  36. struct iw_point *data, char *extra);
  37. int cfg80211_wext_siwrts(struct net_device *dev,
  38. struct iw_request_info *info,
  39. struct iw_param *rts, char *extra);
  40. int cfg80211_wext_giwrts(struct net_device *dev,
  41. struct iw_request_info *info,
  42. struct iw_param *rts, char *extra);
  43. int cfg80211_wext_siwfrag(struct net_device *dev,
  44. struct iw_request_info *info,
  45. struct iw_param *frag, char *extra);
  46. int cfg80211_wext_giwfrag(struct net_device *dev,
  47. struct iw_request_info *info,
  48. struct iw_param *frag, char *extra);
  49. int cfg80211_wext_giwretry(struct net_device *dev,
  50. struct iw_request_info *info,
  51. struct iw_param *retry, char *extra);
  52. #endif /* __NET_CFG80211_WEXT_H */