From: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
To: Sujith Manoharan <sujith@msujith.org>
Cc: John Linville <linville@tuxdriver.com>, <linux-wireless@vger.kernel.org>
Subject: Re: [RFC 7/8] ath9k_hw: Calculate the correct training power for PAPRD
Date: Fri, 7 Dec 2012 15:57:14 +0530 [thread overview]
Message-ID: <20121207102712.GA3145@hemis.qca.qualcomm.com> (raw)
In-Reply-To: <1354874521-4138-8-git-send-email-sujith@msujith.org>
On Fri, Dec 07, 2012 at 03:32:00PM +0530, Sujith Manoharan wrote:
> From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
>
> Assign the training power for PAPRD based on the chip.
>
> Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
> ---
> 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
next prev parent reply other threads:[~2012-12-07 10:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 10:01 [RFC 0/8] PAPRD for ath9k Sujith Manoharan
2012-12-07 10:01 ` [RFC 1/8] ath9k_hw: Fix PAPRD registers for AR9485 Sujith Manoharan
2012-12-07 10:01 ` [RFC 2/8] ath9k_hw: Fix PAPRD training Sujith Manoharan
2012-12-07 10:28 ` Rajkumar Manoharan
2012-12-07 15:00 ` Sujith Manoharan
2012-12-07 10:01 ` [RFC 3/8] ath9k: Add a few debug messages for PAPRD Sujith Manoharan
2012-12-07 10:01 ` [RFC 4/8] ath9k: Fix redundant PS wrappers Sujith Manoharan
2012-12-07 10:01 ` [RFC 5/8] ath9k_hw: Various trivial fixes for PAPRD Sujith Manoharan
2012-12-07 10:01 ` [RFC 6/8] ath9k_hw: Fix PAPRD retraining for AR9485 Sujith Manoharan
2012-12-07 10:02 ` [RFC 7/8] ath9k_hw: Calculate the correct training power for PAPRD Sujith Manoharan
2012-12-07 10:27 ` Rajkumar Manoharan [this message]
2012-12-07 14:59 ` Sujith Manoharan
2012-12-07 10:02 ` [RFC 8/8] ath9k_hw: Enable PAPRD for AR9485, AR9462 and AR9565 Sujith Manoharan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121207102712.GA3145@hemis.qca.qualcomm.com \
--to=rmanohar@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=sujith@msujith.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.