Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a3f71ae authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville
Browse files

b43: HT-PHY: enable radio



The trick was to find 0x810 PHY reg ops close to analog enabling code.
To find out proper masks and sets, MMIO hacks were used.

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e7c62552
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -69,6 +69,10 @@ static void b43_phy_ht_op_software_rfkill(struct b43_wldev *dev,
	if (blocked) {
		b43_phy_mask(dev, B43_PHY_HT_RF_CTL1, ~0);
	} else {
		b43_phy_mask(dev, B43_PHY_HT_RF_CTL1, ~0);
		b43_phy_maskset(dev, B43_PHY_HT_RF_CTL1, ~0, 0x1);
		b43_phy_mask(dev, B43_PHY_HT_RF_CTL1, ~0);
		b43_phy_maskset(dev, B43_PHY_HT_RF_CTL1, ~0, 0x2);
	}
}