aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-02-08 04:50:47 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-02-08 13:13:39 +0100
commitf9850e9d2c4affdde5ca42e1955306177f0524ca (patch)
treeb8432feb29eb06eb65db9fa49924715849840df5 /package/kernel
parent39273b849fb6d235e092477c8c98c722f77cb36a (diff)
downloadupstream-f9850e9d2c4affdde5ca42e1955306177f0524ca.tar.gz
upstream-f9850e9d2c4affdde5ca42e1955306177f0524ca.tar.bz2
upstream-f9850e9d2c4affdde5ca42e1955306177f0524ca.zip
mac80211: rt2x00: remove patch causing low tx power
Remove 980-rt2x00-reduce-power-consumption-on-mt7620.patch which in combination with the most recently added patch reportedly causes TX power to be too weak. "without patches rssi on receiver is ~ -23dBm with 980 about -35dBm, with both patches drops below -40dBm. with 987 only ~-28dBm" We may need to reconsider this once we have implemented TSSI. Fixes: cdb58b2bfe ("mac80211: rt2x00: reduce tx power to nominal level on RT6352") Reported-by: Tomislav Požega <pozega.tomislav@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/patches/rt2x00/980-rt2x00-reduce-power-consumption-on-mt7620.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/package/kernel/mac80211/patches/rt2x00/980-rt2x00-reduce-power-consumption-on-mt7620.patch b/package/kernel/mac80211/patches/rt2x00/980-rt2x00-reduce-power-consumption-on-mt7620.patch
deleted file mode 100644
index 87f9e8f7cc..0000000000
--- a/package/kernel/mac80211/patches/rt2x00/980-rt2x00-reduce-power-consumption-on-mt7620.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From: Tomislav Požega <pozega.tomislav@gmail.com>
-
-rt2x00: write registers required for reducing power consumption
-
-Write registers required for reducing power consumption like the vendor
-driver does when ADJUST_POWER_CONSUMPTION_SUPPORT is set.
-This helps devices to sync at better TX/RX rates and improves overall
-performance.
-
-Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
-Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-[daniel@makrotopia.org: edited commit message]
----
- drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 18 ++++++++++++++++++
- 1 file changed, 18 insertions(+), 0 deletions(-)
-
---- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
-+++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
-@@ -8875,6 +8875,24 @@ static void rt2800_init_rfcsr_6352(struc
- rt2800_rfcsr_write_chanreg(rt2x00dev, 58, 0x02);
- rt2800_rfcsr_write_chanreg(rt2x00dev, 60, 0xC7);
-
-+ /* reduce power consumption */
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 43, 0x53);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 44, 0x53);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 45, 0x53);
-+ rt2800_rfcsr_write_bank(rt2x00dev, 4, 47, 0x24);
-+ rt2800_rfcsr_write_bank(rt2x00dev, 6, 47, 0x64);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 48, 0x4F);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 49, 0x02);
-+ rt2800_rfcsr_write_bank(rt2x00dev, 4, 55, 0x24);
-+ rt2800_rfcsr_write_bank(rt2x00dev, 6, 55, 0x64);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 56, 0x4F);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 57, 0x02);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 58, 0x27);
-+ rt2800_rfcsr_write_bank(rt2x00dev, 4, 59, 0x24);
-+ rt2800_rfcsr_write_bank(rt2x00dev, 6, 59, 0x64);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 60, 0x4F);
-+ rt2800_rfcsr_write_chanreg(rt2x00dev, 61, 0x02);
-+
- /* Initialize RF DC calibration register to default value */
- rt2800_rfcsr_write_dccal(rt2x00dev, 0, 0x47);
- rt2800_rfcsr_write_dccal(rt2x00dev, 1, 0x00);