From: Felix Fietkau <nbd@openwrt.org>
To: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/2] ath9k_hw: Fix rx latency of 11a mode
Date: Thu, 25 Aug 2011 17:32:10 +0200 [thread overview]
Message-ID: <4E566AFA.8050203@openwrt.org> (raw)
In-Reply-To: <1314283522-6143-1-git-send-email-rmanohar@qca.qualcomm.com>
On 2011-08-25 4:45 PM, Rajkumar Manoharan wrote:
> Rx latecy to start signal(usec) of 11a is 41 not 37 and
> also corrected the rx delay in quarter rate.
>
> Signed-off-by: Rajkumar Manoharan<rmanohar@qca.qualcomm.com>
> ---
> drivers/net/wireless/ath/ath9k/hw.c | 7 +++++--
> 1 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
> index 88100cc..d4dce6b 100644
> --- a/drivers/net/wireless/ath/ath9k/hw.c
> +++ b/drivers/net/wireless/ath/ath9k/hw.c
> @@ -974,7 +974,10 @@ void ath9k_hw_init_global_settings(struct ath_hw *ah)
> if (ah->misc_mode != 0)
> REG_SET_BIT(ah, AR_PCU_MISC, ah->misc_mode);
>
> - rx_lat = 37;
> + if (IS_CHAN_A_FAST_CLOCK(ah, chan))
> + rx_lat = 41;
> + else
> + rx_lat = 37;
> tx_lat = 54;
>
> if (IS_CHAN_HALF_RATE(chan)) {
> @@ -988,7 +991,7 @@ void ath9k_hw_init_global_settings(struct ath_hw *ah)
> sifstime = 32;
> } else if (IS_CHAN_QUARTER_RATE(chan)) {
> eifs = 340;
> - rx_lat *= 4;
> + rx_lat *= 4 - 1;
That looks a bit weird. Did you mean to change it to *= 3 or was this
just mistyped because you wanted to subtract one after the multiplication?
- Felix
next prev parent reply other threads:[~2011-08-25 15:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-25 14:45 [PATCH 1/2] ath9k_hw: Fix rx latency of 11a mode Rajkumar Manoharan
2011-08-25 14:45 ` [PATCH 2/2] ath9k_hw: Fix slottime with coverage class Rajkumar Manoharan
2011-08-25 15:36 ` Felix Fietkau
2011-08-26 13:32 ` Rajkumar Manoharan
2011-08-26 15:00 ` Felix Fietkau
2011-08-26 15:20 ` Rajkumar Manoharan
2011-08-26 15:26 ` Felix Fietkau
2011-08-25 15:32 ` Felix Fietkau [this message]
2011-08-26 5:04 ` [PATCH 1/2] ath9k_hw: Fix rx latency of 11a mode Rajkumar 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=4E566AFA.8050203@openwrt.org \
--to=nbd@openwrt.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=rmanohar@qca.qualcomm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).