summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2024-07-13 03:47:21 +0000
committerFelix Fietkau2024-07-13 07:28:17 +0000
commit192afd31e3c58c1b855d46650e9954534f5f6851 (patch)
treed0240f1b3aa13b25057f1d397f9ea1a2fed1df69
parent7ca4190c186b6018f66421ce04daed5deeefdabb (diff)
downloadopenwrt-192afd31e3c58c1b855d46650e9954534f5f6851.tar.gz
mac80211: rt2x00: remove upstreamed patch
This BBP register fix patch has already been upstreamed. Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.9.9&id=50da74e1e8b682853d1e07fc8bbe3a0774ae5e09 Fixes: 1bfcc1ea8a78 ("mac80211: update to version 6.9.9") Signed-off-by: Shiji Yang <yangshiji66@qq.com>
-rw-r--r--package/kernel/mac80211/patches/rt2x00/101-wifi-rt2x00-correct-wrong-BBP-register-in-RxDCOC-cal.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/package/kernel/mac80211/patches/rt2x00/101-wifi-rt2x00-correct-wrong-BBP-register-in-RxDCOC-cal.patch b/package/kernel/mac80211/patches/rt2x00/101-wifi-rt2x00-correct-wrong-BBP-register-in-RxDCOC-cal.patch
deleted file mode 100644
index 91ed123c01..0000000000
--- a/package/kernel/mac80211/patches/rt2x00/101-wifi-rt2x00-correct-wrong-BBP-register-in-RxDCOC-cal.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 9 Nov 2023 12:01:18 +0800
-Subject: [PATCH] wifi: rt2x00: correct wrong BBP register in RxDCOC
- calibration
-
-Refer to Mediatek vendor driver RxDCOC_Calibration() function, when
-performing gainfreeze calibration, we should write register 140
-instead of 141. This fix can reduce the total calibration time from
-6 seconds to 1 second.
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
----
- drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
-+++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
-@@ -8692,7 +8692,7 @@ static void rt2800_rxdcoc_calibration(st
- rfvalue |= 0x03;
- rt2800_rfcsr_write_bank(rt2x00dev, 0, 2, rfvalue);
-
-- rt2800_bbp_write(rt2x00dev, 158, 141);
-+ rt2800_bbp_write(rt2x00dev, 158, 140);
- bbpreg = rt2800_bbp_read(rt2x00dev, 159);
- bbpreg |= 0x10;
- rt2800_bbp_write(rt2x00dev, 159, bbpreg);