summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/rs.h
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2014-10-23 13:58:38 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-10-29 14:13:46 +0200
commitd8bafeaf46a0e442723859f58fbf863f7c39875f (patch)
tree0477d7eb94e9aeb70315a979511a99641417dcf1 /drivers/net/wireless/iwlwifi/mvm/rs.h
parent1e2ebe0e407159ae94974a93264260883f9a39ad (diff)
downloadlinux-d8bafeaf46a0e442723859f58fbf863f7c39875f.tar.gz
linux-d8bafeaf46a0e442723859f58fbf863f7c39875f.tar.bz2
linux-d8bafeaf46a0e442723859f58fbf863f7c39875f.zip
iwlwifi: mvm: rs: add Tx STBC support
STBC is enabled on HT/VHT SISO rates in case we don't care about power consumption and it won't hurt BT. This is done only in case the peer and our chip support STBC of course. While at it fixed a bug which was causing bw and ldpc flags to be set incorrectly in the rate scale table in case we are switching to a legacy Tx column. This had no real impact. Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/rs.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/rs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.h b/drivers/net/wireless/iwlwifi/mvm/rs.h
index eb34c1209acc..defd70a6d9e6 100644
--- a/drivers/net/wireless/iwlwifi/mvm/rs.h
+++ b/drivers/net/wireless/iwlwifi/mvm/rs.h
@@ -208,6 +208,7 @@ struct rs_rate {
u32 bw;
bool sgi;
bool ldpc;
+ bool stbc;
};
@@ -331,6 +332,7 @@ struct iwl_lq_sta {
u64 last_tx;
bool is_vht;
bool ldpc; /* LDPC Rx is supported by the STA */
+ bool stbc; /* Tx STBC is supported by chip and Rx by STA */
enum ieee80211_band band;
/* The following are bitmaps of rates; IWL_RATE_6M_MASK, etc. */