Fix remaining build issues for 2.6.25 and 2.6.26
[acx-mac80211.git] / acx_config.h
blobf2da106811742ca8d539365b51fb4434864fd57b
1 /*
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
3 * The ACX100 Open Source Project <acx100-devel@lists.sourceforge.net>
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef _ACX_CONFIG_H_
19 #define _ACX_CONFIG_H_
21 #define ACX_RELEASE "v0.5.0"
23 /* set to 0 if you don't want any debugging code to be compiled in */
24 /* set to 1 if you want some debugging */
25 /* set to 2 if you want extensive debug log */
26 #define ACX_DEBUG 2
27 #define ACX_DEFAULT_MSG (L_ASSOC|L_INIT)
29 /* assume 32bit I/O width
30 * (16bit is also compatible with Compact Flash) */
31 #define ACX_IO_WIDTH 32
33 /* Set this to 1 if you want monitor mode to use
34 * phy header. Currently it is not useful anyway since we
35 * don't know what useful info (if any) is in phy header.
36 * If you want faster/smaller code, say 0 here */
37 #define WANT_PHY_HDR 0
39 /* whether to do Tx descriptor cleanup in softirq (i.e. not in IRQ
40 * handler) or not. Note that doing it later does slightly increase
41 * system load, so still do that stuff in the IRQ handler for now,
42 * even if that probably means worse latency */
43 #define TX_CLEANUP_IN_SOFTIRQ 0
45 /* if you want very experimental 802.11 power save mode features */
46 #define POWER_SAVE_80211 0
48 /* if you want very early packet fragmentation bits and pieces */
49 #define ACX_FRAGMENTATION 0
51 /* Locking: */
52 /* very talkative */
53 #define PARANOID_LOCKING 1
54 /* normal (use when bug-free) */
55 /* #define DO_LOCKING 1 */
56 /* else locking is disabled! */
58 /* 0 - normal mode */
59 /* 1 - development/debug: probe for IEs on modprobe */
60 #define CMD_DISCOVERY 0
62 #endif /* _ACX_CONFIG_H_ */