defs.h

Go to the documentation of this file.
00001 
00016 #ifndef DEFS_H
00017 #define DEFS_H
00018 
00019 #ifdef FALSE
00020 #undef FALSE
00021 #endif
00022 #ifdef TRUE
00023 #undef TRUE
00024 #endif
00025 typedef enum { FALSE = 0, TRUE = 1 } Boolean;
00026 
00027 
00028 typedef enum { WPA_ALG_NONE, WPA_ALG_WEP, WPA_ALG_TKIP, WPA_ALG_CCMP,
00029                WPA_ALG_IGTK, WPA_ALG_DHV } wpa_alg;
00030 typedef enum { CIPHER_NONE, CIPHER_WEP40, CIPHER_TKIP, CIPHER_CCMP,
00031                CIPHER_WEP104 } wpa_cipher;
00032 typedef enum { KEY_MGMT_802_1X, KEY_MGMT_PSK, KEY_MGMT_NONE,
00033                KEY_MGMT_802_1X_NO_WPA, KEY_MGMT_WPA_NONE } wpa_key_mgmt;
00034 
00045 typedef enum {
00054         WPA_DISCONNECTED,
00055 
00065         WPA_INACTIVE,
00066 
00074         WPA_SCANNING,
00075 
00086         WPA_ASSOCIATING,
00087 
00097         WPA_ASSOCIATED,
00098 
00108         WPA_4WAY_HANDSHAKE,
00109 
00119         WPA_GROUP_HANDSHAKE,
00120 
00138         WPA_COMPLETED
00139 } wpa_states;
00140 
00141 #define MLME_SETPROTECTION_PROTECT_TYPE_NONE 0
00142 #define MLME_SETPROTECTION_PROTECT_TYPE_RX 1
00143 #define MLME_SETPROTECTION_PROTECT_TYPE_TX 2
00144 #define MLME_SETPROTECTION_PROTECT_TYPE_RX_TX 3
00145 
00146 #define MLME_SETPROTECTION_KEY_TYPE_GROUP 0
00147 #define MLME_SETPROTECTION_KEY_TYPE_PAIRWISE 1
00148 
00149 #endif /* DEFS_H */
00150 

Generated on Sun Dec 31 13:48:52 2006 for wpa_supplicant by  doxygen 1.4.2