iwctl.h 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /*
  2. * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
  3. * All rights reserved.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along
  16. * with this program; if not, write to the Free Software Foundation, Inc.,
  17. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  18. *
  19. * File: iwctl.h
  20. *
  21. * Purpose:
  22. *
  23. * Author: Lyndon Chen
  24. *
  25. * Date: May 21, 2004
  26. *
  27. */
  28. #ifndef __IWCTL_H__
  29. #define __IWCTL_H__
  30. #include "device.h"
  31. /*--------------------- Export Definitions -------------------------*/
  32. /*--------------------- Export Classes ----------------------------*/
  33. /*--------------------- Export Variables --------------------------*/
  34. /*--------------------- Export Functions --------------------------*/
  35. struct iw_statistics *iwctl_get_wireless_stats (struct net_device *dev);
  36. int iwctl_siwap(struct net_device *dev,
  37. struct iw_request_info *info,
  38. struct sockaddr *wrq,
  39. char *extra);
  40. int iwctl_giwrange(struct net_device *dev,
  41. struct iw_request_info *info,
  42. struct iw_point *wrq,
  43. char *extra);
  44. int iwctl_giwmode(struct net_device *dev,
  45. struct iw_request_info *info,
  46. __u32 *wmode,
  47. char *extra);
  48. int iwctl_siwmode(struct net_device *dev,
  49. struct iw_request_info *info,
  50. __u32 *wmode,
  51. char *extra);
  52. int iwctl_giwfreq(struct net_device *dev,
  53. struct iw_request_info *info,
  54. struct iw_freq *wrq,
  55. char *extra);
  56. int iwctl_siwfreq(struct net_device *dev,
  57. struct iw_request_info *info,
  58. struct iw_freq *wrq,
  59. char *extra);
  60. int iwctl_giwname(struct net_device *dev,
  61. struct iw_request_info *info,
  62. char *wrq,
  63. char *extra);
  64. int iwctl_giwnwid(struct net_device *dev,
  65. struct iw_request_info *info,
  66. struct iw_param *wrq,
  67. char *extra) ;
  68. int iwctl_giwsens(struct net_device *dev,
  69. struct iw_request_info *info,
  70. struct iw_param *wrq,
  71. char *extra);
  72. int iwctl_giwap(struct net_device *dev,
  73. struct iw_request_info *info,
  74. struct sockaddr *wrq,
  75. char *extra);
  76. int iwctl_giwaplist(struct net_device *dev,
  77. struct iw_request_info *info,
  78. struct iw_point *wrq,
  79. char *extra);
  80. int iwctl_siwessid(struct net_device *dev,
  81. struct iw_request_info *info,
  82. struct iw_point *wrq,
  83. char *extra);
  84. int iwctl_giwessid(struct net_device *dev,
  85. struct iw_request_info *info,
  86. struct iw_point *wrq,
  87. char *extra);
  88. int iwctl_siwrate(struct net_device *dev,
  89. struct iw_request_info *info,
  90. struct iw_param *wrq,
  91. char *extra);
  92. int iwctl_giwrate(struct net_device *dev,
  93. struct iw_request_info *info,
  94. struct iw_param *wrq,
  95. char *extra);
  96. int iwctl_siwrts(struct net_device *dev,
  97. struct iw_request_info *info,
  98. struct iw_param *wrq,
  99. char *extra);
  100. int iwctl_giwrts(struct net_device *dev,
  101. struct iw_request_info *info,
  102. struct iw_param *wrq,
  103. char *extra);
  104. int iwctl_siwfrag(struct net_device *dev,
  105. struct iw_request_info *info,
  106. struct iw_param *wrq,
  107. char *extra);
  108. int iwctl_giwfrag(struct net_device *dev,
  109. struct iw_request_info *info,
  110. struct iw_param *wrq,
  111. char *extra);
  112. int iwctl_siwretry(struct net_device *dev,
  113. struct iw_request_info *info,
  114. struct iw_param *wrq,
  115. char *extra);
  116. int iwctl_giwretry(struct net_device *dev,
  117. struct iw_request_info *info,
  118. struct iw_param *wrq,
  119. char *extra);
  120. int iwctl_siwencode(struct net_device *dev,
  121. struct iw_request_info *info,
  122. struct iw_point *wrq,
  123. char *extra);
  124. int iwctl_giwencode(struct net_device *dev,
  125. struct iw_request_info *info,
  126. struct iw_point *wrq,
  127. char *extra);
  128. int iwctl_siwpower(struct net_device *dev,
  129. struct iw_request_info *info,
  130. struct iw_param *wrq,
  131. char *extra);
  132. int iwctl_giwpower(struct net_device *dev,
  133. struct iw_request_info *info,
  134. struct iw_param *wrq,
  135. char *extra);
  136. int iwctl_giwscan(struct net_device *dev,
  137. struct iw_request_info *info,
  138. struct iw_point *wrq,
  139. char *extra);
  140. int iwctl_siwscan(struct net_device *dev,
  141. struct iw_request_info *info,
  142. struct iw_param *wrq,
  143. char *extra);
  144. //2008-0409-07, <Add> by Einsn Liu
  145. #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
  146. int iwctl_siwauth(struct net_device *dev,
  147. struct iw_request_info *info,
  148. struct iw_param *wrq,
  149. char *extra);
  150. int iwctl_giwauth(struct net_device *dev,
  151. struct iw_request_info *info,
  152. struct iw_param *wrq,
  153. char *extra);
  154. int iwctl_siwgenie(struct net_device *dev,
  155. struct iw_request_info *info,
  156. struct iw_point *wrq,
  157. char *extra);
  158. int iwctl_giwgenie(struct net_device *dev,
  159. struct iw_request_info *info,
  160. struct iw_point *wrq,
  161. char *extra);
  162. int iwctl_siwencodeext(struct net_device *dev,
  163. struct iw_request_info *info,
  164. struct iw_point *wrq,
  165. char *extra);
  166. int iwctl_giwencodeext(struct net_device *dev,
  167. struct iw_request_info *info,
  168. struct iw_point *wrq,
  169. char *extra);
  170. int iwctl_siwmlme(struct net_device *dev,
  171. struct iw_request_info * info,
  172. struct iw_point *wrq,
  173. char *extra);
  174. #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
  175. //End Add -- //2008-0409-07, <Add> by Einsn Liu
  176. extern const struct iw_handler_def iwctl_handler_def;
  177. extern const struct iw_priv_args iwctl_private_args;
  178. #endif // __IWCTL_H__