Searched refs:ofdm_power (Results 1 – 3 of 3) sorted by relevance
374 u8 cck_power, ofdm_power; in rtl8225_rf_set_tx_power() local380 ofdm_power = priv->channels[channel - 1].hw_value >> 4; in rtl8225_rf_set_tx_power()383 if (ofdm_power > (u8)15) in rtl8225_rf_set_tx_power()384 ofdm_power = 25; in rtl8225_rf_set_tx_power()386 ofdm_power += 10; in rtl8225_rf_set_tx_power()417 rtl8225_tx_gain_cck_ofdm[ofdm_power / 6] >> 1); in rtl8225_rf_set_tx_power()419 tmp = &rtl8225_tx_power_ofdm[ofdm_power % 6]; in rtl8225_rf_set_tx_power()621 u8 cck_power, ofdm_power; in rtl8225z2_rf_set_tx_power() local627 ofdm_power = priv->channels[channel - 1].hw_value >> 4; in rtl8225z2_rf_set_tx_power()633 if (ofdm_power > (u8)15) in rtl8225z2_rf_set_tx_power()[all …]
170 u8 cck_power, ofdm_power; in rtl8225sez2_rf_set_tx_power() local179 ofdm_power = priv->channels[channel - 1].hw_value >> 8; in rtl8225sez2_rf_set_tx_power()180 if (ofdm_power > 35) in rtl8225sez2_rf_set_tx_power()181 ofdm_power = 35; in rtl8225sez2_rf_set_tx_power()184 cck_ofdm_gain_settings[ofdm_power]); in rtl8225sez2_rf_set_tx_power()185 if (ofdm_power < 12) { in rtl8225sez2_rf_set_tx_power()189 if (ofdm_power < 18) { in rtl8225sez2_rf_set_tx_power()
258 u8 cck_power, ofdm_power; in rtl8225_rf_set_tx_power() local264 ofdm_power = priv->channels[channel - 1].hw_value >> 8; in rtl8225_rf_set_tx_power()267 ofdm_power = min(ofdm_power, (u8)35); in rtl8225_rf_set_tx_power()292 rtl8225_tx_gain_cck_ofdm[ofdm_power/6] >> 1); in rtl8225_rf_set_tx_power()294 tmp = &rtl8225_tx_power_ofdm[ofdm_power % 6]; in rtl8225_rf_set_tx_power()475 u8 cck_power, ofdm_power; in rtl8225z2_rf_set_tx_power() local480 ofdm_power = priv->channels[channel - 1].hw_value >> 8; in rtl8225z2_rf_set_tx_power()504 ofdm_power = min(ofdm_power, (u8)35); in rtl8225z2_rf_set_tx_power()505 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, ofdm_power); in rtl8225z2_rf_set_tx_power()