diff options
Diffstat (limited to 'drivers/net/wireless/b43/phy_n.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_n.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 617724dc6aa8..8bcfda5f3f07 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -583,6 +583,12 @@ static void b43_nphy_op_software_rfkill(struct b43_wldev *dev, | |||
583 | {//TODO | 583 | {//TODO |
584 | } | 584 | } |
585 | 585 | ||
586 | static void b43_nphy_op_switch_analog(struct b43_wldev *dev, bool on) | ||
587 | { | ||
588 | b43_phy_write(dev, B43_NPHY_AFECTL_OVER, | ||
589 | on ? 0 : 0x7FFF); | ||
590 | } | ||
591 | |||
586 | static int b43_nphy_op_switch_channel(struct b43_wldev *dev, | 592 | static int b43_nphy_op_switch_channel(struct b43_wldev *dev, |
587 | unsigned int new_channel) | 593 | unsigned int new_channel) |
588 | { | 594 | { |
@@ -614,6 +620,7 @@ const struct b43_phy_operations b43_phyops_n = { | |||
614 | .radio_read = b43_nphy_op_radio_read, | 620 | .radio_read = b43_nphy_op_radio_read, |
615 | .radio_write = b43_nphy_op_radio_write, | 621 | .radio_write = b43_nphy_op_radio_write, |
616 | .software_rfkill = b43_nphy_op_software_rfkill, | 622 | .software_rfkill = b43_nphy_op_software_rfkill, |
623 | .switch_analog = b43_nphy_op_switch_analog, | ||
617 | .switch_channel = b43_nphy_op_switch_channel, | 624 | .switch_channel = b43_nphy_op_switch_channel, |
618 | .get_default_chan = b43_nphy_op_get_default_chan, | 625 | .get_default_chan = b43_nphy_op_get_default_chan, |
619 | .recalc_txpower = b43_nphy_op_recalc_txpower, | 626 | .recalc_txpower = b43_nphy_op_recalc_txpower, |