From: acinonyx Date: Wed, 1 Jul 2009 17:07:52 +0000 (+0000) Subject: [package] madwifi: Disable compression capability on AR71XX and make it optional... X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/09d38320e8bb45366650ff042b6404d95163b310 [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 --- diff --git a/package/madwifi/Config.in b/package/madwifi/Config.in index 6191ce2db..23cc433f3 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 93f695db9..5e6273cca 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)