3 * --------------------------------------------------------------------
5 * Copyright (C) 2003 ACX100 Open Source Project
7 * The contents of this file are subject to the Mozilla Public
8 * License Version 1.1 (the "License"); you may not use this file
9 * except in compliance with the License. You may obtain a copy of
10 * the License at http://www.mozilla.org/MPL/
12 * Software distributed under the License is distributed on an "AS
13 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
14 * implied. See the License for the specific language governing
15 * rights and limitations under the License.
17 * Alternatively, the contents of this file may be used under the
18 * terms of the GNU Public License version 2 (the "GPL"), in which
19 * case the provisions of the GPL are applicable instead of the
20 * above. If you wish to allow the use of your version of this file
21 * only under the terms of the GPL and not to allow others to use
22 * your version of this file under the MPL, indicate your decision
23 * by deleting the provisions above and replace them with the notice
24 * and other provisions required by the GPL. If you do not delete
25 * the provisions above, a recipient may use your version of this
26 * file under either the MPL or the GPL.
28 * --------------------------------------------------------------------
30 * This code is based on elements which are
31 * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved.
33 * http://www.linux-wlan.com
35 * --------------------------------------------------------------------
37 * Inquiries regarding the ACX100 Open Source Project can be
40 * acx100-users@lists.sf.net
41 * http://acx100.sf.net
43 * --------------------------------------------------------------------
46 #ifndef __ACX_P80211MSG_H
47 #define __ACX_P80211MSG_H
49 /*================================================================*/
52 /*================================================================*/
53 /* Project Includes */
55 #ifndef __ACX_WLAN_COMPAT_H
56 #include <wlan/wlan_compat.h>
59 /*================================================================*/
62 #define MSG_BUFF_LEN 4000
63 #define WLAN_DEVNAMELEN_MAX 16
65 /*================================================================*/
68 /*================================================================*/
71 /*--------------------------------------------------------------------*/
72 /*----- Message Structure Types --------------------------------------*/
74 /*--------------------------------------------------------------------*/
75 /* Prototype msg type */
77 __WLAN_PRAGMA_PACK1__
typedef struct p80211msg
{
78 UINT32 msgcode __WLAN_ATTRIB_PACK__
;
79 UINT32 msglen __WLAN_ATTRIB_PACK__
;
80 UINT8 devname
[WLAN_DEVNAMELEN_MAX
] __WLAN_ATTRIB_PACK__
;
81 } __WLAN_ATTRIB_PACK__ p80211msg_t
;
82 __WLAN_PRAGMA_PACKDFLT__ __WLAN_PRAGMA_PACK1__
typedef struct p80211msgd
{
83 UINT32 msgcode __WLAN_ATTRIB_PACK__
;
84 UINT32 msglen __WLAN_ATTRIB_PACK__
;
85 UINT8 devname
[WLAN_DEVNAMELEN_MAX
] __WLAN_ATTRIB_PACK__
;
86 UINT8 args
[0] __WLAN_ATTRIB_PACK__
;
87 } __WLAN_ATTRIB_PACK__ p80211msgd_t
;
88 __WLAN_PRAGMA_PACKDFLT__
89 /*================================================================*/
90 /* Extern Declarations */
91 /*================================================================*/
92 /* Function Declarations */
93 #endif /* __ACX_P80211MSG_H */