Searched refs:cck_power (Results 1 – 3 of 3) sorted by relevance
374 u8 cck_power, ofdm_power; in rtl8225_rf_set_tx_power() local379 cck_power = priv->channels[channel - 1].hw_value & 0xF; in rtl8225_rf_set_tx_power()382 cck_power = min(cck_power, (u8)11); in rtl8225_rf_set_tx_power()389 rtl8225_tx_gain_cck_ofdm[cck_power / 6] >> 1); in rtl8225_rf_set_tx_power()392 tmp = &rtl8225_tx_power_cck_ch14[(cck_power % 6) * 8]; in rtl8225_rf_set_tx_power()394 tmp = &rtl8225_tx_power_cck[(cck_power % 6) * 8]; in rtl8225_rf_set_tx_power()621 u8 cck_power, ofdm_power; in rtl8225z2_rf_set_tx_power() local626 cck_power = priv->channels[channel - 1].hw_value & 0xF; in rtl8225z2_rf_set_tx_power()629 cck_power = min(cck_power, (u8)15); in rtl8225z2_rf_set_tx_power()630 cck_power += priv->txpwr_base & 0xF; in rtl8225z2_rf_set_tx_power()[all …]
258 u8 cck_power, ofdm_power; in rtl8225_rf_set_tx_power() local263 cck_power = priv->channels[channel - 1].hw_value & 0xFF; in rtl8225_rf_set_tx_power()266 cck_power = min(cck_power, (u8)35); in rtl8225_rf_set_tx_power()270 rtl8225_tx_gain_cck_ofdm[cck_power / 6] >> 1); in rtl8225_rf_set_tx_power()273 tmp = &rtl8225_tx_power_cck_ch14[(cck_power % 6) * 8]; in rtl8225_rf_set_tx_power()275 tmp = &rtl8225_tx_power_cck[(cck_power % 6) * 8]; in rtl8225_rf_set_tx_power()475 u8 cck_power, ofdm_power; in rtl8225z2_rf_set_tx_power() local479 cck_power = priv->channels[channel - 1].hw_value & 0xFF; in rtl8225z2_rf_set_tx_power()484 else if (cck_power == 12) in rtl8225z2_rf_set_tx_power()486 else if (cck_power == 13) in rtl8225z2_rf_set_tx_power()[all …]
170 u8 cck_power, ofdm_power; in rtl8225sez2_rf_set_tx_power() local172 cck_power = priv->channels[channel - 1].hw_value & 0xFF; in rtl8225sez2_rf_set_tx_power()173 if (cck_power > 35) in rtl8225sez2_rf_set_tx_power()174 cck_power = 35; in rtl8225sez2_rf_set_tx_power()176 cck_ofdm_gain_settings[cck_power]); in rtl8225sez2_rf_set_tx_power()