[openwrt/openwrt] mac80211: add patch descriptions to rt2x00 patches

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 18 19:13:38 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/0755c18ff114303b9fb06c24c4297bf243856a73

commit 0755c18ff114303b9fb06c24c4297bf243856a73
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Mon Sep 12 21:21:05 2022 +0100

    mac80211: add patch descriptions to rt2x00 patches
    
    Prepare patches for sending upstream by adding patch descriptions
    generated from the original OpenWrt commits adding each patch.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
    (cherry picked from commit d4feb66048f6a8f387eedfb162a1184cdae9d756)
---
 ...atch => 612-rt2x00-add-throughput-LED-trigger.patch} |  3 +++
 ...ch => 982-rt2x00-add-RF-self-TXDC-calibration.patch} | 14 ++++++++++++++
 .../patches/rt2x00/983-rt2x00-add-r-calibration.patch   | 14 ++++++++++++++
 ...on.patch => 984-rt2x00-add-RXDCOC-calibration.patch} | 14 ++++++++++++++
 ...tion.patch => 985-rt2x00-add-RXIQ-calibration.patch} | 15 +++++++++++++++
 .../rt2x00/986-rt2x00-add-TX-LOFT-calibration.patch     | 17 ++++++++++++++++-
 6 files changed, 76 insertions(+), 1 deletion(-)

diff --git a/package/kernel/mac80211/patches/rt2x00/612-rt2x00-led-tpt-trigger-support.patch b/package/kernel/mac80211/patches/rt2x00/612-rt2x00-add-throughput-LED-trigger.patch
similarity index 93%
rename from package/kernel/mac80211/patches/rt2x00/612-rt2x00-led-tpt-trigger-support.patch
rename to package/kernel/mac80211/patches/rt2x00/612-rt2x00-add-throughput-LED-trigger.patch
index 6e6564f870..f27873acc0 100644
--- a/package/kernel/mac80211/patches/rt2x00/612-rt2x00-led-tpt-trigger-support.patch
+++ b/package/kernel/mac80211/patches/rt2x00/612-rt2x00-add-throughput-LED-trigger.patch
@@ -8,6 +8,9 @@ was limited to a single VAP.
 
 Signed-off-by: David Bauer <mail at david-bauer.net>
 Tested-by: Christoph Krapp <achterin at googlemail.com>
+---
+ drivers/net/wireless/ralink/rt2x00/rt2x00dev.c | 17 +++++++++++++++++
+ 1 file changed, 17 insertions(+)
 
 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
 +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
