* [PATCH 5/6] b43: N-PHY: correct condition blocks in init
@ 2010-01-14 22:43 Rafał Miłecki
0 siblings, 0 replies; only message in thread
From: Rafał Miłecki @ 2010-01-14 22:43 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org, John W. Linville
Cc: bcm43xx-dev@lists.berlios.de
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
---
drivers/net/wireless/b43/phy_n.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index d5a2dc8..356b89f 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -1842,17 +1842,19 @@ int b43_phy_initn(struct b43_wldev *dev)
//TODO N PHY Pre Calibrate TX Gain
target = b43_nphy_get_tx_gains(dev);
}
- /* TODO: If the output of N PHY Cal TX Iqlo with target, 1 0 as arguments is 0
- if (b43_nphy_cal_rx_iq(dev, target, 2, 0) == 0)
- Call N PHY Save Cal */
- } else if (nphy->mphase_cal_phase_id == 0) {
- //TODO N PHY Periodic Calibration with argument 3
}
- } else {
- b43_nphy_restore_cal(dev);
}
}
+ /* TODO: If the output of N PHY Cal TX Iqlo with target, 1 0 as arguments is 0 {
+ if (b43_nphy_cal_rx_iq(dev, target, 2, 0) == 0)
+ Call N PHY Save Cal
+ else if (nphy->mphase_cal_phase_id == 0)
+ //TODO: N PHY Periodic Calibration with argument 3
+ } else {
+ b43_nphy_restore_cal(dev);
+ } */
+
b43_nphy_tx_pwr_ctrl_coef_setup(dev);
//TODO N PHY TX Power Control Enable with argument tx_pwr_state
b43_phy_write(dev, B43_NPHY_TXMACIF_HOLDOFF, 0x0015);
--
1.6.4.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-14 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14 22:43 [PATCH 5/6] b43: N-PHY: correct condition blocks in init Rafał Miłecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).