diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-08-12 15:13:45 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-22 22:46:01 +0400 |
commit | f457f1842d3ad0f24cc0b181e60b6c59ed1d90ba (patch) | |
tree | 198ecebc50c8e5f92dadc6320fc1e475cb651b09 /drivers/net/wireless/b43 | |
parent | 15222b582dc761ba1eb1ed47367df43f803f3670 (diff) | |
download | linux-f457f1842d3ad0f24cc0b181e60b6c59ed1d90ba.tar.xz |
b43: HT-PHY: init: implement few simple PHY writes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r-- | drivers/net/wireless/b43/phy_ht.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_ht.c b/drivers/net/wireless/b43/phy_ht.c index 99b3035d48ec..93ee0e4e9b9a 100644 --- a/drivers/net/wireless/b43/phy_ht.c +++ b/drivers/net/wireless/b43/phy_ht.c @@ -279,6 +279,28 @@ static int b43_phy_ht_op_init(struct b43_wldev *dev) b43_phy_ht_zero_extg(dev); + /* TODO: PHY op on reg B43_PHY_EXTG(0) */ + + b43_phy_write(dev, B43_PHY_HT_AFE_CTL1, 0); + b43_phy_write(dev, B43_PHY_HT_AFE_CTL3, 0); + b43_phy_write(dev, B43_PHY_HT_AFE_CTL5, 0); + + b43_phy_write(dev, B43_PHY_EXTG(0x103), 0x20); + b43_phy_write(dev, B43_PHY_EXTG(0x101), 0x20); + b43_phy_write(dev, 0x20d, 0xb8); + b43_phy_write(dev, B43_PHY_EXTG(0x14f), 0xc8); + b43_phy_write(dev, 0x70, 0x50); + b43_phy_write(dev, 0x1ff, 0x30); + + if (0) /* TODO: condition */ + ; /* TODO: PHY op on reg 0x217 */ + + ; /* TODO: PHY op on reg 0xb0 */ + + ; /* TODO: PHY ops on regs 0xb1, 0x32f, 0x077, 0x0b4, 0x17e */ + + b43_phy_write(dev, 0x0b9, 0x0072); + return 0; } |