diff --git a/package/kernel/mac80211/patches/rt2x00/982-rt2x00-add-rf-self-txdc-calibration.patch b/package/kernel/mac80211/patches/rt2x00/982-rt2x00-add-RF-self-TXDC-calibration.patch
similarity index 83%
rename from package/kernel/mac80211/patches/rt2x00/982-rt2x00-add-rf-self-txdc-calibration.patch
rename to package/kernel/mac80211/patches/rt2x00/982-rt2x00-add-RF-self-TXDC-calibration.patch
index b798dcc6d8..b74bea2020 100644
--- a/package/kernel/mac80211/patches/rt2x00/982-rt2x00-add-rf-self-txdc-calibration.patch
+++ b/package/kernel/mac80211/patches/rt2x00/982-rt2x00-add-RF-self-TXDC-calibration.patch
@@ -1,3 +1,17 @@
+From: =?UTF-8?q?Tomislav=20Po=C5=BEega?= <pozega.tomislav at gmail.com>
+Date: Mon, 8 Jan 2018 13:42:27 +0100
+Subject: [PATCH] rt2x00: add RF self TXDC calibration
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add TX self calibration based on mtk driver.
+
+Signed-off-by: Tomislav Požega <pozega.tomislav at gmail.com>
+---
+ .../net/wireless/ralink/rt2x00/rt2800lib.c    | 51 +++++++++++++++++++
+ 1 file changed, 51 insertions(+)
+
 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 @@ -8438,6 +8438,56 @@ static void rt2800_init_rfcsr_5592(struc
diff --git a/package/kernel/mac80211/patches/rt2x00/983-rt2x00-add-r-calibration.patch b/package/kernel/mac80211/patches/rt2x00/983-rt2x00-add-r-calibration.patch
index cf21c39a6c..04ea802117 100644
--- a/package/kernel/mac80211/patches/rt2x00/983-rt2x00-add-r-calibration.patch
+++ b/package/kernel/mac80211/patches/rt2x00/983-rt2x00-add-r-calibration.patch
@@ -1,3 +1,17 @@
+From: =?UTF-8?q?Tomislav=20Po=C5=BEega?= <pozega.tomislav at gmail.com>
+Date: Mon, 8 Jan 2018 13:42:58 +0100
+Subject: [PATCH] rt2x00: add r calibration
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add r calibration code as found in mtk driver.
+
+Signed-off-by: Tomislav Požega <pozega.tomislav at gmail.com>
+---
+ .../net/wireless/ralink/rt2x00/rt2800lib.c    | 150 ++++++++++++++++++
+ 1 file changed, 150 insertions(+)
+
 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 @@ -8488,6 +8488,155 @@ static void rt2800_rf_self_txdc_cal(stru
diff --git a/package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch b/package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-RXDCOC-calibration.patch
similarity index 84%
rename from package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch
rename to package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-RXDCOC-calibration.patch
index 1f8684b0bf..821af87ec1 100644
--- a/package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch
+++ b/package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-RXDCOC-calibration.patch
@@ -1,3 +1,17 @@
+From: =?UTF-8?q?Tomislav=20Po=C5=BEega?= <pozega.tomislav at gmail.com>
+Date: Mon, 8 Jan 2018 13:43:37 +0100
+Subject: [PATCH] rt2x00: add RXDCOC calibration
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add RXDCOC calibration code from mtk driver.
+
+Signed-off-by: Tomislav Požega <pozega.tomislav at gmail.com>
+---
+ .../net/wireless/ralink/rt2x00/rt2800lib.c    | 65 +++++++++++++++++++
+ 1 file changed, 65 insertions(+)
+
 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 @@ -8637,6 +8637,70 @@ static void rt2800_r_calibration(struct
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
similarity index 95%
rename from package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch
rename to package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-RXIQ-calibration.patch
index 98f2e245ce..1c07cc7520 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,3 +1,18 @@
+From: =?UTF-8?q?Tomislav=20Po=C5=BEega?= <pozega.tomislav at gmail.com>
+Date: Mon, 8 Jan 2018 13:43:56 +0100
+Subject: [PATCH] rt2x00: add RXIQ calibration
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add RXIQ calibration found in mtk driver. With old openwrt builds this
+gets us ~8Mbps more of RX bandwidth (test with iPA/eLNA layout).
+
+Signed-off-by: Tomislav Požega <pozega.tomislav at gmail.com>
+---
+ .../net/wireless/ralink/rt2x00/rt2800lib.c    | 379 ++++++++++++++++++
+ 1 file changed, 379 insertions(+)
+
 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 @@ -8701,6 +8701,384 @@ static void rt2800_rxdcoc_calibration(st
diff --git a/package/kernel/mac80211/patches/rt2x00/986-rt2x00-add-TX-LOFT-calibration.patch b/package/kernel/mac80211/patches/rt2x00/986-rt2x00-add-TX-LOFT-calibration.patch
index 6a685f80ab..a816aaf52a 100644
--- a/package/kernel/mac80211/patches/rt2x00/986-rt2x00-add-TX-LOFT-calibration.patch
+++ b/package/kernel/mac80211/patches/rt2x00/986-rt2x00-add-TX-LOFT-calibration.patch
@@ -1,3 +1,18 @@
+From: =?UTF-8?q?Tomislav=20Po=C5=BEega?= <pozega.tomislav at gmail.com>
+Date: Thu, 11 Jan 2018 19:53:49 +0100
+Subject: [PATCH] rt2x00: add TX LOFT calibration
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add TX LOFT calibration from mtk driver.
+
+Signed-off-by: Tomislav Požega <pozega.tomislav at gmail.com>
+---
+ .../net/wireless/ralink/rt2x00/rt2800lib.c    | 938 ++++++++++++++++++
+ .../net/wireless/ralink/rt2x00/rt2800lib.h    |  10 +
+ 2 files changed, 948 insertions(+)
+
 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
 @@ -9079,6 +9079,943 @@ restore_value:
@@ -630,7 +645,7 @@
 +
 +				if (vga_gain[ch_idx] < 0)
 +					vga_gain[ch_idx] = 0;
-+		 	}
++			}
 +
 +			rfvalue = rfvga_gain_table[vga_gain[ch_idx]];
 +




More information about the lede-commits mailing list