mt76: mt7603: add additional EEPROM chip ID
Subsystems (2)
PATCH 1/1 mt76: mt7603: add additional EEPROM chip ID
Some newer MT7628 based routers (notably the TP-Link Archer C50 v4) are shipped with a chip-id of 0x7600 in the on-flash EEPROM. Add this as a possible valid ID.
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2781
--- drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +1 -0
@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)switch (val) {case 0x7628 :case 0x7603 : +case 0x7600 :return 0 ;default :return -EINVAL ;
Signature · 1 line
2.28.0
Lorenzo Bianconi
maintainerQuoted 17 lines
Some newer MT7628 based routers (notably the TP-Link Archer C50 v4) are shipped with a chip-id of
0x7600in the on-flash EEPROM. Add this as a possible valid ID.Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2781
Suggested-by Ron Asimi <[email protected]>Signed-off-by David Bauer <[email protected]>--- drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c | 1 + 1 file changed, 1 insertion(+)drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +0
-0
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c static int mt7603_check_eeprom(struct mt76_dev *dev) · line 144
Quoted 4 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +1
-0@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)switch (val) {case 0x7628 :case 0x7603 : +case 0x7600 :
is it a hw bug or does this part-number really exist?
Quoted 6 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +0
-0return 0 ;default :return -EINVAL ;Signature · 1 line
2.28.0
Hi Lorenzo,
Quoted 12 lines · Lorenzo Bianconi
Quoted 12 lines
Some newer MT7628 based routers (notably the TP-Link Archer C50 v4) are shipped with a chip-id of
0x7600in the on-flash EEPROM. Add this as a possible valid ID.Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2781
Suggested-by Ron Asimi <[email protected]>Signed-off-by David Bauer <[email protected]>--- drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c | 1 + 1 file changed, 1 insertion(+)
Quoted 11 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c static int mt7603_check_eeprom(struct mt76_dev *dev) · line 144
Quoted 9 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +1
-0@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)switch (val) {case 0x7628 :case 0x7603 : +case 0x7600 :is it a hw bug or does this part-number really exist?
I assume it's a bug on TP-Links side. However, there's already quite some units with this chip-id in their EEPROM around.
Best wishes
David
Quoted 8 lines
Quoted 8 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +0
-0return 0 ;default :return -EINVAL ;Signature · 1 line
2.28.0
Hi,
David Bauer wrote on 13.10.20 16:42:
Quoted 5 lines
Quoted 2 lines
is it a hw bug or does this part-number really exist?
I assume it's a bug on TP-Links side. However, there's already quite some units with this chip-id in their EEPROM around.
to my knowledge, all devices of this specific model (Archer C50 v4) have this chip-id in their EEPROM, not only some.
Regards
Andreas
Hi Andreas,
Quoted 4 lines · Andreas Ziegler
Hi,
David Bauer wrote on 13.10.20 16:42:
Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
is it a hw bug or does this part-number really exist?
I assume it's a bug on TP-Links side. However, there's already quite some units with this chip-id in their EEPROM around.
to my knowledge, all devices of this specific model (Archer C50 v4) have this chip-id in their EEPROM, not only some.
The unit I've got back when the v4 first surfaced has the correct chip-id in the 2.4GHz EEPROM (0x7628). However, some (if not all) newer units use 0x7600 as the chip-id for the MT7628 caldata.
Best wishes
David
Quoted 5 lines
Regards
Andreas