Blame SOURCES/0095-Revert-iwlwifi-mvm-fix-wrong-DCM-TLC-config.patch

deb259
From e92d7bbbcc06e5b7bfd8031c2657b27ada83aeee Mon Sep 17 00:00:00 2001
deb259
From: Eugene Syromiatnikov <esyr@redhat.com>
deb259
Date: Fri, 6 Sep 2019 15:40:41 +0200
deb259
Subject: [PATCH 3/5] Revert "iwlwifi: mvm: fix wrong DCM TLC config"
deb259
deb259
This reverts commit 7703238ef7e56b96eb0d23e629245b1d56241224.
deb259
---
deb259
 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c | 7 ++++++-
deb259
 1 file changed, 6 insertions(+), 1 deletion(-)
deb259
deb259
Index: src/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
deb259
===================================================================
deb259
--- src.orig/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c	2019-09-06 15:42:07.472272934 +0200
deb259
+++ src/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c	2019-09-06 15:42:07.640270270 +0200
deb259
@@ -145,9 +145,14 @@
deb259
 
deb259
 	if (he_cap && he_cap->has_he &&
deb259
 	    (he_cap->he_cap_elem.phy_cap_info[3] &
deb259
-	     IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK))
deb259
+	     IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_TX_MASK)) {
deb259
 		flags |= IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK;
deb259
 
deb259
+		if (he_cap->he_cap_elem.phy_cap_info[3] &
deb259
+		    IEEE80211_HE_PHY_CAP3_DCM_MAX_TX_NSS_2)
deb259
+			flags |= IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_2_MSK;
deb259
+	}
deb259
+
deb259
 	return flags;
deb259
 }
deb259