aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-07-01 17:07:52 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-07-01 17:07:52 +0000
commit362e8b56f682a4e2f46c02a5e0b3e34d7788cd6e (patch)
tree3e556dd1912a174f0c9007b738ba8bd471228ac8 /package
parent7d7ed4e8a3a10adaa46ae2c3f2c1fd39e3960753 (diff)
downloadupstream-362e8b56f682a4e2f46c02a5e0b3e34d7788cd6e.tar.gz
upstream-362e8b56f682a4e2f46c02a5e0b3e34d7788cd6e.tar.bz2
upstream-362e8b56f682a4e2f46c02a5e0b3e34d7788cd6e.zip
[package] madwifi: Disable compression capability on AR71XX and make it optional for other platforms (thanks to David A. Bandel and Dennis Bartsch)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16642 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/madwifi/Config.in8
-rw-r--r--package/madwifi/Makefile6
2 files changed, 13 insertions, 1 deletions
diff --git a/package/madwifi/Config.in b/package/madwifi/Config.in
index 6191ce2db4..23cc433f3d 100644
--- a/package/madwifi/Config.in
+++ b/package/madwifi/Config.in
@@ -5,6 +5,14 @@ config MADWIFI_DEBUG
depends on DEVEL && PACKAGE_kmod-madwifi
default n
+config MADWIFI_COMPRESSION
+ bool "Enable Atheros Super A/G Compression"
+ depends on PACKAGE_kmod-madwifi
+ depends !TARGET_ar71xx
+ default n
+ help
+ Enables Atheros Super A/G Hardware Compression Engine.
+
choice
prompt "Madwifi version"
depends on PACKAGE_kmod-madwifi
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 93f695db95..5e6273ccae 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -46,7 +46,11 @@ PKG_BUILD_DEPENDS:=wprobe
include $(INCLUDE_DIR)/package.mk
-COMPRESSION:=1
+ifdef CONFIG_MADWIFI_COMPRESSION
+ COMPRESSION:=1
+else
+ COMPRESSION:=0
+endif
define Download/hal
FILE:=$(HAL_FILE)