]>
Commit | Line | Data |
---|---|---|
545cfc4b JM |
1 | /* |
2 | * Driver interaction with generic Linux Wireless Extensions | |
3 | * Copyright (c) 2003-2011, Jouni Malinen <j@w1.fi> | |
4 | * | |
0f3d578e JM |
5 | * This software may be distributed under the terms of the BSD license. |
6 | * See README for more details. | |
545cfc4b JM |
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 <sys/types.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 | ||
527a3988 JM |
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 | ||
545cfc4b | 45 | #endif /* LINUX_WEXT_H */ |