On Wed, Dec 15, 2010 at 7:30 AM, Vasanthakumar Thiagarajan <vasanth@xxxxxxxxxxx> wrote: > Target Tx power available in eeprom is for PAPRD. If PAPRD > fails, paprd scale factor needs to be detected from this > target tx power. > > Signed-off-by: Vasanthakumar Thiagarajan <vasanth@xxxxxxxxxxx> > --- > Âdrivers/net/wireless/ath/ath9k/ar9003_eeprom.c |  34 ++++++++++++++++++++--- > Âdrivers/net/wireless/ath/ath9k/ar9003_paprd.c Â|  14 ++++++++++ > Âdrivers/net/wireless/ath/ath9k/hw.c      Â|  Â2 + > Âdrivers/net/wireless/ath/ath9k/hw.h      Â|  Â1 + > Âdrivers/net/wireless/ath/ath9k/main.c     Â|  Â2 +- > Â5 files changed, 47 insertions(+), 6 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c > index 0e9ea35..f80ec74 100644 > --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c > +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c > @@ -4743,6 +4743,16 @@ static void ar9003_hw_set_power_per_rate_table(struct ath_hw *ah, >    Â} /* end ctl mode checking */ > Â} > > +static inline u8 mcsidx_to_tgtpwridx(unsigned int mcs_idx, u8 base_pwridx) > +{ No need to inline as its used only once so gcc will do that for you anyway. Luis -- 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