diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-01-30 14:18:05 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-01 15:40:06 -0500 |
commit | 38bb902921dc31c15a707b74ebc6896438bb357e (patch) | |
tree | 77238b032a81f585d00a075aeea8ca35c7ffe51e /drivers/net/wireless | |
parent | 6e3b15a9e7c3e4f22e9ade658b9e185311078648 (diff) |
b43: N-PHY: fix Cal TX IQ LO for newer PHYs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/b43/phy_n.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 0e04a2668ea3..1dace55d243a 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -2229,7 +2229,17 @@ static int b43_nphy_cal_tx_iq_lo(struct b43_wldev *dev, | |||
2229 | (dev->phy.rev == 5 && nphy->ipa2g_on && | 2229 | (dev->phy.rev == 5 && nphy->ipa2g_on && |
2230 | b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ); | 2230 | b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ); |
2231 | if (phy6or5x) { | 2231 | if (phy6or5x) { |
2232 | /* TODO */ | 2232 | if (dev->phy.is_40mhz) { |
2233 | b43_ntab_write_bulk(dev, B43_NTAB16(15, 0), 18, | ||
2234 | tbl_tx_iqlo_cal_loft_ladder_40); | ||
2235 | b43_ntab_write_bulk(dev, B43_NTAB16(15, 32), 18, | ||
2236 | tbl_tx_iqlo_cal_iqimb_ladder_40); | ||
2237 | } else { | ||
2238 | b43_ntab_write_bulk(dev, B43_NTAB16(15, 0), 18, | ||
2239 | tbl_tx_iqlo_cal_loft_ladder_20); | ||
2240 | b43_ntab_write_bulk(dev, B43_NTAB16(15, 32), 18, | ||
2241 | tbl_tx_iqlo_cal_iqimb_ladder_20); | ||
2242 | } | ||
2233 | } | 2243 | } |
2234 | 2244 | ||
2235 | b43_phy_write(dev, B43_NPHY_IQLOCAL_CMDGCTL, 0x8AA9); | 2245 | b43_phy_write(dev, B43_NPHY_IQLOCAL_CMDGCTL, 0x8AA9); |