Commit 858ebf44 authored by Sander Vanheule's avatar Sander Vanheule Committed by Felix Fietkau

mt76: mt7615: support loading EEPROM for MT7613BE

EEPROM blobs for MT7613BE radios start with (little endian) 0x7663,
which is also the PCI device ID for this device. The EEPROM is required
for the radio to work at useful power levels, otherwise only the lowest
power level is available.
Suggested-by: default avatarGeorgi Vlaev <georgi.vlaev@konsulko.com>
Tested-by: default avatarStijn Segers <foss@volatilesystems.org>
Signed-off-by: default avatarSander Vanheule <sander@svanheule.net>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 7dcf3c04
......@@ -86,6 +86,7 @@ static int mt7615_check_eeprom(struct mt76_dev *dev)
switch (val) {
case 0x7615:
case 0x7622:
case 0x7663:
return 0;
default:
return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment