aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-05 12:07:45 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-06 18:14:57 -0400
commitcccf129f820e431d84690729254a32f1709328fb (patch)
tree0539c013be61ba6c8eeb0790ccb7df50bf2cb3bd /net/mac80211/main.c
parent2f7fe87034298d94301315ba4bb65c7284c709d0 (diff)
mac80211: add the 'minstrel' rate control algorithm
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index d608c44047c0..ae62ad40ad63 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -1015,6 +1015,10 @@ static int __init ieee80211_init(void)
1015 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, driver_data) + 1015 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, driver_data) +
1016 IEEE80211_TX_INFO_DRIVER_DATA_SIZE > sizeof(skb->cb)); 1016 IEEE80211_TX_INFO_DRIVER_DATA_SIZE > sizeof(skb->cb));
1017 1017
1018 ret = rc80211_minstrel_init();
1019 if (ret)
1020 return ret;
1021
1018 ret = rc80211_pid_init(); 1022 ret = rc80211_pid_init();
1019 if (ret) 1023 if (ret)
1020 return ret; 1024 return ret;
@@ -1027,6 +1031,7 @@ static int __init ieee80211_init(void)
1027static void __exit ieee80211_exit(void) 1031static void __exit ieee80211_exit(void)
1028{ 1032{
1029 rc80211_pid_exit(); 1033 rc80211_pid_exit();
1034 rc80211_minstrel_exit();
1030 1035
1031 /* 1036 /*
1032 * For key todo, it'll be empty by now but the work 1037 * For key todo, it'll be empty by now but the work