ieee80211softmac_wx.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /*
  2. * This file contains the prototypes for the wireless extension
  3. * handlers that the softmac API provides. Include this file to
  4. * use the wx handlers, you can assign these directly.
  5. *
  6. * Copyright (c) 2005 Johannes Berg <johannes@sipsolutions.net>
  7. * Joseph Jezak <josejx@gentoo.org>
  8. * Larry Finger <Larry.Finger@lwfinger.net>
  9. * Danny van Dyk <kugelfang@gentoo.org>
  10. * Michael Buesch <mbuesch@freenet.de>
  11. *
  12. * This program is free software; you can redistribute it and/or modify it
  13. * under the terms of version 2 of the GNU General Public License as
  14. * published by the Free Software Foundation.
  15. *
  16. * This program is distributed in the hope that it will be useful, but WITHOUT
  17. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  18. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  19. * more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this program; if not, write to the Free Software
  23. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  24. *
  25. * The full GNU General Public License is included in this distribution in the
  26. * file called COPYING.
  27. */
  28. #ifndef _IEEE80211SOFTMAC_WX_H
  29. #define _IEEE80211SOFTMAC_WX_H
  30. #include <net/ieee80211softmac.h>
  31. #include <net/iw_handler.h>
  32. extern int
  33. ieee80211softmac_wx_trigger_scan(struct net_device *net_dev,
  34. struct iw_request_info *info,
  35. union iwreq_data *data,
  36. char *extra);
  37. extern int
  38. ieee80211softmac_wx_get_scan_results(struct net_device *net_dev,
  39. struct iw_request_info *info,
  40. union iwreq_data *data,
  41. char *extra);
  42. extern int
  43. ieee80211softmac_wx_set_essid(struct net_device *net_dev,
  44. struct iw_request_info *info,
  45. union iwreq_data *data,
  46. char *extra);
  47. extern int
  48. ieee80211softmac_wx_get_essid(struct net_device *net_dev,
  49. struct iw_request_info *info,
  50. union iwreq_data *data,
  51. char *extra);
  52. extern int
  53. ieee80211softmac_wx_set_rate(struct net_device *net_dev,
  54. struct iw_request_info *info,
  55. union iwreq_data *data,
  56. char *extra);
  57. extern int
  58. ieee80211softmac_wx_get_rate(struct net_device *net_dev,
  59. struct iw_request_info *info,
  60. union iwreq_data *data,
  61. char *extra);
  62. extern int
  63. ieee80211softmac_wx_get_wap(struct net_device *net_dev,
  64. struct iw_request_info *info,
  65. union iwreq_data *data,
  66. char *extra);
  67. extern int
  68. ieee80211softmac_wx_set_wap(struct net_device *net_dev,
  69. struct iw_request_info *info,
  70. union iwreq_data *data,
  71. char *extra);
  72. extern int
  73. ieee80211softmac_wx_set_genie(struct net_device *dev,
  74. struct iw_request_info *info,
  75. union iwreq_data *wrqu,
  76. char *extra);
  77. extern int
  78. ieee80211softmac_wx_get_genie(struct net_device *dev,
  79. struct iw_request_info *info,
  80. union iwreq_data *wrqu,
  81. char *extra);
  82. extern int
  83. ieee80211softmac_wx_set_mlme(struct net_device *dev,
  84. struct iw_request_info *info,
  85. union iwreq_data *wrqu,
  86. char *extra);
  87. #endif /* _IEEE80211SOFTMAC_WX */