Skip to content

Commit

Permalink
mt7610e external frontend patch
Browse files Browse the repository at this point in the history
Ported from: openwrt#286

Should fix:
openwrt#199
openwrt#227

At least fix problem on DIR-510L with 5GHz: clients most times can not connect.
Detailed issue description openwrt#227

Also this duplicates: openwrt#287
but current code base does not have these changes.
  • Loading branch information
rozhuk-im committed Dec 8, 2020
1 parent 066cc44 commit 8086f70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mt76x0/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,11 @@ static void mt76x0_phy_ant_select(struct mt76x02_dev *dev)
mt76_rmw(dev, MT_CSR_EE_CFG1, GENMASK(15, 0), ee_cfg1);
mt76_clear(dev, MT_COEXCFG0, BIT(2));
mt76_wr(dev, MT_COEXCFG3, coex3);

u32 xo1 = mt76_rr(dev, MT_XO_CTRL1);
xo1 &= 0xffff0000;
xo1 |= (u32)ee_cfg1;
mt76_wr(dev, MT_XO_CTRL1, xo1);
}

static void
Expand Down

0 comments on commit 8086f70

Please sign in to comment.