提交 9afef0fd 编写于 作者: F Felix Fietkau 提交者: Kalle Valo

mt76: fix threshold for gain adjustment

The gain should be reduced only for very strong connections, not for mid
range.
Signed-off-by: NFelix Fietkau <nbd@nbd.name>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 aea38272
......@@ -530,7 +530,7 @@ mt76x2_phy_update_channel_gain(struct mt76x2_dev *dev)
else
mt76_wr(dev, MT_BBP(RXO, 14), 0x00560423);
if (low_gain) {
if (low_gain == 2) {
mt76_wr(dev, MT_BBP(RXO, 18), 0xf000a991);
mt76_wr(dev, MT_BBP(AGC, 35), 0x08080808);
mt76_wr(dev, MT_BBP(AGC, 37), 0x08080808);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册