OSDN Git Service

mt76: mt7615: support loading EEPROM for MT7613BE
authorSander Vanheule <sander@svanheule.net>
Tue, 2 Feb 2021 08:59:53 +0000 (09:59 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 16:50:38 +0000 (18:50 +0200)
commit858ebf446bee7d5077bd99488aae617908c3f4fe
tree030298fec7e7817b72706ba989d5d440f9789a37
parent7dcf3c04f0aca746517a77433b33d40868ca4749
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: Georgi Vlaev <georgi.vlaev@konsulko.com>
Tested-by: Stijn Segers <foss@volatilesystems.org>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c