mt76: mt7921: add EEPROM support
authorSean Wang <sean.wang@mediatek.com>
Wed, 27 Jan 2021 19:33:41 +0000 (03:33 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Jan 2021 17:09:56 +0000 (18:09 +0100)
commitbb1f6aaf71d658ed2f41e109d502d427ea0577fb
treef5ce5b101ef03f486e7799e9f0c95d0fa90dad56
parent12d1c31788ad703d0f61d399db14f45f0ad0e888
mt76: mt7921: add EEPROM support

Add EEPROM support to MT7921 to determine the capability the card has
such as indentificaiton, MAC address, the band and antenna number the
card able to support.

Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Co-developed-by: Soul Huang <Soul.Huang@mediatek.com>
Signed-off-by: Soul Huang <Soul.Huang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/eeprom.c [new file with mode: 0644]
drivers/net/wireless/mediatek/mt76/mt7921/eeprom.h [new file with mode: 0644]