|
#define | PLL_2064_NDIV 90 |
|
#define | PLL_2064_LOW_END_VCO 3000 |
|
#define | PLL_2064_LOW_END_KVCO 27 |
|
#define | PLL_2064_HIGH_END_VCO 4200 |
|
#define | PLL_2064_HIGH_END_KVCO 68 |
|
#define | PLL_2064_LOOP_BW_DOUBLER 200 |
|
#define | PLL_2064_D30_DOUBLER 10500 |
|
#define | PLL_2064_LOOP_BW 260 |
|
#define | PLL_2064_D30 8000 |
|
#define | PLL_2064_CAL_REF_TO 8 |
|
#define | PLL_2064_MHZ 1000000 |
|
#define | PLL_2064_OPEN_LOOP_DELAY 5 |
|
#define | TEMPSENSE 1 |
|
#define | VBATSENSE 2 |
|
#define | NOISE_IF_UPD_CHK_INTERVAL 1 |
|
#define | NOISE_IF_UPD_RST_INTERVAL 60 |
|
#define | NOISE_IF_UPD_THRESHOLD_CNT 1 |
|
#define | NOISE_IF_UPD_TRHRESHOLD 50 |
|
#define | NOISE_IF_UPD_TIMEOUT 1000 |
|
#define | NOISE_IF_OFF 0 |
|
#define | NOISE_IF_CHK 1 |
|
#define | NOISE_IF_ON 2 |
|
#define | PAPD_BLANKING_PROFILE 3 |
|
#define | PAPD2LUT 0 |
|
#define | PAPD_CORR_NORM 0 |
|
#define | PAPD_BLANKING_THRESHOLD 0 |
|
#define | PAPD_STOP_AFTER_LAST_UPDATE 0 |
|
#define | LCN_TARGET_PWR 60 |
|
#define | LCN_VBAT_OFFSET_433X 34649679 |
|
#define | LCN_VBAT_SLOPE_433X 8258032 |
|
#define | LCN_VBAT_SCALE_NOM 53 |
|
#define | LCN_VBAT_SCALE_DEN 432 |
|
#define | LCN_TEMPSENSE_OFFSET 80812 |
|
#define | LCN_TEMPSENSE_DEN 2647 |
|
#define | LCN_BW_LMT 200 |
|
#define | LCN_CUR_LMT 1250 |
|
#define | LCN_MULT 1 |
|
#define | LCN_VCO_DIV 30 |
|
#define | LCN_OFFSET 680 |
|
#define | LCN_FACT 490 |
|
#define | LCN_CUR_DIV 2640 |
|
#define | LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT (0 + 8) |
|
#define | LCNPHY_txgainctrlovrval1_pagain_ovr_val1_MASK (0x7f << LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT) |
|
#define | LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT (0 + 8) |
|
#define | LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_MASK (0x7f << LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT) |
|
#define | wlc_lcnphy_enable_tx_gain_override(pi) wlc_lcnphy_set_tx_gain_override(pi, true) |
|
#define | wlc_lcnphy_disable_tx_gain_override(pi) wlc_lcnphy_set_tx_gain_override(pi, false) |
|
#define | wlc_lcnphy_iqcal_active(pi) |
|
#define | txpwrctrl_off(pi) (0x7 != ((read_phy_reg(pi, 0x4a4) & 0xE000) >> 13)) |
|
#define | wlc_lcnphy_tempsense_based_pwr_ctrl_enabled(pi) (pi->temppwrctrl_capable) |
|
#define | wlc_lcnphy_tssi_based_pwr_ctrl_enabled(pi) (pi->hwpwrctrl_capable) |
|
#define | SWCTRL_BT_TX 0x18 |
|
#define | SWCTRL_OVR_DISABLE 0x40 |
|
#define | AFE_CLK_INIT_MODE_TXRX2X 1 |
|
#define | AFE_CLK_INIT_MODE_PAPD 0 |
|
#define | LCNPHY_TBL_ID_IQLOCAL 0x00 |
|
#define | LCNPHY_TBL_ID_RFSEQ 0x08 |
|
#define | LCNPHY_TBL_ID_GAIN_IDX 0x0d |
|
#define | LCNPHY_TBL_ID_SW_CTRL 0x0f |
|
#define | LCNPHY_TBL_ID_GAIN_TBL 0x12 |
|
#define | LCNPHY_TBL_ID_SPUR 0x14 |
|
#define | LCNPHY_TBL_ID_SAMPLEPLAY 0x15 |
|
#define | LCNPHY_TBL_ID_SAMPLEPLAY1 0x16 |
|
#define | LCNPHY_TX_PWR_CTRL_RATE_OFFSET 832 |
|
#define | LCNPHY_TX_PWR_CTRL_MAC_OFFSET 128 |
|
#define | LCNPHY_TX_PWR_CTRL_GAIN_OFFSET 192 |
|
#define | LCNPHY_TX_PWR_CTRL_IQ_OFFSET 320 |
|
#define | LCNPHY_TX_PWR_CTRL_LO_OFFSET 448 |
|
#define | LCNPHY_TX_PWR_CTRL_PWR_OFFSET 576 |
|
#define | LCNPHY_TX_PWR_CTRL_START_INDEX_2G_4313 140 |
|
#define | LCNPHY_TX_PWR_CTRL_START_NPT 1 |
|
#define | LCNPHY_TX_PWR_CTRL_MAX_NPT 7 |
|
#define | LCNPHY_NOISE_SAMPLES_DEFAULT 5000 |
|
#define | LCNPHY_ACI_DETECT_START 1 |
|
#define | LCNPHY_ACI_DETECT_PROGRESS 2 |
|
#define | LCNPHY_ACI_DETECT_STOP 3 |
|
#define | LCNPHY_ACI_CRSHIFRMLO_TRSH 100 |
|
#define | LCNPHY_ACI_GLITCH_TRSH 2000 |
|
#define | LCNPHY_ACI_TMOUT 250 |
|
#define | LCNPHY_ACI_DETECT_TIMEOUT 2 |
|
#define | LCNPHY_ACI_START_DELAY 0 |
|
#define | wlc_lcnphy_tx_gain_override_enabled(pi) (0 != (read_phy_reg((pi), 0x43b) & (0x1 << 6))) |
|
#define | wlc_lcnphy_total_tx_frames(pi) |
|
#define | LCNPHY_NUM_DIG_FILT_COEFFS 16 |
|
#define | LCNPHY_NUM_TX_DIG_FILTERS_CCK 13 |
|
#define | LCNPHY_NUM_TX_DIG_FILTERS_OFDM 3 |
|
#define | wlc_lcnphy_set_start_tx_pwr_idx(pi, idx) |
|
#define | wlc_lcnphy_set_tx_pwr_npt(pi, npt) |
|
#define | wlc_lcnphy_get_tx_pwr_ctrl(pi) |
|
#define | wlc_lcnphy_get_tx_pwr_npt(pi) |
|
#define | wlc_lcnphy_get_current_tx_pwr_idx_if_pwrctrl_on(pi) (read_phy_reg(pi, 0x473) & 0x1ff) |
|
#define | wlc_lcnphy_get_target_tx_pwr(pi) |
|
#define | wlc_lcnphy_set_target_tx_pwr(pi, target) |
|
#define | wlc_radio_2064_rcal_done(pi) (0 != (read_radio_reg(pi, RADIO_2064_REG05C) & 0x20)) |
|
#define | tempsense_done(pi) (0x8000 == (read_phy_reg(pi, 0x476) & 0x8000)) |
|
#define | LCNPHY_IQLOCC_READ(val) ((u8)(-(s8)(((val) & 0xf0) >> 4) + (s8)((val) & 0x0f))) |
|
#define | FIXED_TXPWR 78 |
|
#define | LCNPHY_TEMPSENSE(val) ((s16)((val > 255) ? (val - 512) : val)) |
|
#define | LCNPHY_MIN_RXIQ_PWR 2 |
|
|
void | wlc_lcnphy_write_table (struct brcms_phy *pi, const struct phytbl_info *pti) |
|
void | wlc_lcnphy_read_table (struct brcms_phy *pi, struct phytbl_info *pti) |
|
s8 | wlc_lcnphy_get_current_tx_pwr_idx (struct brcms_phy *pi) |
|
void | wlc_lcnphy_crsuprs (struct brcms_phy *pi, int channel) |
|
void | wlc_phy_chanspec_set_lcnphy (struct brcms_phy *pi, u16 chanspec) |
|
void | wlc_lcnphy_tx_pwr_update_npt (struct brcms_phy *pi) |
|
s32 | wlc_lcnphy_tssi2dbm (s32 tssi, s32 a1, s32 b0, s32 b1) |
|
void | wlc_lcnphy_txpower_recalc_target (struct brcms_phy *pi) |
|
void | wlc_lcnphy_set_tx_pwr_ctrl (struct brcms_phy *pi, u16 mode) |
|
void | wlc_lcnphy_get_radio_loft (struct brcms_phy *pi, u8 *ei0, u8 *eq0, u8 *fi0, u8 *fq0) |
|
void | wlc_lcnphy_set_tx_iqcc (struct brcms_phy *pi, u16 a, u16 b) |
|
void | wlc_lcnphy_set_tx_locc (struct brcms_phy *pi, u16 didq) |
|
void | wlc_lcnphy_set_tx_pwr_by_index (struct brcms_phy *pi, int index) |
|
void | wlc_lcnphy_tx_pu (struct brcms_phy *pi, bool bEnable) |
|
void | wlc_lcnphy_deaf_mode (struct brcms_phy *pi, bool mode) |
|
void | wlc_lcnphy_start_tx_tone (struct brcms_phy *pi, s32 f_kHz, u16 max_val, bool iqcalmode) |
|
void | wlc_lcnphy_stop_tx_tone (struct brcms_phy *pi) |
|
void | wlc_lcnphy_get_tx_iqcc (struct brcms_phy *pi, u16 *a, u16 *b) |
|
u16 | wlc_lcnphy_get_tx_locc (struct brcms_phy *pi) |
|
s16 | wlc_lcnphy_tempsense_new (struct brcms_phy *pi, bool mode) |
|
u16 | wlc_lcnphy_tempsense (struct brcms_phy *pi, bool mode) |
|
s8 | wlc_lcnphy_tempsense_degree (struct brcms_phy *pi, bool mode) |
|
s8 | wlc_lcnphy_vbatsense (struct brcms_phy *pi, bool mode) |
|
void | wlc_lcnphy_calib_modes (struct brcms_phy *pi, uint mode) |
|
void | wlc_lcnphy_get_tssi (struct brcms_phy *pi, s8 *ofdm_pwr, s8 *cck_pwr) |
|
void | wlc_phy_cal_init_lcnphy (struct brcms_phy *pi) |
|
void | wlc_lcnphy_tx_power_adjustment (struct brcms_phy_pub *ppi) |
|
void | wlc_phy_init_lcnphy (struct brcms_phy *pi) |
|
void | wlc_2064_vco_cal (struct brcms_phy *pi) |
|
bool | wlc_phy_tpc_isenabled_lcnphy (struct brcms_phy *pi) |
|
void | wlc_phy_txpower_recalc_target_lcnphy (struct brcms_phy *pi) |
|
void | wlc_phy_detach_lcnphy (struct brcms_phy *pi) |
|
bool | wlc_phy_attach_lcnphy (struct brcms_phy *pi) |
|
s32 | wlc_lcnphy_rx_signal_power (struct brcms_phy *pi, s32 gain_index) |
|