Home
last modified time | relevance | path

Searched refs:phs_tx (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dar9003_calib.c565 s32 mag_tx, phs_tx, mag_rx, phs_rx; in ar9003_hw_solve_iq_cal() local
579 phs_tx = f3 * (-mag_a0_d0 + mag_a1_d0) + f1 * (phs_a0_d0 - phs_a1_d0); in ar9003_hw_solve_iq_cal()
582 phs_tx = (phs_tx / f2); in ar9003_hw_solve_iq_cal()
585 mag_rx = mag_a0_d0 - (cos_2phi_1 * mag_tx + sin_2phi_1 * phs_tx) / in ar9003_hw_solve_iq_cal()
588 phs_rx = phs_a0_d0 + (sin_2phi_1 * mag_tx - cos_2phi_1 * phs_tx) / in ar9003_hw_solve_iq_cal()
592 solved_eq[1] = phs_tx; in ar9003_hw_solve_iq_cal()
631 s32 mag_tx, phs_tx, mag_rx, phs_rx; in ar9003_hw_calc_iq_corr() local
767 phs_tx = solved_eq[1]; in ar9003_hw_calc_iq_corr()
773 chain_idx, mag_tx/res_scale, phs_tx/res_scale); in ar9003_hw_calc_iq_corr()
784 phs_corr_tx = -phs_tx; in ar9003_hw_calc_iq_corr()