diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-02 14:29:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-10 18:31:10 -0400 |
commit | 00b3ed1685089ff52169a715de11106ed37df087 (patch) | |
tree | 27fff3d6498ca0f5975f8b0ac1c09beda5f9b1da /drivers/staging/wlan-ng/p80211msg.h | |
parent | 66101de10957e07a6fd0365d5af9adf650246d14 (diff) |
Staging: add wlan-ng prism2 usb driver
This adds the wlan-ng prism2 USB driver to the drivers/staging tree.
The code was originally written by the linux-wlan-ng team, patched by
some Novell engineers to properly work on newer kernels, and then hacked
into place in order to get it to build properly in a single subdirectory
within the kernel tree by me.
It supports a wide range of older USB prism2 devices, and contains a
80211 stack to support this single driver.
Cc: Christian Zoz <zoz@suse.de>
Cc: Andreas Gruenbacher <agruen@suse.de>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Cc: John Linville <linville@tuxdriver.com>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: linux-wlan-ng <solomon@linux-wlan.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211msg.h')
-rw-r--r-- | drivers/staging/wlan-ng/p80211msg.h | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/drivers/staging/wlan-ng/p80211msg.h b/drivers/staging/wlan-ng/p80211msg.h new file mode 100644 index 00000000000..c14e9fbbd68 --- /dev/null +++ b/drivers/staging/wlan-ng/p80211msg.h | |||
@@ -0,0 +1,102 @@ | |||
1 | /* p80211msg.h | ||
2 | * | ||
3 | * Macros, constants, types, and funcs for req and ind messages | ||
4 | * | ||
5 | * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved. | ||
6 | * -------------------------------------------------------------------- | ||
7 | * | ||
8 | * linux-wlan | ||
9 | * | ||
10 | * The contents of this file are subject to the Mozilla Public | ||
11 | * License Version 1.1 (the "License"); you may not use this file | ||
12 | * except in compliance with the License. You may obtain a copy of | ||
13 | * the License at http://www.mozilla.org/MPL/ | ||
14 | * | ||
15 | * Software distributed under the License is distributed on an "AS | ||
16 | * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | ||
17 | * implied. See the License for the specific language governing | ||
18 | * rights and limitations under the License. | ||
19 | * | ||
20 | * Alternatively, the contents of this file may be used under the | ||
21 | * terms of the GNU Public License version 2 (the "GPL"), in which | ||
22 | * case the provisions of the GPL are applicable instead of the | ||
23 | * above. If you wish to allow the use of your version of this file | ||
24 | * only under the terms of the GPL and not to allow others to use | ||
25 | * your version of this file under the MPL, indicate your decision | ||
26 | * by deleting the provisions above and replace them with the notice | ||
27 | * and other provisions required by the GPL. If you do not delete | ||
28 | * the provisions above, a recipient may use your version of this | ||
29 | * file under either the MPL or the GPL. | ||
30 | * | ||
31 | * -------------------------------------------------------------------- | ||
32 | * | ||
33 | * Inquiries regarding the linux-wlan Open Source project can be | ||
34 | * made directly to: | ||
35 | * | ||
36 | * AbsoluteValue Systems Inc. | ||
37 | * info@linux-wlan.com | ||
38 | * http://www.linux-wlan.com | ||
39 | * | ||
40 | * -------------------------------------------------------------------- | ||
41 | * | ||
42 | * Portions of the development of this software were funded by | ||
43 | * Intersil Corporation as part of PRISM(R) chipset product development. | ||
44 | * | ||
45 | * -------------------------------------------------------------------- | ||
46 | */ | ||
47 | |||
48 | #ifndef _P80211MSG_H | ||
49 | #define _P80211MSG_H | ||
50 | |||
51 | /*================================================================*/ | ||
52 | /* System Includes */ | ||
53 | |||
54 | /*================================================================*/ | ||
55 | /* Project Includes */ | ||
56 | |||
57 | #ifndef _WLAN_COMPAT_H | ||
58 | #include "wlan_compat.h" | ||
59 | #endif | ||
60 | |||
61 | /*================================================================*/ | ||
62 | /* Constants */ | ||
63 | |||
64 | #define MSG_BUFF_LEN 4000 | ||
65 | #define WLAN_DEVNAMELEN_MAX 16 | ||
66 | |||
67 | /*================================================================*/ | ||
68 | /* Macros */ | ||
69 | |||
70 | /*================================================================*/ | ||
71 | /* Types */ | ||
72 | |||
73 | /*--------------------------------------------------------------------*/ | ||
74 | /*----- Message Structure Types --------------------------------------*/ | ||
75 | |||
76 | /*--------------------------------------------------------------------*/ | ||
77 | /* Prototype msg type */ | ||
78 | |||
79 | typedef struct p80211msg | ||
80 | { | ||
81 | UINT32 msgcode; | ||
82 | UINT32 msglen; | ||
83 | UINT8 devname[WLAN_DEVNAMELEN_MAX]; | ||
84 | } __WLAN_ATTRIB_PACK__ p80211msg_t; | ||
85 | |||
86 | typedef struct p80211msgd | ||
87 | { | ||
88 | UINT32 msgcode; | ||
89 | UINT32 msglen; | ||
90 | UINT8 devname[WLAN_DEVNAMELEN_MAX]; | ||
91 | UINT8 args[0]; | ||
92 | } __WLAN_ATTRIB_PACK__ p80211msgd_t; | ||
93 | |||
94 | /*================================================================*/ | ||
95 | /* Extern Declarations */ | ||
96 | |||
97 | |||
98 | /*================================================================*/ | ||
99 | /* Function Declarations */ | ||
100 | |||
101 | #endif /* _P80211MSG_H */ | ||
102 | |||