2011-11-15 19:03:00 +01:00
|
|
|
/*
|
|
|
|
* Driver interaction with generic Linux Wireless Extensions
|
|
|
|
* Copyright (c) 2003-2011, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
2012-02-11 15:46:35 +01:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2011-11-15 19:03:00 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LINUX_WEXT_H
|
|
|
|
#define LINUX_WEXT_H
|
|
|
|
|
|
|
|
#ifndef ANDROID
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Avoid including other kernel header to avoid conflicts with C library
|
|
|
|
* headers.
|
|
|
|
*/
|
|
|
|
#define _LINUX_TYPES_H
|
|
|
|
#define _LINUX_SOCKET_H
|
|
|
|
#define _LINUX_IF_H
|
|
|
|
|
2014-12-03 22:43:44 +01:00
|
|
|
#include <stdint.h>
|
2011-11-15 19:03:00 +01:00
|
|
|
#include <net/if.h>
|
2014-12-03 22:43:44 +01:00
|
|
|
typedef uint32_t __u32;
|
|
|
|
typedef int32_t __s32;
|
|
|
|
typedef uint16_t __u16;
|
|
|
|
typedef int16_t __s16;
|
|
|
|
typedef uint8_t __u8;
|
2011-11-15 19:03:00 +01:00
|
|
|
#ifndef __user
|
|
|
|
#define __user
|
|
|
|
#endif /* __user */
|
|
|
|
|
|
|
|
#endif /* ANDROID */
|
|
|
|
|
|
|
|
#include <linux/wireless.h>
|
|
|
|
|
2011-11-15 19:10:23 +01:00
|
|
|
#ifndef IW_ENCODE_ALG_PMK
|
|
|
|
#define IW_ENCODE_ALG_PMK 4
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IW_ENC_CAPA_4WAY_HANDSHAKE
|
|
|
|
#define IW_ENC_CAPA_4WAY_HANDSHAKE 0x00000010
|
|
|
|
#endif
|
|
|
|
|
2011-11-15 19:03:00 +01:00
|
|
|
#endif /* LINUX_WEXT_H */
|