mt76: mt7603: check for single-stream EEPROM configuration
authorFelix Fietkau <nbd@nbd.name>
Tue, 25 Aug 2020 05:03:37 +0000 (07:03 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:16 +0000 (18:10 +0200)
commitd407afcbd6e763171253b6a174749e0ecf49e249
tree0e9e0e6bda553e18ecb8a47c01df8bac62342f2d
parent2d68104742a90f035ee8ceaddf322f6e2da32f70
mt76: mt7603: check for single-stream EEPROM configuration

Some devices using MT7628 or MT7603 have only one antenna chain connected.
Detect these using the EEPROM rx/tx path settings

Reported-by: Qin Wei <me@vonger.cn>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.h
drivers/net/wireless/mediatek/mt76/mt7603/init.c