1 /*******************************************************************************
3 * Wireless device driver for Linux (wlags49).
5 * Copyright (c) 1998-2003 Agere Systems Inc.
9 * Initially developed by TriplePoint, Inc.
10 * http://www.triplepoint.com
12 *------------------------------------------------------------------------------
14 * This file contains DHF configuration info.
16 *------------------------------------------------------------------------------
20 * This software is provided subject to the following terms and conditions,
21 * which you should read carefully before using the software. Using this
22 * software indicates your acceptance of these terms and conditions. If you do
23 * not agree with these terms and conditions, do not use the software.
25 * Copyright � 2003 Agere Systems Inc.
26 * All rights reserved.
28 * Redistribution and use in source or binary forms, with or without
29 * modifications, are permitted provided that the following conditions are met:
31 * . Redistributions of source code must retain the above copyright notice, this
32 * list of conditions and the following Disclaimer as comments in the code as
33 * well as in the documentation and/or other materials provided with the
36 * . Redistributions in binary form must reproduce the above copyright notice,
37 * this list of conditions and the following Disclaimer in the documentation
38 * and/or other materials provided with the distribution.
40 * . Neither the name of Agere Systems Inc. nor the names of the contributors
41 * may be used to endorse or promote products derived from this software
42 * without specific prior written permission.
46 * THIS SOFTWARE IS PROVIDED �AS IS� AND ANY EXPRESS OR IMPLIED WARRANTIES,
47 * INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF
48 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ANY
49 * USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE IS SOLELY AT THE USERS OWN
50 * RISK. IN NO EVENT SHALL AGERE SYSTEMS INC. OR CONTRIBUTORS BE LIABLE FOR ANY
51 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
52 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
53 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
54 * ON ANY THEORY OF LIABILITY, INCLUDING, BUT NOT LIMITED TO, CONTRACT, STRICT
55 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
56 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
59 ******************************************************************************/
64 /*******************************************************************************
65 * VERSION CONTROL INFORMATION
66 *******************************************************************************
69 * $Date: 2004/07/19 07:08:33 $
70 * $Revision: 1.1.1.1 $
71 * $Source: /usr/local/cvs/wl_lkm/include/hcf/dhfcfg.h,v $
73 ******************************************************************************/
80 /*-----------------------------------------------------------------------------
83 * Contents: #defines for the DHF module
86 * Some combinations of the #defines in this file are illegal (as noted below).
87 * If an illegal combinations of #defines is specified a compile error is
88 * generated. See document DHFUG.DOC for more information.
90 * Author: John Meertens
94 *---------------------------------------------------------------------------*/
97 // Define DHF_WCI if you want to use the WCI to access the ORiNOCO card.
98 // Define DHF_UIL if you want to use the UIL to access the ORiNOCO card.
99 // You must define either DHF_WCI or DHF_UIL. If neither of the two is defined
100 // or both a compile error is generated.
104 // Define DHF_BIG_ENDIAN if you are working on a big endian platform.
105 // Define DHF_LITTLE_ENDIAN if you are working on a little endian platform.
106 // You must define either DHF_BIG_ENDIAN or DHF_LITTLE_ENDIAN. If neither of
107 // the two is defined or both a compile error is generated.
108 #ifdef USE_BIG_ENDIAN
109 #define DHF_BIG_ENDIAN
111 #define DHF_LITTLE_ENDIAN
112 #endif /* USE_BIG_ENDIAN */
114 // Define DHF_WIN if you are working on Windows platform.
115 // Define DHF_DOS if you are working on DOS.
116 // You must define either DHF_WIN or DHF_DOS. If neither of
117 // the two is defined or both a compile error is generated.
121 // Define if you want the DHF to users. Not defining DHF_GET_RES_MSG
122 // leads to a decrease in code size as message strings are not included.
123 //!!!#define DHF_GET_RES_MSG
125 // Linux driver specific
126 // Prevent inclusion of stdlib.h and string.h
130 //-----------------------------------------------------------------------------
131 // Define one or more of the following DSF #defines if you want to implement
132 // the related DSF-function. Function dsf_callback must allways be implemented.
133 // See file DHF.H for prototypes of the functions.
135 // Define DSF_ALLOC if you want to manage memory allocation and de-allocation
136 // for the DHF. If DSF_ALLOC is defined you must implement dsf_alloc and dsf_free.
137 //!!!#define DSF_ALLOC
139 // Define DSF_CONFIRM if you want the DHF to ask the user for confirmation in a
140 // number of situations. If DSF_CONFIRM is defined you must implement dsf_confirm.
141 // Not defining DSF_CONFIRM leads to a decrease in code size as confirmation
142 // strings are not included.
143 //!!!#define DSF_CONFIRM
145 // Define DSF_DEBUG_MESSAGE if you want debug messages added to your output.
146 // If you define DSF_DEBUG_MESSAGE then you must implement function
147 // dsf_debug_message.
148 //#define DSF_DEBUG_MESSAGE
150 // Define DSF_ASSERT if you want asserts to be activated.
151 // If you define DSF_ASSERT then you must implement function dsf_assert.
155 // Define DSF_DBWIN if you want asserts and debug messages to be send to a debug
156 // window like SOFTICE or DebugView from SysInternals.
157 //!!!#define DSF_DBWIN
158 //!!! Not implemented yet!
160 // Define DSF_VOLATILE_ONLY if you only wants to use valatile functions
161 // This is a typical setting for a AP and a driver.
162 #define DSF_VOLATILE_ONLY
164 // Define DSF_HERMESII if you want to use the DHF for the Hermes-II
171 // Define DSF_BINARY_FILE if you want to use the DHF in combination with
172 // reading the Firmware from a separate binary file.
173 //!!!#define DSF_BINARY_FILE