Revert "Rename all ACX_IE_* to ACX_REG_*: we talk about registers here"
[acx-mac80211.git] / acx_config.h
blobaf765e974013ca5e1347c3bc89f256d2590cd431
1 #ifndef _ACX_CONFIG_H_
2 #define _ACX_CONFIG_H_
4 /* temporary hack until proper Kconfig integration */
5 #define CONFIG_ACX_MAC80211_PCI 1
6 //#define CONFIG_ACX_MAC80211_USB 1
8 /*
9 * Err out immediately if both are set
12 #if defined(CONFIG_ACX_MAC80211_PCI) && defined(CONFIG_ACX_MAC80211_USB)
13 #error The driver does NOT support building both USB and PCI at the moment
14 #endif
17 * Also err out if none is set...
19 #if !(defined(CONFIG_ACX_MAC80211_PCI) || defined(CONFIG_ACX_MAC80211_USB))
20 #error Driver must include PCI and/or USB support. You selected neither.
21 #endif
24 #define ACX_RELEASE "v0.3.38-mac80211"
26 /* assume 32bit I/O width
27 * (16bit is also compatible with Compact Flash) */
28 #define ACX_IO_WIDTH 32
30 /* Set this to 1 if you want monitor mode to use
31 * phy header. Currently it is not useful anyway since we
32 * don't know what useful info (if any) is in phy header.
33 * If you want faster/smaller code, say 0 here */
34 #define WANT_PHY_HDR 0
36 /* whether to do Tx descriptor cleanup in softirq (i.e. not in IRQ
37 * handler) or not. Note that doing it later does slightly increase
38 * system load, so still do that stuff in the IRQ handler for now,
39 * even if that probably means worse latency */
40 #define TX_CLEANUP_IN_SOFTIRQ 0
42 /* if you want very experimental 802.11 power save mode features */
43 #define POWER_SAVE_80211 0
45 /* if you want very early packet fragmentation bits and pieces */
46 #define ACX_FRAGMENTATION 0
48 /* Locking: */
49 /* very talkative */
50 #define PARANOID_LOCKING 1
51 /* normal (use when bug-free) */
52 /* #define DO_LOCKING 1 */
53 /* else locking is disabled! */
55 /* 0 - normal mode */
56 /* 1 - development/debug: probe for IEs on modprobe */
57 #define CMD_DISCOVERY 0
59 #endif /* _ACX_CONFIG_H_ */