diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_config.h')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_config.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/drivers/net/wireless/hostap/hostap_config.h b/drivers/net/wireless/hostap/hostap_config.h index 0b526febd1a8..174068bffd82 100644 --- a/drivers/net/wireless/hostap/hostap_config.h +++ b/drivers/net/wireless/hostap/hostap_config.h | |||
@@ -13,37 +13,6 @@ | |||
13 | /* Maximum number of events handler per one interrupt */ | 13 | /* Maximum number of events handler per one interrupt */ |
14 | #define PRISM2_MAX_INTERRUPT_EVENTS 20 | 14 | #define PRISM2_MAX_INTERRUPT_EVENTS 20 |
15 | 15 | ||
16 | /* Use PCI bus master to copy data to/from BAP (only available for | ||
17 | * hostap_pci.o). | ||
18 | * | ||
19 | * Note! This is extremely experimental. PCI bus master is not supported by | ||
20 | * Intersil and it seems to have some problems at least on TX path (see below). | ||
21 | * The driver code for implementing bus master support is based on guessing | ||
22 | * and experimenting suitable control bits and these might not be correct. | ||
23 | * This code is included because using bus master makes a huge difference in | ||
24 | * host CPU load (something like 40% host CPU usage to 5-10% when sending or | ||
25 | * receiving at maximum throughput). | ||
26 | * | ||
27 | * Note2! Station firmware version 1.3.5 and primary firmware version 1.0.7 | ||
28 | * have some fixes for PCI corruption and these (or newer) versions are | ||
29 | * recommended especially when using bus mastering. | ||
30 | * | ||
31 | * NOTE: PCI bus mastering code has not been updated for long time and it is | ||
32 | * not likely to compile and it will _not_ work as is. Only enable this if you | ||
33 | * are prepared to first fix the implementation.. | ||
34 | */ | ||
35 | /* #define PRISM2_BUS_MASTER */ | ||
36 | |||
37 | #ifdef PRISM2_BUS_MASTER | ||
38 | |||
39 | /* PCI bus master implementation seems to be broken in current | ||
40 | * hardware/firmware versions. Enable this to use enable command to fix | ||
41 | * something before starting bus master operation on TX path. This will add | ||
42 | * some latency and an extra interrupt to each TX packet. */ | ||
43 | #define PRISM2_ENABLE_BEFORE_TX_BUS_MASTER | ||
44 | |||
45 | #endif /* PRISM2_BUS_MASTER */ | ||
46 | |||
47 | /* Include code for downloading firmware images into volatile RAM. */ | 16 | /* Include code for downloading firmware images into volatile RAM. */ |
48 | #define PRISM2_DOWNLOAD_SUPPORT | 17 | #define PRISM2_DOWNLOAD_SUPPORT |
49 | 18 | ||