Blame view
include/linux/wireless.h
1.36 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 3 |
/* * This file define a set of standard wireless extensions * |
c2805fbb8 [PATCH] WE-22 : p... |
4 |
* Version : 22 16.3.07 |
1da177e4c Linux-2.6.12-rc2 |
5 6 |
* * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> |
c2805fbb8 [PATCH] WE-22 : p... |
7 |
* Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved. |
1da177e4c Linux-2.6.12-rc2 |
8 |
*/ |
1da177e4c Linux-2.6.12-rc2 |
9 10 |
#ifndef _LINUX_WIRELESS_H #define _LINUX_WIRELESS_H |
607ca46e9 UAPI: (Scripted) ... |
11 |
#include <uapi/linux/wireless.h> |
1da177e4c Linux-2.6.12-rc2 |
12 |
|
87de87d5e wext: Dispatch an... |
13 14 15 16 17 18 19 20 21 22 |
#ifdef CONFIG_COMPAT #include <linux/compat.h> struct compat_iw_point { compat_caddr_t pointer; __u16 length; __u16 flags; }; #endif |
ccc580571 wext: Emit event ... |
23 24 25 26 27 28 29 30 |
#ifdef CONFIG_COMPAT struct __compat_iw_event { __u16 len; /* Real length of this stuff */ __u16 cmd; /* Wireless IOCTL */ compat_caddr_t pointer; }; #define IW_EV_COMPAT_LCP_LEN offsetof(struct __compat_iw_event, pointer) #define IW_EV_COMPAT_POINT_OFF offsetof(struct compat_iw_point, length) |
1dacc76d0 net/compat/wext: ... |
31 32 33 34 35 36 37 38 |
/* Size of the various events for compat */ #define IW_EV_COMPAT_CHAR_LEN (IW_EV_COMPAT_LCP_LEN + IFNAMSIZ) #define IW_EV_COMPAT_UINT_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(__u32)) #define IW_EV_COMPAT_FREQ_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct iw_freq)) #define IW_EV_COMPAT_PARAM_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct iw_param)) #define IW_EV_COMPAT_ADDR_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct sockaddr)) #define IW_EV_COMPAT_QUAL_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct iw_quality)) |
ccc580571 wext: Emit event ... |
39 40 41 42 |
#define IW_EV_COMPAT_POINT_LEN \ (IW_EV_COMPAT_LCP_LEN + sizeof(struct compat_iw_point) - \ IW_EV_COMPAT_POINT_OFF) #endif |
1da177e4c Linux-2.6.12-rc2 |
43 |
#endif /* _LINUX_WIRELESS_H */ |