iwlwifi: mvm: rs: add Tx STBC support
authorEyal Shapira <eyal@wizery.com>
Thu, 23 Oct 2014 10:58:38 +0000 (13:58 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Oct 2014 12:13:46 +0000 (14:13 +0200)
commitd8bafeaf46a0e442723859f58fbf863f7c39875f
tree0477d7eb94e9aeb70315a979511a99641417dcf1
parent1e2ebe0e407159ae94974a93264260883f9a39ad
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>
drivers/net/wireless/iwlwifi/mvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.h