aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-08-29 22:26:42 +0200
committerDaniel Golle <daniel@makrotopia.org>2019-08-29 22:29:54 +0200
commita58bfb7377de2ccda55d66c78b0378d5d6ec7af9 (patch)
tree8eb3bd5cc4e8e9dea975096b4ad2b07cd35abc83 /package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch
parentbec2df9a661454f4289e02954f2c083902c45ee9 (diff)
downloadupstream-a58bfb7377de2ccda55d66c78b0378d5d6ec7af9.tar.gz
upstream-a58bfb7377de2ccda55d66c78b0378d5d6ec7af9.tar.bz2
upstream-a58bfb7377de2ccda55d66c78b0378d5d6ec7af9.zip
mac80211: rt2x00: revert commit causing regression in 5GHz band
From: Stanislaw Gruszka <sgruszka@redhat.com> This reverts commit 9ad3b55654455258a9463384edb40077439d879f. As reported by Sergey: "I got some problem after upgrade kernel to 5.2 version (debian testing linux-image-5.2.0-2-amd64). 5Ghz client stopped to see AP. Some tests with 1metre distance between client-AP: 2.4Ghz -22dBm, for 5Ghz - 53dBm !, for longer distance (8m + walls) 2.4 - 61dBm, 5Ghz not visible." It was identified that rx signal level degradation was caused by 9ad3b5565445 ("rt2800: enable TX_PIN_CFG_LNA_PE_ bits per band"). So revert this commit. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch')
-rw-r--r--package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch b/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch
index ca21f55bee..01bed89a63 100644
--- a/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch
+++ b/package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
-@@ -8702,6 +8702,386 @@ void rt2800_rxdcoc_calibration(struct rt
+@@ -8696,6 +8696,386 @@ void rt2800_rxdcoc_calibration(struct rt
}
EXPORT_SYMBOL_GPL(rt2800_rxdcoc_calibration);
@@ -387,7 +387,7 @@
static void rt2800_bbp_core_soft_reset(struct rt2x00_dev *rt2x00dev,
bool set_bw, bool is_ht40)
{
-@@ -9314,6 +9694,7 @@ static void rt2800_init_rfcsr_6352(struc
+@@ -9308,6 +9688,7 @@ static void rt2800_init_rfcsr_6352(struc
rt2800_rxdcoc_calibration(rt2x00dev);
rt2800_bw_filter_calibration(rt2x00dev, true);
rt2800_bw_filter_calibration(rt2x00dev, false);