diff options
Diffstat (limited to 'drivers/net/wireless/b43/phy_lp.h')
-rw-r--r-- | drivers/net/wireless/b43/phy_lp.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_lp.h b/drivers/net/wireless/b43/phy_lp.h index 80703c58102e..18370b4ac38e 100644 --- a/drivers/net/wireless/b43/phy_lp.h +++ b/drivers/net/wireless/b43/phy_lp.h | |||
@@ -247,6 +247,10 @@ | |||
247 | #define B43_LPPHY_FOURWIRE_CTL B43_PHY_OFDM(0xA2) /* fourwire Control */ | 247 | #define B43_LPPHY_FOURWIRE_CTL B43_PHY_OFDM(0xA2) /* fourwire Control */ |
248 | #define B43_LPPHY_CPA_TAILCOUNT_VAL B43_PHY_OFDM(0xA3) /* CPA TailCount Value */ | 248 | #define B43_LPPHY_CPA_TAILCOUNT_VAL B43_PHY_OFDM(0xA3) /* CPA TailCount Value */ |
249 | #define B43_LPPHY_TX_PWR_CTL_CMD B43_PHY_OFDM(0xA4) /* TX Power Control Cmd */ | 249 | #define B43_LPPHY_TX_PWR_CTL_CMD B43_PHY_OFDM(0xA4) /* TX Power Control Cmd */ |
250 | #define B43_LPPHY_TX_PWR_CTL_CMD_MODE 0xE000 /* TX power control mode mask */ | ||
251 | #define B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF 0x0000 /* TX power control is OFF */ | ||
252 | #define B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW 0x8000 /* TX power control is SOFTWARE */ | ||
253 | #define B43_LPPHY_TX_PWR_CTL_CMD_MODE_HW 0xE000 /* TX power control is HARDWARE */ | ||
250 | #define B43_LPPHY_TX_PWR_CTL_NNUM B43_PHY_OFDM(0xA5) /* TX Power Control Nnum */ | 254 | #define B43_LPPHY_TX_PWR_CTL_NNUM B43_PHY_OFDM(0xA5) /* TX Power Control Nnum */ |
251 | #define B43_LPPHY_TX_PWR_CTL_IDLETSSI B43_PHY_OFDM(0xA6) /* TX Power Control IdleTssi */ | 255 | #define B43_LPPHY_TX_PWR_CTL_IDLETSSI B43_PHY_OFDM(0xA6) /* TX Power Control IdleTssi */ |
252 | #define B43_LPPHY_TX_PWR_CTL_TARGETPWR B43_PHY_OFDM(0xA7) /* TX Power Control TargetPower */ | 256 | #define B43_LPPHY_TX_PWR_CTL_TARGETPWR B43_PHY_OFDM(0xA7) /* TX Power Control TargetPower */ |
@@ -802,7 +806,17 @@ | |||
802 | 806 | ||
803 | 807 | ||
804 | 808 | ||
809 | enum b43_lpphy_txpctl_mode { | ||
810 | B43_LPPHY_TXPCTL_UNKNOWN = 0, | ||
811 | B43_LPPHY_TXPCTL_OFF, /* TX power control is OFF */ | ||
812 | B43_LPPHY_TXPCTL_SW, /* TX power control is set to Software */ | ||
813 | B43_LPPHY_TXPCTL_HW, /* TX power control is set to Hardware */ | ||
814 | }; | ||
815 | |||
805 | struct b43_phy_lp { | 816 | struct b43_phy_lp { |
817 | /* Current TX power control mode. */ | ||
818 | enum b43_lpphy_txpctl_mode txpctl_mode; | ||
819 | |||
806 | /* Transmit isolation medium band */ | 820 | /* Transmit isolation medium band */ |
807 | u8 tx_isolation_med_band; /* FIXME initial value? */ | 821 | u8 tx_isolation_med_band; /* FIXME initial value? */ |
808 | /* Transmit isolation low band */ | 822 | /* Transmit isolation low band */ |
@@ -814,7 +828,7 @@ struct b43_phy_lp { | |||
814 | u8 rx_pwr_offset; /* FIXME initial value? */ | 828 | u8 rx_pwr_offset; /* FIXME initial value? */ |
815 | 829 | ||
816 | /* TSSI transmit count */ | 830 | /* TSSI transmit count */ |
817 | u16 tssi_tx_count; /* FIXME initial value? */ | 831 | u16 tssi_tx_count; |
818 | /* TSSI index */ | 832 | /* TSSI index */ |
819 | u16 tssi_idx; /* FIXME initial value? */ | 833 | u16 tssi_idx; /* FIXME initial value? */ |
820 | /* TSSI npt */ | 834 | /* TSSI npt */ |