1 /*
2  * Driver interaction with generic Linux Wireless Extensions
3  * Copyright (c) 2003-2011, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef LINUX_WEXT_H
10 #define LINUX_WEXT_H
11 
12 #ifndef ANDROID
13 
14 /*
15  * Avoid including other kernel header to avoid conflicts with C library
16  * headers.
17  */
18 #define _LINUX_TYPES_H
19 #define _LINUX_SOCKET_H
20 #define _LINUX_IF_H
21 
22 #include <stdint.h>
23 #include <net/if.h>
24 typedef uint32_t __u32;
25 typedef int32_t __s32;
26 typedef uint16_t __u16;
27 typedef int16_t __s16;
28 typedef uint8_t __u8;
29 #ifndef __user
30 #define __user
31 #endif /* __user */
32 
33 #endif /* ANDROID */
34 
35 #include <linux/wireless.h>
36 
37 #ifndef IW_ENCODE_ALG_PMK
38 #define IW_ENCODE_ALG_PMK 4
39 #endif
40 
41 #ifndef IW_ENC_CAPA_4WAY_HANDSHAKE
42 #define IW_ENC_CAPA_4WAY_HANDSHAKE 0x00000010
43 #endif
44 
45 #endif /* LINUX_WEXT_H */
46