Hi Bob, Bob Copeland schrieb: > On Mon, Jul 23, 2012 at 06:01:15PM +0200, Thomas Huehn wrote: >> /* Setup rate power table */ >> - ath5k_setup_rate_powertable(ah, txpower, &rate_info, ee_mode); >> + ath5k_setup_rate_powertable(ah, ah->ah_txpower.txp_user_pwr, &rate_info, ee_mode); > > txpower used to be .5 dB units -- is it still? ah->ah_txpower.txp_user_pwr is now in 1dB units, as it is triggered from mac802.11 >> - ret = ath5k_hw_txpower(ah, channel, ah->ah_txpower.txp_cur_pwr ? >> - ah->ah_txpower.txp_cur_pwr / 2 : AR5K_TUNE_MAX_TXPOWER); >> + ret = ath5k_hw_txpower(ah, channel); >> + > > Did this / 2 move elsewhere or was it wrong before? Is txp_cur_pwr still > used for anything? the "/2" is not needed anymore as I also skipped the "*2" in ath5k_hw_set_txpower_limit .. so I avoid this calculations. Felix is goint to use txp_cur_pwr, so for now it is not used ... maybe he can explain where it will be needed. Greetings Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html