blob: 43d2f971e2cdb5fdc2fbe4fff4be65a714e00301 [file] [log] [blame]
Greg Kroah-Hartman00b3ed12008-10-02 11:29:28 -07001/* 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
Greg Kroah-Hartman00b3ed12008-10-02 11:29:28 -070051#define WLAN_DEVNAMELEN_MAX 16
52
Edgardo Hames3d049432010-08-02 17:17:17 -030053struct p80211msg {
Moritz Muehlenhoffc27f8802009-02-08 02:20:58 +010054 u32 msgcode;
55 u32 msglen;
56 u8 devname[WLAN_DEVNAMELEN_MAX];
Bas van den Berg7d3864d2011-02-03 21:37:16 +010057} __packed;
Greg Kroah-Hartman00b3ed12008-10-02 11:29:28 -070058
Moritz Muehlenhoffc27f8802009-02-08 02:20:58 +010059#endif /* _P80211MSG_H */