phy_lcn.h 953 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef B43_PHY_LCN_H_
  2. #define B43_PHY_LCN_H_
  3. #include "phy_common.h"
  4. #define B43_PHY_LCN_AFE_CTL1 B43_PHY_OFDM(0x03B)
  5. #define B43_PHY_LCN_AFE_CTL2 B43_PHY_OFDM(0x03C)
  6. #define B43_PHY_LCN_RF_CTL1 B43_PHY_OFDM(0x04C)
  7. #define B43_PHY_LCN_RF_CTL2 B43_PHY_OFDM(0x04D)
  8. #define B43_PHY_LCN_TABLE_ADDR B43_PHY_OFDM(0x055) /* Table address */
  9. #define B43_PHY_LCN_TABLE_DATALO B43_PHY_OFDM(0x056) /* Table data low */
  10. #define B43_PHY_LCN_TABLE_DATAHI B43_PHY_OFDM(0x057) /* Table data high */
  11. #define B43_PHY_LCN_RF_CTL3 B43_PHY_OFDM(0x0B0)
  12. #define B43_PHY_LCN_RF_CTL4 B43_PHY_OFDM(0x0B1)
  13. #define B43_PHY_LCN_RF_CTL5 B43_PHY_OFDM(0x0B7)
  14. #define B43_PHY_LCN_RF_CTL6 B43_PHY_OFDM(0x0F9)
  15. #define B43_PHY_LCN_RF_CTL7 B43_PHY_OFDM(0x0FA)
  16. struct b43_phy_lcn {
  17. bool hw_pwr_ctl;
  18. bool hw_pwr_ctl_capable;
  19. u8 tx_pwr_curr_idx;
  20. };
  21. struct b43_phy_operations;
  22. extern const struct b43_phy_operations b43_phyops_lcn;
  23. #endif /* B43_PHY_LCN_H_ */