diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-06 12:04:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-06 12:04:04 +0000 |
commit | 7e0e4fb486f80de36c04c58f3052862d895062e8 (patch) | |
tree | 944c49d6842113df11fd3cb1efd719b12ceba23c /package/mac80211/patches/299-compat_minstrel.patch | |
parent | 5d46bb5efce086255b76530781281f270f813ae2 (diff) | |
download | upstream-7e0e4fb486f80de36c04c58f3052862d895062e8.tar.gz upstream-7e0e4fb486f80de36c04c58f3052862d895062e8.tar.bz2 upstream-7e0e4fb486f80de36c04c58f3052862d895062e8.zip |
add the new compat-wireless for 2.6.27 + multi-rate retry and minstrel patches, rename patches/ for old compat-wireless to patches-old/
SVN-Revision: 12865
Diffstat (limited to 'package/mac80211/patches/299-compat_minstrel.patch')
-rw-r--r-- | package/mac80211/patches/299-compat_minstrel.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/mac80211/patches/299-compat_minstrel.patch b/package/mac80211/patches/299-compat_minstrel.patch new file mode 100644 index 0000000000..7f50197806 --- /dev/null +++ b/package/mac80211/patches/299-compat_minstrel.patch @@ -0,0 +1,32 @@ +--- a/config.mk ++++ b/config.mk +@@ -47,8 +47,9 @@ + endif # build check + endif # kernel Makefile check + +-CONFIG_MAC80211_RC_DEFAULT=pid ++CONFIG_MAC80211_RC_DEFAULT=minstrel + CONFIG_MAC80211_RC_PID=y ++CONFIG_MAC80211_RC_MINSTREL=y + + # enable mesh networking too + CONFIG_MAC80211_MESH=y +--- a/include/linux/compat_autoconf.h ++++ b/include/linux/compat_autoconf.h +@@ -18,11 +18,14 @@ + #define CONFIG_MAC80211 1 + #endif /* CONFIG_MAC80211 */ + #ifndef CONFIG_MAC80211_RC_DEFAULT +-#define CONFIG_MAC80211_RC_DEFAULT "pid" +-#endif /* CONFIG_MAC80211_RC_DEFAULT */ ++#define CONFIG_MAC80211_RC_DEFAULT "minstrel" ++#endif /* CONFIG_MAC80211_RC_DEFAULT */ + #ifndef CONFIG_MAC80211_RC_PID + #define CONFIG_MAC80211_RC_PID 1 + #endif /* CONFIG_MAC80211_RC_PID */ ++#ifndef CONFIG_MAC80211_RC_MINSTREL ++#define CONFIG_MAC80211_RC_MINSTREL 1 ++#endif /* CONFIG_MAC80211_RC_MINSTREL */ + #ifndef CONFIG_MAC80211_MESH + #define CONFIG_MAC80211_MESH 1 + #endif /* CONFIG_MAC80211_MESH */ |