summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/rs.h
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2014-08-09 10:57:59 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-09-14 12:56:36 +0300
commita3576ff28e3b6a75d79fdc33c8179e7e2b470e50 (patch)
tree80cfc972acf93028e1253adc9d04e94a31a01d92 /drivers/net/wireless/iwlwifi/mvm/rs.h
parent71511c866bce04f931e462ad0cce3f122aa0c447 (diff)
downloadlinux-a3576ff28e3b6a75d79fdc33c8179e7e2b470e50.tar.gz
linux-a3576ff28e3b6a75d79fdc33c8179e7e2b470e50.tar.bz2
linux-a3576ff28e3b6a75d79fdc33c8179e7e2b470e50.zip
iwlwifi: mvm: add LDPC support
Use LDPC for Tx and publish support for Rx in case the chip supports LDPC. Enable it for the 7265 family. Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com> Reviewed-by: Johannes Berg <johannes.berg@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 f27b9d687a25..824a7506fc04 100644
--- a/drivers/net/wireless/iwlwifi/mvm/rs.h
+++ b/drivers/net/wireless/iwlwifi/mvm/rs.h
@@ -207,6 +207,7 @@ struct rs_rate {
u8 ant;
u32 bw;
bool sgi;
+ bool ldpc;
};
@@ -329,6 +330,7 @@ struct iwl_lq_sta {
*/
u64 last_tx;
bool is_vht;
+ bool ldpc; /* LDPC Rx is supported by the STA */
enum ieee80211_band band;
struct rs_rate_stats tx_stats[RS_COLUMN_COUNT][IWL_RATE_COUNT];