* [PATCH v2] ath9k_hw: Fix rx latency of 11a mode
@ 2011-08-31 5:17 Rajkumar Manoharan
2011-08-31 17:45 ` John W. Linville
0 siblings, 1 reply; 3+ messages in thread
From: Rajkumar Manoharan @ 2011-08-31 5:17 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, Rajkumar Manoharan
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 3a16ba2..308847d 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -975,7 +975,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)) {
@@ -989,7 +992,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 = (rx_lat * 4) - 1;
tx_lat *= 4;
if (IS_CHAN_A_FAST_CLOCK(ah, chan))
tx_lat += 22;
--
1.7.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] ath9k_hw: Fix rx latency of 11a mode
2011-08-31 5:17 [PATCH v2] ath9k_hw: Fix rx latency of 11a mode Rajkumar Manoharan
@ 2011-08-31 17:45 ` John W. Linville
2011-09-02 9:10 ` Rajkumar Manoharan
0 siblings, 1 reply; 3+ messages in thread
From: John W. Linville @ 2011-08-31 17:45 UTC (permalink / raw)
To: Rajkumar Manoharan; +Cc: linux-wireless
On Wed, Aug 31, 2011 at 10:47:30AM +0530, 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>
Do you still want 'ath9k_hw: Fix slottime with coverage class" merged
as well?
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] ath9k_hw: Fix rx latency of 11a mode
2011-08-31 17:45 ` John W. Linville
@ 2011-09-02 9:10 ` Rajkumar Manoharan
0 siblings, 0 replies; 3+ messages in thread
From: Rajkumar Manoharan @ 2011-09-02 9:10 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-wireless
On Wed, Aug 31, 2011 at 01:45:12PM -0400, John W. Linville wrote:
> On Wed, Aug 31, 2011 at 10:47:30AM +0530, 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>
>
> Do you still want 'ath9k_hw: Fix slottime with coverage class" merged
> as well?
>
As per the comments from the Felix, it was left intentionally to improve
the throughtput. So please drop that patch.
--
Rajkumar
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-02 9:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 5:17 [PATCH v2] ath9k_hw: Fix rx latency of 11a mode Rajkumar Manoharan
2011-08-31 17:45 ` John W. Linville
2011-09-02 9:10 ` Rajkumar Manoharan
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).