mac80211: remove the pid rate control algorithm to save a few kbytes
authorFelix Fietkau <nbd@openwrt.org>
Tue, 1 Jun 2010 23:11:43 +0000 (23:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 1 Jun 2010 23:11:43 +0000 (23:11 +0000)
SVN-Revision: 21654

package/mac80211/Makefile
package/mac80211/patches/016-remove_pid_algo.patch [new file with mode: 0644]

index f4dee83ce7c53bac8e0dbc10ee0444a9cea1333b..d0d5224b035e79a2f9483e120e4f2f8e22a6f0f3 100644 (file)
@@ -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 (file)
index 0000000..fade3bf
--- /dev/null
@@ -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