| OLD | NEW |
| 1 /* | 1 //------------------------------------------------------------------------------ |
| 2 * Copyright (c) 2004-2005 Atheros Communications Inc. | 2 // Copyright (c) 2004-2010 Atheros Communications Inc. |
| 3 * All rights reserved. | 3 // All rights reserved. |
| 4 * | |
| 5 * | |
| 6 // This program is free software; you can redistribute it and/or modify | |
| 7 // it under the terms of the GNU General Public License version 2 as | |
| 8 // published by the Free Software Foundation; | |
| 9 // | 4 // |
| 10 // Software distributed under the License is distributed on an "AS | 5 // |
| 11 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 6 // |
| 12 // implied. See the License for the specific language governing | 7 // Permission to use, copy, modify, and/or distribute this software for any |
| 13 // rights and limitations under the License. | 8 // purpose with or without fee is hereby granted, provided that the above |
| 9 // copyright notice and this permission notice appear in all copies. |
| 10 // |
| 11 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 12 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 13 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 14 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 15 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 16 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 17 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 14 // | 18 // |
| 15 // | 19 // |
| 16 * | 20 // |
| 17 */ | 21 // Author(s): ="Atheros" |
| 22 //------------------------------------------------------------------------------ |
| 18 | 23 |
| 19 #ifndef _IEEE80211_IOCTL_H_ | 24 #ifndef _IEEE80211_IOCTL_H_ |
| 20 #define _IEEE80211_IOCTL_H_ | 25 #define _IEEE80211_IOCTL_H_ |
| 21 | 26 |
| 22 #include <linux/version.h> | 27 #include <linux/version.h> |
| 23 | 28 |
| 24 #ifdef __cplusplus | 29 #ifdef __cplusplus |
| 25 extern "C" { | 30 extern "C" { |
| 26 #endif | 31 #endif |
| 27 | 32 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 #define WPA_MODE_WPA2 2 | 161 #define WPA_MODE_WPA2 2 |
| 157 #define WPA_MODE_AUTO 3 | 162 #define WPA_MODE_AUTO 3 |
| 158 #define WPA_MODE_NONE 4 | 163 #define WPA_MODE_NONE 4 |
| 159 | 164 |
| 160 struct ieee80211req_wpaie { | 165 struct ieee80211req_wpaie { |
| 161 u_int8_t wpa_macaddr[IEEE80211_ADDR_LEN]; | 166 u_int8_t wpa_macaddr[IEEE80211_ADDR_LEN]; |
| 162 u_int8_t wpa_ie[IEEE80211_MAX_IE]; | 167 u_int8_t wpa_ie[IEEE80211_MAX_IE]; |
| 163 u_int8_t rsn_ie[IEEE80211_MAX_IE]; | 168 u_int8_t rsn_ie[IEEE80211_MAX_IE]; |
| 164 }; | 169 }; |
| 165 | 170 |
| 166 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) | 171 #ifndef IW_ENCODE_ALG_PMK |
| 167 #define IW_ENCODE_ALG_PMK 4 | 172 #define IW_ENCODE_ALG_PMK 4 |
| 168 #endif | 173 #endif |
| 169 | 174 |
| 170 #ifdef __cplusplus | 175 #ifdef __cplusplus |
| 171 } | 176 } |
| 172 #endif | 177 #endif |
| 173 | 178 |
| 174 #endif /* _IEEE80211_IOCTL_H_ */ | 179 #endif /* _IEEE80211_IOCTL_H_ */ |
| OLD | NEW |