diff options
Diffstat (limited to 'drivers/staging/vt6655/iwctl.h')
-rw-r--r-- | drivers/staging/vt6655/iwctl.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/drivers/staging/vt6655/iwctl.h b/drivers/staging/vt6655/iwctl.h index 07554e14d5f..147af9d5cb2 100644 --- a/drivers/staging/vt6655/iwctl.h +++ b/drivers/staging/vt6655/iwctl.h | |||
@@ -50,85 +50,6 @@ extern "C" { /* Assume C declarations for C++ */ | |||
50 | #endif /* __cplusplus */ | 50 | #endif /* __cplusplus */ |
51 | 51 | ||
52 | 52 | ||
53 | #if WIRELESS_EXT < 18 | ||
54 | |||
55 | |||
56 | #define SIOCSIWMLME 0x8B16 | ||
57 | #define SIOCSIWGENIE 0x8B30 | ||
58 | |||
59 | // WPA : Authentication mode parameters | ||
60 | #define SIOCSIWAUTH 0x8B32 | ||
61 | #define SIOCGIWAUTH 0x8B33 | ||
62 | |||
63 | // WPA : Extended version of encoding configuration | ||
64 | #define SIOCSIWENCODEEXT 0x8B34 | ||
65 | #define SIOCGIWENCODEEXT 0x8B35 | ||
66 | |||
67 | #define IW_AUTH_WPA_VERSION 0 | ||
68 | #define IW_AUTH_CIPHER_PAIRWISE 1 | ||
69 | #define IW_AUTH_CIPHER_GROUP 2 | ||
70 | #define IW_AUTH_KEY_MGMT 3 | ||
71 | #define IW_AUTH_TKIP_COUNTERMEASURES 4 | ||
72 | #define IW_AUTH_DROP_UNENCRYPTED 5 | ||
73 | #define IW_AUTH_80211_AUTH_ALG 6 | ||
74 | #define IW_AUTH_WPA_ENABLED 7 | ||
75 | #define IW_AUTH_RX_UNENCRYPTED_EAPOL 8 | ||
76 | #define IW_AUTH_ROAMING_CONTROL 9 | ||
77 | #define IW_AUTH_PRIVACY_INVOKED 10 | ||
78 | |||
79 | #define IW_AUTH_WPA_VERSION_DISABLED 0x00000001 | ||
80 | #define IW_AUTH_WPA_VERSION_WPA 0x00000002 | ||
81 | #define IW_AUTH_WPA_VERSION_WPA2 0x00000004 | ||
82 | |||
83 | #define IW_AUTH_CIPHER_NONE 0x00000001 | ||
84 | #define IW_AUTH_CIPHER_WEP40 0x00000002 | ||
85 | #define IW_AUTH_CIPHER_TKIP 0x00000004 | ||
86 | #define IW_AUTH_CIPHER_CCMP 0x00000008 | ||
87 | #define IW_AUTH_CIPHER_WEP104 0x00000010 | ||
88 | |||
89 | #define IW_AUTH_KEY_MGMT_802_1X 1 | ||
90 | #define IW_AUTH_KEY_MGMT_PSK 2 | ||
91 | |||
92 | #define IW_AUTH_ALG_OPEN_SYSTEM 0x00000001 | ||
93 | #define IW_AUTH_ALG_SHARED_KEY 0x00000002 | ||
94 | #define IW_AUTH_ALG_LEAP 0x00000004 | ||
95 | |||
96 | #define IW_AUTH_ROAMING_ENABLE 0 | ||
97 | #define IW_AUTH_ROAMING_DISABLE 1 | ||
98 | |||
99 | #define IW_ENCODE_SEQ_MAX_SIZE 8 | ||
100 | |||
101 | #define IW_ENCODE_ALG_NONE 0 | ||
102 | #define IW_ENCODE_ALG_WEP 1 | ||
103 | #define IW_ENCODE_ALG_TKIP 2 | ||
104 | #define IW_ENCODE_ALG_CCMP 3 | ||
105 | |||
106 | |||
107 | struct iw_encode_ext | ||
108 | { | ||
109 | __u32 ext_flags; // IW_ENCODE_EXT_* | ||
110 | __u8 tx_seq[IW_ENCODE_SEQ_MAX_SIZE]; // LSB first | ||
111 | __u8 rx_seq[IW_ENCODE_SEQ_MAX_SIZE]; // LSB first | ||
112 | struct sockaddr addr; // ff:ff:ff:ff:ff:ff for broadcast/multicast | ||
113 | // (group) keys or unicast address for | ||
114 | // individual keys | ||
115 | __u16 alg; // IW_ENCODE_ALG_* | ||
116 | __u16 key_len; | ||
117 | __u8 key[0]; | ||
118 | }; | ||
119 | |||
120 | |||
121 | struct iw_mlme | ||
122 | { | ||
123 | __u16 cmd; /* IW_MLME_* */ | ||
124 | __u16 reason_code; | ||
125 | struct sockaddr addr; | ||
126 | }; | ||
127 | |||
128 | #endif // WIRELESS_EXT < 18 | ||
129 | |||
130 | |||
131 | |||
132 | #ifdef WIRELESS_EXT | 53 | #ifdef WIRELESS_EXT |
133 | 54 | ||
134 | struct iw_statistics *iwctl_get_wireless_stats (struct net_device *dev); | 55 | struct iw_statistics *iwctl_get_wireless_stats (struct net_device *dev); |
@@ -312,12 +233,8 @@ int iwctl_siwmlme(struct net_device *dev, | |||
312 | 233 | ||
313 | #endif | 234 | #endif |
314 | 235 | ||
315 | #if WIRELESS_EXT > 12 | ||
316 | extern const struct iw_handler_def iwctl_handler_def; | 236 | extern const struct iw_handler_def iwctl_handler_def; |
317 | extern const struct iw_priv_args iwctl_private_args; | 237 | extern const struct iw_priv_args iwctl_private_args; |
318 | #else | ||
319 | struct iw_request_info {}; | ||
320 | #endif //WIRELESS_EXT > 12 | ||
321 | 238 | ||
322 | #ifdef __cplusplus | 239 | #ifdef __cplusplus |
323 | } /* End of extern "C" { */ | 240 | } /* End of extern "C" { */ |