OpenWrt: bump to 19.07.7 #124

Closed
adschm wants to merge 1 commits from adschm:19077 into master
2 changed files with 4 additions and 54 deletions

View File

@ -1,50 +0,0 @@
From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Date: Fri, 16 Oct 2020 13:36:02 +0200
Subject: mt76: mt7603: allow eeprom sections starting with 7600
Fixes low signal issue for 2.4 GHz for the TP-Link Archer C50 v4.
The first two bytes in the eeprom are the chip id. The working
devices have 0x7628 there, whereas the non-working devices have
0x7600 there. This chip id gets checked by the function
mt7603_check_eeprom() which leads the driver to ignore the
contents of the eeprom partition and load default values from otp.
The has been manually added based on mt76 PR:
https://github.com/openwrt/mt76/pull/442/
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
diff --git a/package/kernel/mt76/patches/0001-fix-archer-c50-v4.patch b/package/kernel/mt76/patches/0001-fix-archer-c50-v4.patch
new file mode 100644
index 0000000000000000000000000000000000000000..29e422dc0c7f3046be0aa761bcfe8db1e298ed88
--- /dev/null
+++ b/package/kernel/mt76/patches/0001-fix-archer-c50-v4.patch
@@ -0,0 +1,28 @@
+From b0c7f88d900d2986cd2061113201825eda6a6482 Mon Sep 17 00:00:00 2001
+From: Ron Asimi <ron.asimi@gmail.com>
+Date: Wed, 2 Sep 2020 23:18:23 -0400
+Subject: [PATCH] mt7603: allow eeprom sections starting with 7600
+
+Fixes low signal issue for 2.4 GHz for the TP-Link Archer C50 v4.
+The first two bytes in the eeprom are the chip id. The working
+devices have 0x7628 there, whereas the non-working devices have
+0x7600 there. This chip id gets checked by the function
+mt7603_check_eeprom() which leads the driver to ignore the contents
+of the eeprom partition and load default values from otp.
+
+---
+ mt7603/eeprom.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/mt7603/eeprom.c b/mt7603/eeprom.c
+index 01f1e0da..9d5042af 100644
+--- a/mt7603/eeprom.c
++++ b/mt7603/eeprom.c
+@@ -136,6 +136,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)
+ switch (val) {
+ case 0x7628:
+ case 0x7603:
++ case 0x7600:
+ return 0;
+ default:
+ return -EINVAL;

View File

@ -13,10 +13,10 @@
builddir=./build
# OpenWrt: openwrt-19.07.5
OPENWRTREV="v19.07.6"
PACKAGEREV="ce5a4eaea218111350e05ea86de8171344a70ce4"
ROUTINGREV="02b4dbfcb7b8f8b566940847d22d5a6f229d2e66"
# OpenWrt: v19.07.7
Review

Den Kommentar können wir beim nächsten mal einfach komplett weg machen. Wir nehmen ja direkt den passenden und sinvoll lesbaren Release Tag.

https://i.redd.it/iuy9fxt300811.png

Den Kommentar können wir beim nächsten mal einfach komplett weg machen. Wir nehmen ja direkt den passenden und sinvoll lesbaren Release Tag. https://i.redd.it/iuy9fxt300811.png
Review

Der Kommentar ist in erster Linie für den Fall da, dass wir eben mal nicht ein tagged Release nehmen. Sinnvoller wäre hier aber in der Tat z.B. "All packages v19.07.7" oder so. Wegen mir kann er auch ganz weg, dafür haben wir ja die commit message.

Der Kommentar ist in erster Linie für den Fall da, dass wir eben mal nicht ein tagged Release nehmen. Sinnvoller wäre hier aber in der Tat z.B. "All packages v19.07.7" oder so. Wegen mir kann er auch ganz weg, dafür haben wir ja die commit message.
OPENWRTREV="v19.07.7"
PACKAGEREV="90af10d01579425369bd474051b6d3ddaf32a7e3"
ROUTINGREV="e26b4745209655976b7d124465b1dc53ade632f9"
# Gluon packages: master from 2020-02-04
GLUONREV="12e41d0ff07ec54bbd67a31ab50d12ca04f2238c"