linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@openwrt.org>
To: Georgiewskiy Yuriy <bottleman@icf.org.ru>
Cc: linux-wireless@vger.kernel.org, johannes@sipsolutions.net
Subject: Re: [PATCH 1/2] mac80211/minstrel_ht: increase sampling frequency of some slower rates
Date: Tue, 05 Mar 2013 14:05:55 +0100	[thread overview]
Message-ID: <5135EDB3.7060300@openwrt.org> (raw)
In-Reply-To: <alpine.DEB.2.02.1303051651030.16654@icf.org.ru>

On 2013-03-05 1:55 PM, Georgiewskiy Yuriy wrote:
> On 2013-03-05 13:26 +0100, Felix Fietkau wrote Georgiewskiy Yuriy:
> 
> 
> FF>Please test if this patch helps:
> FF>---
> FF>--- a/net/mac80211/rc80211_minstrel_ht.c
> FF>+++ b/net/mac80211/rc80211_minstrel_ht.c
> FF>@@ -480,7 +480,7 @@ minstrel_ht_tx_status(void *priv, struct
> FF> 
> FF> 	if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) {
> FF> 		mi->sample_wait = 16 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len);
> FF>-		mi->sample_tries = 2;
> FF>+		mi->sample_tries = 1;
> FF> 		mi->sample_count--;
> FF> 	}
> 
> Seems this helps, with this patch throughput is near as without this two patches applied.
OK, thanks for testing. I will submit it now.

- Felix


      reply	other threads:[~2013-03-05 13:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03 11:49 [PATCH 1/2] mac80211/minstrel_ht: increase sampling frequency of some slower rates Felix Fietkau
2013-03-03 11:49 ` [PATCH 2/2] mac80211/minstrel_ht: fix spacing between sample attempts Felix Fietkau
2013-03-04 15:07 ` [PATCH 1/2] mac80211/minstrel_ht: increase sampling frequency of some slower rates Johannes Berg
2013-03-05 10:35 ` Georgiewskiy Yuriy
2013-03-05 11:49   ` Felix Fietkau
2013-03-05 12:08     ` Georgiewskiy Yuriy
2013-03-05 12:26       ` Felix Fietkau
2013-03-05 12:55         ` Georgiewskiy Yuriy
2013-03-05 13:05           ` Felix Fietkau [this message]

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=5135EDB3.7060300@openwrt.org \
    --to=nbd@openwrt.org \
    --cc=bottleman@icf.org.ru \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.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 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).