aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/radio_2056.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/radio_2056.c')
-rw-r--r--drivers/net/wireless/b43/radio_2056.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/radio_2056.c b/drivers/net/wireless/b43/radio_2056.c
index 4a42994f4933..ce037fb6789a 100644
--- a/drivers/net/wireless/b43/radio_2056.c
+++ b/drivers/net/wireless/b43/radio_2056.c
@@ -9055,6 +9055,21 @@ void b2056_upload_inittabs(struct b43_wldev *dev,
9055 B2056_RX1, pts->rx, pts->rx_length); 9055 B2056_RX1, pts->rx, pts->rx_length);
9056} 9056}
9057 9057
9058void b2056_upload_syn_pll_cp2(struct b43_wldev *dev, bool ghz5)
9059{
9060 struct b2056_inittabs_pts *pts;
9061 const struct b2056_inittab_entry *e;
9062
9063 if (dev->phy.rev >= ARRAY_SIZE(b2056_inittabs)) {
9064 B43_WARN_ON(1);
9065 return;
9066 }
9067 pts = &b2056_inittabs[dev->phy.rev];
9068 e = &pts->syn[B2056_SYN_PLL_CP2];
9069
9070 b43_radio_write(dev, B2056_SYN_PLL_CP2, ghz5 ? e->ghz5 : e->ghz2);
9071}
9072
9058const struct b43_nphy_channeltab_entry_rev3 * 9073const struct b43_nphy_channeltab_entry_rev3 *
9059b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq) 9074b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq)
9060{ 9075{