Rafał Miłecki | 1d738e6 | 2011-07-07 15:25:27 +0200 | [diff] [blame] | 1 | #ifndef B43_PHY_LCN_H_ |
| 2 | #define B43_PHY_LCN_H_ |
| 3 | |
| 4 | #include "phy_common.h" |
| 5 | |
| 6 | |
Rafał Miłecki | 7ed8852 | 2011-08-14 23:27:30 +0200 | [diff] [blame] | 7 | #define B43_PHY_LCN_AFE_CTL1 B43_PHY_OFDM(0x03B) |
| 8 | #define B43_PHY_LCN_AFE_CTL2 B43_PHY_OFDM(0x03C) |
Rafał Miłecki | ba356b5 | 2011-08-14 23:27:29 +0200 | [diff] [blame] | 9 | #define B43_PHY_LCN_RF_CTL1 B43_PHY_OFDM(0x04C) |
| 10 | #define B43_PHY_LCN_RF_CTL2 B43_PHY_OFDM(0x04D) |
Rafał Miłecki | ba2d00e | 2011-08-15 01:23:09 +0200 | [diff] [blame] | 11 | #define B43_PHY_LCN_TABLE_ADDR B43_PHY_OFDM(0x055) /* Table address */ |
| 12 | #define B43_PHY_LCN_TABLE_DATALO B43_PHY_OFDM(0x056) /* Table data low */ |
| 13 | #define B43_PHY_LCN_TABLE_DATAHI B43_PHY_OFDM(0x057) /* Table data high */ |
Rafał Miłecki | ba356b5 | 2011-08-14 23:27:29 +0200 | [diff] [blame] | 14 | #define B43_PHY_LCN_RF_CTL3 B43_PHY_OFDM(0x0B0) |
| 15 | #define B43_PHY_LCN_RF_CTL4 B43_PHY_OFDM(0x0B1) |
| 16 | #define B43_PHY_LCN_RF_CTL5 B43_PHY_OFDM(0x0B7) |
| 17 | #define B43_PHY_LCN_RF_CTL6 B43_PHY_OFDM(0x0F9) |
| 18 | #define B43_PHY_LCN_RF_CTL7 B43_PHY_OFDM(0x0FA) |
| 19 | |
| 20 | |
Rafał Miłecki | 1d738e6 | 2011-07-07 15:25:27 +0200 | [diff] [blame] | 21 | struct b43_phy_lcn { |
Rafał Miłecki | 1b0a69c | 2011-09-16 12:34:02 +0200 | [diff] [blame] | 22 | bool hw_pwr_ctl; |
| 23 | bool hw_pwr_ctl_capable; |
Rafał Miłecki | 2981808 | 2011-09-16 16:36:32 +0200 | [diff] [blame] | 24 | u8 tx_pwr_curr_idx; |
Rafał Miłecki | 1d738e6 | 2011-07-07 15:25:27 +0200 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | |
| 28 | struct b43_phy_operations; |
| 29 | extern const struct b43_phy_operations b43_phyops_lcn; |
| 30 | |
Rafał Miłecki | f928668 | 2011-08-14 23:27:28 +0200 | [diff] [blame] | 31 | #endif /* B43_PHY_LCN_H_ */ |