]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1d738e64 RM |
2 | #ifndef B43_PHY_LCN_H_ |
3 | #define B43_PHY_LCN_H_ | |
4 | ||
5 | #include "phy_common.h" | |
6 | ||
7 | ||
7ed88528 RM |
8 | #define B43_PHY_LCN_AFE_CTL1 B43_PHY_OFDM(0x03B) |
9 | #define B43_PHY_LCN_AFE_CTL2 B43_PHY_OFDM(0x03C) | |
ba356b56 RM |
10 | #define B43_PHY_LCN_RF_CTL1 B43_PHY_OFDM(0x04C) |
11 | #define B43_PHY_LCN_RF_CTL2 B43_PHY_OFDM(0x04D) | |
ba2d00e8 RM |
12 | #define B43_PHY_LCN_TABLE_ADDR B43_PHY_OFDM(0x055) /* Table address */ |
13 | #define B43_PHY_LCN_TABLE_DATALO B43_PHY_OFDM(0x056) /* Table data low */ | |
14 | #define B43_PHY_LCN_TABLE_DATAHI B43_PHY_OFDM(0x057) /* Table data high */ | |
ba356b56 RM |
15 | #define B43_PHY_LCN_RF_CTL3 B43_PHY_OFDM(0x0B0) |
16 | #define B43_PHY_LCN_RF_CTL4 B43_PHY_OFDM(0x0B1) | |
17 | #define B43_PHY_LCN_RF_CTL5 B43_PHY_OFDM(0x0B7) | |
18 | #define B43_PHY_LCN_RF_CTL6 B43_PHY_OFDM(0x0F9) | |
19 | #define B43_PHY_LCN_RF_CTL7 B43_PHY_OFDM(0x0FA) | |
20 | ||
21 | ||
1d738e64 | 22 | struct b43_phy_lcn { |
1b0a69c1 RM |
23 | bool hw_pwr_ctl; |
24 | bool hw_pwr_ctl_capable; | |
29818082 | 25 | u8 tx_pwr_curr_idx; |
1d738e64 RM |
26 | }; |
27 | ||
28 | ||
29 | struct b43_phy_operations; | |
30 | extern const struct b43_phy_operations b43_phyops_lcn; | |
31 | ||
f928668f | 32 | #endif /* B43_PHY_LCN_H_ */ |