18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef B43_PHY_LCN_H_ 38c2ecf20Sopenharmony_ci#define B43_PHY_LCN_H_ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include "phy_common.h" 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#define B43_PHY_LCN_AFE_CTL1 B43_PHY_OFDM(0x03B) 98c2ecf20Sopenharmony_ci#define B43_PHY_LCN_AFE_CTL2 B43_PHY_OFDM(0x03C) 108c2ecf20Sopenharmony_ci#define B43_PHY_LCN_RF_CTL1 B43_PHY_OFDM(0x04C) 118c2ecf20Sopenharmony_ci#define B43_PHY_LCN_RF_CTL2 B43_PHY_OFDM(0x04D) 128c2ecf20Sopenharmony_ci#define B43_PHY_LCN_TABLE_ADDR B43_PHY_OFDM(0x055) /* Table address */ 138c2ecf20Sopenharmony_ci#define B43_PHY_LCN_TABLE_DATALO B43_PHY_OFDM(0x056) /* Table data low */ 148c2ecf20Sopenharmony_ci#define B43_PHY_LCN_TABLE_DATAHI B43_PHY_OFDM(0x057) /* Table data high */ 158c2ecf20Sopenharmony_ci#define B43_PHY_LCN_RF_CTL3 B43_PHY_OFDM(0x0B0) 168c2ecf20Sopenharmony_ci#define B43_PHY_LCN_RF_CTL4 B43_PHY_OFDM(0x0B1) 178c2ecf20Sopenharmony_ci#define B43_PHY_LCN_RF_CTL5 B43_PHY_OFDM(0x0B7) 188c2ecf20Sopenharmony_ci#define B43_PHY_LCN_RF_CTL6 B43_PHY_OFDM(0x0F9) 198c2ecf20Sopenharmony_ci#define B43_PHY_LCN_RF_CTL7 B43_PHY_OFDM(0x0FA) 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_cistruct b43_phy_lcn { 238c2ecf20Sopenharmony_ci bool hw_pwr_ctl; 248c2ecf20Sopenharmony_ci bool hw_pwr_ctl_capable; 258c2ecf20Sopenharmony_ci u8 tx_pwr_curr_idx; 268c2ecf20Sopenharmony_ci}; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_cistruct b43_phy_operations; 308c2ecf20Sopenharmony_ciextern const struct b43_phy_operations b43_phyops_lcn; 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci#endif /* B43_PHY_LCN_H_ */ 33