Searched refs:ant_pwr_diff (Results 1 – 2 of 2) sorted by relevance
114 s8 ant_pwr_diff = 0; in _rtl92s_set_antennadiff() local118 ant_pwr_diff = p_final_pwridx[1] - p_final_pwridx[0]; in _rtl92s_set_antennadiff()122 if (ant_pwr_diff > 7) in _rtl92s_set_antennadiff()123 ant_pwr_diff = 7; in _rtl92s_set_antennadiff()124 if (ant_pwr_diff < -8) in _rtl92s_set_antennadiff()125 ant_pwr_diff = -8; in _rtl92s_set_antennadiff()129 ant_pwr_diff, ant_pwr_diff & 0xf); in _rtl92s_set_antennadiff()131 ant_pwr_diff &= 0xf; in _rtl92s_set_antennadiff()137 rtlefuse->antenna_txpwdiff[0] = (u8)(ant_pwr_diff); /* RF-B */ in _rtl92s_set_antennadiff()
621 s8 ant_pwr_diff; in rtl92e_set_tx_power() local635 ant_pwr_diff = priv->TxPowerLevelOFDM24G_C[channel-1] in rtl92e_set_tx_power()638 priv->RF_C_TxPwDiff = ant_pwr_diff; in rtl92e_set_tx_power()640 ant_pwr_diff &= 0xf; in rtl92e_set_tx_power()643 priv->AntennaTxPwDiff[1] = (u8)(ant_pwr_diff); in rtl92e_set_tx_power()