Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/wireless/rtl818x/rtl8187/
Drtl8225.c285 u8 cck_power, ofdm_power; in rtl8225_rf_set_tx_power() local
291 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() local
542 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 …]
/linux-3.4.99/drivers/net/wireless/rtl818x/rtl8180/
Drtl8225.c262 u8 cck_power, ofdm_power; in rtl8225_rf_set_tx_power() local
268 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() local
483 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()