Searched refs:ant_pwr_diff (Results 1 – 2 of 2) sorted by relevance
136 s8 ant_pwr_diff = 0; in _rtl92s_set_antennadiff() local140 ant_pwr_diff = p_final_pwridx[1] - p_final_pwridx[0]; in _rtl92s_set_antennadiff()144 if (ant_pwr_diff > 7) in _rtl92s_set_antennadiff()145 ant_pwr_diff = 7; in _rtl92s_set_antennadiff()146 if (ant_pwr_diff < -8) in _rtl92s_set_antennadiff()147 ant_pwr_diff = -8; in _rtl92s_set_antennadiff()151 ant_pwr_diff, ant_pwr_diff & 0xf); in _rtl92s_set_antennadiff()153 ant_pwr_diff &= 0xf; in _rtl92s_set_antennadiff()159 rtlefuse->antenna_txpwdiff[0] = (u8)(ant_pwr_diff); /* RF-B */ in _rtl92s_set_antennadiff()
633 s8 ant_pwr_diff; in rtl92e_set_tx_power() local647 ant_pwr_diff = priv->TxPowerLevelOFDM24G_C[channel-1] in rtl92e_set_tx_power()650 priv->RF_C_TxPwDiff = ant_pwr_diff; in rtl92e_set_tx_power()652 ant_pwr_diff &= 0xf; in rtl92e_set_tx_power()655 priv->AntennaTxPwDiff[1] = (u8)(ant_pwr_diff); in rtl92e_set_tx_power()