add the new compat-wireless for 2.6.27 + multi-rate retry and minstrel patches, renam...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 299-compat_minstrel.patch
1 --- a/config.mk
2 +++ b/config.mk
3 @@ -47,8 +47,9 @@
4 endif # build check
5 endif # kernel Makefile check
6
7 -CONFIG_MAC80211_RC_DEFAULT=pid
8 +CONFIG_MAC80211_RC_DEFAULT=minstrel
9 CONFIG_MAC80211_RC_PID=y
10 +CONFIG_MAC80211_RC_MINSTREL=y
11
12 # enable mesh networking too
13 CONFIG_MAC80211_MESH=y
14 --- a/include/linux/compat_autoconf.h
15 +++ b/include/linux/compat_autoconf.h
16 @@ -18,11 +18,14 @@
17 #define CONFIG_MAC80211 1
18 #endif /* CONFIG_MAC80211 */
19 #ifndef CONFIG_MAC80211_RC_DEFAULT
20 -#define CONFIG_MAC80211_RC_DEFAULT "pid"
21 -#endif /* CONFIG_MAC80211_RC_DEFAULT */
22 +#define CONFIG_MAC80211_RC_DEFAULT "minstrel"
23 +#endif /* CONFIG_MAC80211_RC_DEFAULT */
24 #ifndef CONFIG_MAC80211_RC_PID
25 #define CONFIG_MAC80211_RC_PID 1
26 #endif /* CONFIG_MAC80211_RC_PID */
27 +#ifndef CONFIG_MAC80211_RC_MINSTREL
28 +#define CONFIG_MAC80211_RC_MINSTREL 1
29 +#endif /* CONFIG_MAC80211_RC_MINSTREL */
30 #ifndef CONFIG_MAC80211_MESH
31 #define CONFIG_MAC80211_MESH 1
32 #endif /* CONFIG_MAC80211_MESH */