wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
linux_wext.h
Go to the documentation of this file.
1 
5 #ifndef LINUX_WEXT_H
6 #define LINUX_WEXT_H
7 
8 #ifndef ANDROID
9 
10 /*
11  * Avoid including other kernel header to avoid conflicts with C library
12  * headers.
13  */
14 #define _LINUX_TYPES_H
15 #define _LINUX_SOCKET_H
16 #define _LINUX_IF_H
17 
18 #include <stdint.h>
19 #include <net/if.h>
20 typedef uint32_t __u32;
21 typedef int32_t __s32;
22 typedef uint16_t __u16;
23 typedef int16_t __s16;
24 typedef uint8_t __u8;
25 #ifndef __user
26 #define __user
27 #endif /* __user */
28 
29 #endif /* ANDROID */
30 
31 #include <linux/wireless.h>
32 
33 #ifndef IW_ENCODE_ALG_PMK
34 #define IW_ENCODE_ALG_PMK 4
35 #endif
36 
37 #ifndef IW_ENC_CAPA_4WAY_HANDSHAKE
38 #define IW_ENC_CAPA_4WAY_HANDSHAKE 0x00000010
39 #endif
40 
41 #endif /* LINUX_WEXT_H */