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 } wpa_alg;
00029 typedef enum { CIPHER_NONE, CIPHER_WEP40, CIPHER_TKIP, CIPHER_CCMP,
00030                CIPHER_WEP104 } wpa_cipher;
00031 typedef enum { KEY_MGMT_802_1X, KEY_MGMT_PSK, KEY_MGMT_NONE,
00032                KEY_MGMT_802_1X_NO_WPA, KEY_MGMT_WPA_NONE } wpa_key_mgmt;
00033 
00044 typedef enum {
00053         WPA_DISCONNECTED,
00054 
00064         WPA_INACTIVE,
00065 
00073         WPA_SCANNING,
00074 
00085         WPA_ASSOCIATING,
00086 
00096         WPA_ASSOCIATED,
00097 
00107         WPA_4WAY_HANDSHAKE,
00108 
00118         WPA_GROUP_HANDSHAKE,
00119 
00137         WPA_COMPLETED
00138 } wpa_states;
00139 
00140 #endif /* DEFS_H */
00141 

Generated on Sat May 6 21:13:31 2006 for wpa_supplicant by  doxygen 1.4.2