Search Linux Wireless

Re: [RFC 7/8] ath9k_hw: Calculate the correct training power for PAPRD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 07, 2012 at 03:32:00PM +0530, Sujith Manoharan wrote:
> From: Sujith Manoharan <c_manoha@xxxxxxxxxxxxxxxx>
> 
> Assign the training power for PAPRD based on the chip.
> 
> Signed-off-by: Sujith Manoharan <c_manoha@xxxxxxxxxxxxxxxx>
> ---
>  drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 41 ++++++++++++++++++--------
>  drivers/net/wireless/ath/ath9k/ar9003_paprd.c  | 22 +++++++++-----
>  2 files changed, 43 insertions(+), 20 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
> index c86cb640..0f38895 100644
> --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
> +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
> @@ -5076,6 +5076,33 @@ static inline u8 mcsidx_to_tgtpwridx(unsigned int mcs_idx, u8 base_pwridx)
>  		return base_pwridx + 4 * (mcs_idx / 8) + mod_idx - 2;
>  }
>  
> +static void ar9003_paprd_set_txpower(struct ath_hw *ah,
> +				     struct ath9k_channel *chan,
> +				     u8 *targetPowerValT2)
> +{
> +	int i;
> +
> +	if (!ar9003_is_paprd_enabled(ah))
> +		return;
> +
Can you reorder the patch series as ar9003_is_paprd_enabled is not defined in
previous patches?

-Rajkumar
--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux