summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-02-13 10:51:08 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-02-13 10:56:33 +0100
commita0497f9f57478c5a37c5628eb32833dd9729a821 (patch)
treeba36d9fd8aa48161af7d997ecefe360032c4171e /net/mac80211/rc80211_minstrel.h
parent6719429dd61cde1fe30d9644d0aa2369eefc9005 (diff)
downloadtalos-op-linux-a0497f9f57478c5a37c5628eb32833dd9729a821.tar.gz
talos-op-linux-a0497f9f57478c5a37c5628eb32833dd9729a821.zip
mac80211/minstrel_ht: add support for using CCK rates
When MCS rates start to get bad in 2.4 GHz because of long range or strong interference, CCK rates can be a lot more robust. This patch adds a pseudo MCS group containing CCK rates (long preamble in the lower 4 slots, short preamble in the upper slots). Signed-off-by: Felix Fietkau <nbd@openwrt.org> [make minstrel_ht_get_stats static] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.h')
-rw-r--r--net/mac80211/rc80211_minstrel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h
index 5d278eccaef0..5ecf757817f2 100644
--- a/net/mac80211/rc80211_minstrel.h
+++ b/net/mac80211/rc80211_minstrel.h
@@ -79,6 +79,8 @@ struct minstrel_priv {
unsigned int lookaround_rate;
unsigned int lookaround_rate_mrr;
+ u8 cck_rates[4];
+
#ifdef CONFIG_MAC80211_DEBUGFS
/*
* enable fixed rate processing per RC
OpenPOWER on IntegriCloud