aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-06-01 23:11:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-06-01 23:11:43 +0000
commit8e39b122c94276383078ae49ee2c46a5a9364f39 (patch)
tree2822178f37a4224dd6da4bca5c8d322dbcba2b1f /package/mac80211
parent07b571a2394a36b8f0cfb6851c8501d26b08a5b8 (diff)
downloadupstream-8e39b122c94276383078ae49ee2c46a5a9364f39.tar.gz
upstream-8e39b122c94276383078ae49ee2c46a5a9364f39.tar.bz2
upstream-8e39b122c94276383078ae49ee2c46a5a9364f39.zip
mac80211: remove the pid rate control algorithm to save a few kbytes
SVN-Revision: 21654
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/Makefile1
-rw-r--r--package/mac80211/patches/016-remove_pid_algo.patch11
2 files changed, 11 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index f4dee83ce7..d0d5224b03 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -800,7 +800,6 @@ MAKE_OPTS:= \
EXTRA_CFLAGS="$(BUILDFLAGS)" \
$(foreach opt,$(CONFOPTS),CONFIG_$(opt)=m) \
CONFIG_MAC80211=$(if $(CONFIG_PACKAGE_kmod-mac80211),m) \
- CONFIG_MAC80211_RC_PID=y \
CONFIG_MAC80211_RC_MINSTREL=y \
CONFIG_MAC80211_LEDS=$(CONFIG_LEDS_TRIGGERS) \
CONFIG_MAC80211_DEBUGFS=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \
diff --git a/package/mac80211/patches/016-remove_pid_algo.patch b/package/mac80211/patches/016-remove_pid_algo.patch
new file mode 100644
index 0000000000..fade3bf570
--- /dev/null
+++ b/package/mac80211/patches/016-remove_pid_algo.patch
@@ -0,0 +1,11 @@
+--- a/config.mk
++++ b/config.mk
+@@ -112,7 +112,7 @@ CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
+ # This is the one used by our compat-wireless net/mac80211/rate.c
+ # in case you have and old kernel which is overriding this to pid.
+ CONFIG_COMPAT_MAC80211_RC_DEFAULT=minstrel
+-CONFIG_MAC80211_RC_PID=y
++# CONFIG_MAC80211_RC_PID=y
+ CONFIG_MAC80211_RC_MINSTREL=y
+ CONFIG_MAC80211_LEDS=y
+