blob: e7c7001e1ceaa33d914470773d8aaf0b1ba138ef [file] [log] [blame]
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -08001/*
2 * Driver interaction with generic Linux Wireless Extensions
3 * Copyright (c) 2003-2011, Jouni Malinen <j@w1.fi>
4 *
Dmitry Shmidtc5ec7f52012-03-06 16:33:24 -08005 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -08007 */
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
Dmitry Shmidtfb45fd52015-01-05 13:08:17 -080022#include <stdint.h>
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080023#include <net/if.h>
Dmitry Shmidtfb45fd52015-01-05 13:08:17 -080024typedef uint32_t __u32;
25typedef int32_t __s32;
26typedef uint16_t __u16;
27typedef int16_t __s16;
28typedef uint8_t __u8;
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080029#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 */