wext-compat.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #ifndef __WEXT_COMPAT
  2. #define __WEXT_COMPAT
  3. #include <net/iw_handler.h>
  4. #include <linux/wireless.h>
  5. #ifdef CONFIG_CFG80211_WEXT_EXPORT
  6. #define EXPORT_WEXT_HANDLER(h) EXPORT_SYMBOL_GPL(h)
  7. #else
  8. #define EXPORT_WEXT_HANDLER(h)
  9. #endif /* CONFIG_CFG80211_WEXT_EXPORT */
  10. int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
  11. struct iw_request_info *info,
  12. struct iw_freq *freq, char *extra);
  13. int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
  14. struct iw_request_info *info,
  15. struct iw_freq *freq, char *extra);
  16. int cfg80211_ibss_wext_siwap(struct net_device *dev,
  17. struct iw_request_info *info,
  18. struct sockaddr *ap_addr, char *extra);
  19. int cfg80211_ibss_wext_giwap(struct net_device *dev,
  20. struct iw_request_info *info,
  21. struct sockaddr *ap_addr, char *extra);
  22. int cfg80211_ibss_wext_siwessid(struct net_device *dev,
  23. struct iw_request_info *info,
  24. struct iw_point *data, char *ssid);
  25. int cfg80211_ibss_wext_giwessid(struct net_device *dev,
  26. struct iw_request_info *info,
  27. struct iw_point *data, char *ssid);
  28. int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
  29. struct iw_request_info *info,
  30. struct iw_freq *freq, char *extra);
  31. int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
  32. struct iw_request_info *info,
  33. struct iw_freq *freq, char *extra);
  34. int cfg80211_mgd_wext_siwap(struct net_device *dev,
  35. struct iw_request_info *info,
  36. struct sockaddr *ap_addr, char *extra);
  37. int cfg80211_mgd_wext_giwap(struct net_device *dev,
  38. struct iw_request_info *info,
  39. struct sockaddr *ap_addr, char *extra);
  40. int cfg80211_mgd_wext_siwessid(struct net_device *dev,
  41. struct iw_request_info *info,
  42. struct iw_point *data, char *ssid);
  43. int cfg80211_mgd_wext_giwessid(struct net_device *dev,
  44. struct iw_request_info *info,
  45. struct iw_point *data, char *ssid);
  46. int cfg80211_wext_siwmlme(struct net_device *dev,
  47. struct iw_request_info *info,
  48. struct iw_point *data, char *extra);
  49. int cfg80211_wext_siwgenie(struct net_device *dev,
  50. struct iw_request_info *info,
  51. struct iw_point *data, char *extra);
  52. int cfg80211_wext_freq(struct iw_freq *freq);
  53. extern const struct iw_handler_def cfg80211_wext_handler;
  54. #endif /* __WEXT_COMPAT */