00001 /* src/include/wlan/p80211msg.h 00002 * 00003 * Macros, constants, types, and funcs for req and ind messages 00004 * 00005 * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved. 00006 * -------------------------------------------------------------------- 00007 * 00008 * linux-wlan 00009 * 00010 * The contents of this file are subject to the Mozilla Public 00011 * License Version 1.1 (the "License"); you may not use this file 00012 * except in compliance with the License. You may obtain a copy of 00013 * the License at http://www.mozilla.org/MPL/ 00014 * 00015 * Software distributed under the License is distributed on an "AS 00016 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 00017 * implied. See the License for the specific language governing 00018 * rights and limitations under the License. 00019 * 00020 * Alternatively, the contents of this file may be used under the 00021 * terms of the GNU Public License version 2 (the "GPL"), in which 00022 * case the provisions of the GPL are applicable instead of the 00023 * above. If you wish to allow the use of your version of this file 00024 * only under the terms of the GPL and not to allow others to use 00025 * your version of this file under the MPL, indicate your decision 00026 * by deleting the provisions above and replace them with the notice 00027 * and other provisions required by the GPL. If you do not delete 00028 * the provisions above, a recipient may use your version of this 00029 * file under either the MPL or the GPL. 00030 * 00031 * -------------------------------------------------------------------- 00032 * 00033 * Inquiries regarding the linux-wlan Open Source project can be 00034 * made directly to: 00035 * 00036 * AbsoluteValue Systems Inc. 00037 * info@linux-wlan.com 00038 * http://www.linux-wlan.com 00039 * 00040 * -------------------------------------------------------------------- 00041 * 00042 * Portions of the development of this software were funded by 00043 * Intersil Corporation as part of PRISM(R) chipset product development. 00044 * 00045 * -------------------------------------------------------------------- 00046 */ 00047 00048 #ifndef _P80211MSG_H 00049 #define _P80211MSG_H 00050 00051 /*================================================================*/ 00052 /* System Includes */ 00053 00054 /*================================================================*/ 00055 /* Project Includes */ 00056 00057 #ifndef _WLAN_COMPAT_H 00058 #include <wlan/wlan_compat.h> 00059 #endif 00060 00061 /*================================================================*/ 00062 /* Constants */ 00063 00064 #define MSG_BUFF_LEN 4000 00065 #define WLAN_DEVNAMELEN_MAX 16 00066 00067 /*================================================================*/ 00068 /* Macros */ 00069 00070 /*================================================================*/ 00071 /* Types */ 00072 00073 /*--------------------------------------------------------------------*/ 00074 /*----- Message Structure Types --------------------------------------*/ 00075 00076 /*--------------------------------------------------------------------*/ 00077 /* Prototype msg type */ 00078 00079 typedef struct p80211msg 00080 { 00081 UINT32 msgcode; 00082 UINT32 msglen; 00083 UINT8 devname[WLAN_DEVNAMELEN_MAX]; 00084 } __WLAN_ATTRIB_PACK__ p80211msg_t; 00085 00086 typedef struct p80211msgd 00087 { 00088 UINT32 msgcode; 00089 UINT32 msglen; 00090 UINT8 devname[WLAN_DEVNAMELEN_MAX]; 00091 UINT8 args[0]; 00092 } __WLAN_ATTRIB_PACK__ p80211msgd_t; 00093 00094 /*================================================================*/ 00095 /* Extern Declarations */ 00096 00097 00098 /*================================================================*/ 00099 /* Function Declarations */ 00100 00101 #endif /* _P80211MSG_H */ 00102