Searched refs:ofdm_power (Results 1 – 2 of 2) sorted by relevance
285 u8 cck_power, ofdm_power; in rtl8225_rf_set_tx_power() local291 ofdm_power = priv->channels[channel - 1].hw_value >> 4; in rtl8225_rf_set_tx_power()294 if (ofdm_power > (u8)15) in rtl8225_rf_set_tx_power()295 ofdm_power = 25; in rtl8225_rf_set_tx_power()297 ofdm_power += 10; in rtl8225_rf_set_tx_power()328 rtl8225_tx_gain_cck_ofdm[ofdm_power / 6] >> 1); in rtl8225_rf_set_tx_power()330 tmp = &rtl8225_tx_power_ofdm[ofdm_power % 6]; in rtl8225_rf_set_tx_power()536 u8 cck_power, ofdm_power; in rtl8225z2_rf_set_tx_power() local542 ofdm_power = priv->channels[channel - 1].hw_value >> 4; in rtl8225z2_rf_set_tx_power()548 if (ofdm_power > (u8)15) in rtl8225z2_rf_set_tx_power()[all …]
262 u8 cck_power, ofdm_power; in rtl8225_rf_set_tx_power() local268 ofdm_power = priv->channels[channel - 1].hw_value >> 8; in rtl8225_rf_set_tx_power()271 ofdm_power = min(ofdm_power, (u8)35); in rtl8225_rf_set_tx_power()295 rtl8225_tx_gain_cck_ofdm[ofdm_power/6] >> 1); in rtl8225_rf_set_tx_power()297 tmp = &rtl8225_tx_power_ofdm[ofdm_power % 6]; in rtl8225_rf_set_tx_power()478 u8 cck_power, ofdm_power; in rtl8225z2_rf_set_tx_power() local483 ofdm_power = priv->channels[channel - 1].hw_value >> 8; in rtl8225z2_rf_set_tx_power()507 ofdm_power = min(ofdm_power, (u8)35); in rtl8225z2_rf_set_tx_power()508 rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, ofdm_power); in rtl8225z2_rf_set_tx_power()