diff options
author | Jouni Malinen <jkmaline@cc.hut.fi> | 2005-08-14 22:08:40 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-14 23:06:27 -0400 |
commit | ea3f1865f33bd328bf043f47492f401a42de5edb (patch) | |
tree | 03036e8bd28fd97296b1938e28cbb3723dff61a2 /drivers/net/wireless/hostap/hostap_wlan.h | |
parent | 5bee720fd7fa5ed4eade96058acd3a684da30932 (diff) |
[PATCH] hostap: Remove experimental PCI bus master/DMA code
PCI version of Prism2.5/3 has undocumented DMA support for TX/RX data,
but this seems to have some hardware bugs that prevent it from being
used properly for TX. RX side could possibly be made to work reliably.
Even though DMA support would be very useful for saving host CPU (from
about 40% to 5-10% when operating at maximum throughput), it seems to
be best to just remove this code finally. The implementation has
always been commented out by default and has received very limited
testing. The code may have already been broken number of times and I
don't have much interested in trying to verify whether it works or
not. Getting this out makes it easier to maintain the driver and
allows some cleanups that have been partly postponed because of this
experimental bus master/DMA code.
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_wlan.h')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_wlan.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h index 6f5bea8a5c23..56416b43e414 100644 --- a/drivers/net/wireless/hostap/hostap_wlan.h +++ b/drivers/net/wireless/hostap/hostap_wlan.h | |||
@@ -787,10 +787,6 @@ struct local_info { | |||
787 | 787 | ||
788 | struct prism2_helper_functions *func; | 788 | struct prism2_helper_functions *func; |
789 | 789 | ||
790 | int bus_master_threshold_tx; | ||
791 | int bus_master_threshold_rx; | ||
792 | u8 *bus_m1_buf; | ||
793 | |||
794 | u8 *pda; | 790 | u8 *pda; |
795 | int fw_ap; | 791 | int fw_ap; |
796 | #define PRISM2_FW_VER(major, minor, variant) \ | 792 | #define PRISM2_FW_VER(major, minor, variant) \ |
@@ -897,14 +893,6 @@ struct local_info { | |||
897 | 893 | ||
898 | #ifdef PRISM2_PCI | 894 | #ifdef PRISM2_PCI |
899 | void __iomem *mem_start; | 895 | void __iomem *mem_start; |
900 | #ifdef PRISM2_BUS_MASTER | ||
901 | /* bus master for BAP0 (TX) */ | ||
902 | int bus_m0_tx_idx; | ||
903 | u8 *bus_m0_buf; | ||
904 | |||
905 | /* bus master for BAP1 (RX) */ | ||
906 | struct sk_buff *rx_skb; | ||
907 | #endif /* PRISM2_BUS_MASTER */ | ||
908 | #endif /* PRISM2_PCI */ | 896 | #endif /* PRISM2_PCI */ |
909 | 897 | ||
910 | /* NOTE! Do not add common entries here after hardware version | 898 | /* NOTE! Do not add common entries here after hardware version |