summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
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/iwl-nvm-parse.c
parent71511c866bce04f931e462ad0cce3f122aa0c447 (diff)
downloadblackbird-op-linux-a3576ff28e3b6a75d79fdc33c8179e7e2b470e50.tar.gz
blackbird-op-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/iwl-nvm-parse.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-nvm-parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
index 40718f814f8d..c302e7468559 100644
--- a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
+++ b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
@@ -334,6 +334,9 @@ static void iwl_init_vht_hw_capab(const struct iwl_cfg *cfg,
3 << IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT |
7 << IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_SHIFT;
+ if (cfg->ht_params->ldpc)
+ vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC;
+
if (num_tx_ants > 1)
vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC;
else
OpenPOWER on IntegriCloud