提交 c3ad5e9d 编写于 作者: F Felix Fietkau

mt76: mt7615: disable 5 GHz on MT7622

It is not supported by the chip, so avoid issues with potentially wrong
EEPROM configurations.
Signed-off-by: NFelix Fietkau <nbd@nbd.name>
上级 8acb7afc
...@@ -112,6 +112,9 @@ static void mt7615_eeprom_parse_hw_cap(struct mt7615_dev *dev) ...@@ -112,6 +112,9 @@ static void mt7615_eeprom_parse_hw_cap(struct mt7615_dev *dev)
break; break;
} }
if (is_mt7622(&dev->mt76))
dev->mt76.cap.has_5ghz = false;
/* read tx-rx mask from eeprom */ /* read tx-rx mask from eeprom */
val = mt76_rr(dev, MT_TOP_STRAP_STA); val = mt76_rr(dev, MT_TOP_STRAP_STA);
max_nss = val & MT_TOP_3NSS ? 3 : 4; max_nss = val & MT_TOP_3NSS ? 3 : 4;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册