diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-05-13 16:48:03 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-02 16:12:59 -0400 |
commit | ec8aa669b8393b6789b1954d587c63264af7ff99 (patch) | |
tree | 1a4c43dc718262d1aa6256de2d50b9e03a76c604 /net/mac80211/rate.h | |
parent | b4df47081b67bce9dcb7b84b551588c7402a330a (diff) | |
download | linux-stable-ec8aa669b8393b6789b1954d587c63264af7ff99.tar.gz linux-stable-ec8aa669b8393b6789b1954d587c63264af7ff99.tar.bz2 linux-stable-ec8aa669b8393b6789b1954d587c63264af7ff99.zip |
mac80211: add the minstrel_ht 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/rate.h')
-rw-r--r-- | net/mac80211/rate.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index 065a96190e32..168427b0ffdc 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h @@ -147,5 +147,18 @@ static inline void rc80211_minstrel_exit(void) } #endif +#ifdef CONFIG_MAC80211_RC_MINSTREL_HT +extern int rc80211_minstrel_ht_init(void); +extern void rc80211_minstrel_ht_exit(void); +#else +static inline int rc80211_minstrel_ht_init(void) +{ + return 0; +} +static inline void rc80211_minstrel_ht_exit(void) +{ +} +#endif + #endif /* IEEE80211_RATE_H */ |