All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH 01/15] ath9k: fix oops by downgrading assert in rc.c
Date: Fri, 5 Jun 2009 11:29:44 -0700	[thread overview]
Message-ID: <20090605182944.GD30211@tesla> (raw)
In-Reply-To: <20090605075252.GG17632@vasanth-laptop>

On Fri, Jun 05, 2009 at 12:52:52AM -0700, Vasanth Thiagarajan wrote:
> On Fri, Jun 05, 2009 at 01:17:16PM +0530, Luis Rodriguez wrote:
> > On Thu, Jun 4, 2009 at 11:30 PM, Vasanthakumar
> > Thiagarajan<vasanth@atheros.com> wrote:
> > >
> > >> +
> > >> +       /*
> > >> +        * Fine tuning for when no decent rate was found, the
> > >> +        * lowest should *not* be used under normal circumstances.
> > >> +        */
> > >> +       if (rix == ath_rc_priv->valid_rate_index[0]) {
> > >> +               DPRINTF(sc, ATH_DBG_RATE, "lowest rate being used, "
> > >> +                       "disabling MRR\n");
> > >> +               rates[0].idx = rate_lowest_index(sband, sta);
> > >> +               /* Disable MRR when ath_rc_ratefind_ht() found rate 0 */
> > >> +               rates[1].idx = -1;
> > >> +       }
> > >
> > > I think we can still fill other rates (1..3) with the lowest rate
> > > index as we dont differentiate the situation where the lowest rate
> > > is chosen truely by the algorithm from this particular case.
> >
> > I thought about that as well, but does it really make sense for us to
> > use MRR with the same lowest rate? That's why I just used one segment.
> > Thoughts?
> 
> or we can try for max_retry (4) times. In that case the rate indices of
> other rates (just not 1) should be made -1 or this segment should be
> moved just below the rate find.

So the count should have already been set up to 4, and the next segment [1]
is set to -1. Please let me know if there is anything else you see needs
change.

  Luis

WARNING: multiple messages have this Message-ID (diff)
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Vasanth Thiagarajan <Vasanth.Thiagarajan@Atheros.com>
Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>,
	"linville@tuxdriver.com" <linville@tuxdriver.com>,
	"johannes@sipsolutions.net" <johannes@sipsolutions.net>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>
Subject: Re: [PATCH 01/15] ath9k: fix oops by downgrading assert in rc.c
Date: Fri, 5 Jun 2009 11:29:44 -0700	[thread overview]
Message-ID: <20090605182944.GD30211@tesla> (raw)
In-Reply-To: <20090605075252.GG17632@vasanth-laptop>

On Fri, Jun 05, 2009 at 12:52:52AM -0700, Vasanth Thiagarajan wrote:
> On Fri, Jun 05, 2009 at 01:17:16PM +0530, Luis Rodriguez wrote:
> > On Thu, Jun 4, 2009 at 11:30 PM, Vasanthakumar
> > Thiagarajan<vasanth@atheros.com> wrote:
> > >
> > >> +
> > >> +       /*
> > >> +        * Fine tuning for when no decent rate was found, the
> > >> +        * lowest should *not* be used under normal circumstances.
> > >> +        */
> > >> +       if (rix == ath_rc_priv->valid_rate_index[0]) {
> > >> +               DPRINTF(sc, ATH_DBG_RATE, "lowest rate being used, "
> > >> +                       "disabling MRR\n");
> > >> +               rates[0].idx = rate_lowest_index(sband, sta);
> > >> +               /* Disable MRR when ath_rc_ratefind_ht() found rate 0 */
> > >> +               rates[1].idx = -1;
> > >> +       }
> > >
> > > I think we can still fill other rates (1..3) with the lowest rate
> > > index as we dont differentiate the situation where the lowest rate
> > > is chosen truely by the algorithm from this particular case.
> >
> > I thought about that as well, but does it really make sense for us to
> > use MRR with the same lowest rate? That's why I just used one segment.
> > Thoughts?
> 
> or we can try for max_retry (4) times. In that case the rate indices of
> other rates (just not 1) should be made -1 or this segment should be
> moved just below the rate find.

So the count should have already been set up to 4, and the next segment [1]
is set to -1. Please let me know if there is anything else you see needs
change.

  Luis

  reply	other threads:[~2009-06-05 18:29 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-05  5:41 [ath9k-devel] [PATCH 00/15] ath9k/mac80211/iwlwifi: rate control cleanup Luis R. Rodriguez
2009-06-05  5:41 ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 01/15] ath9k: fix oops by downgrading assert in rc.c Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  6:30   ` [ath9k-devel] " Vasanthakumar Thiagarajan
2009-06-05  6:30     ` Vasanthakumar Thiagarajan
2009-06-05  7:47     ` [ath9k-devel] " Luis R. Rodriguez
2009-06-05  7:47       ` Luis R. Rodriguez
2009-06-05  7:52       ` [ath9k-devel] " Vasanthakumar Thiagarajan
2009-06-05  7:52         ` Vasanthakumar Thiagarajan
2009-06-05 18:29         ` Luis R. Rodriguez [this message]
2009-06-05 18:29           ` Luis R. Rodriguez
2009-06-06  6:55           ` [ath9k-devel] " Vasanth Thiagarajan
2009-06-06  6:55             ` Vasanth Thiagarajan
2009-06-09  0:26             ` [ath9k-devel] " Luis R. Rodriguez
2009-06-09  0:26               ` Luis R. Rodriguez
2009-06-09  0:58               ` [ath9k-devel] " Luis R. Rodriguez
2009-06-09  0:58                 ` Luis R. Rodriguez
2009-06-09  5:24                 ` [ath9k-devel] " Vasanthakumar Thiagarajan
2009-06-09  5:24                   ` Vasanthakumar Thiagarajan
2009-06-09  5:27                   ` [ath9k-devel] " Vasanthakumar Thiagarajan
2009-06-09  5:27                     ` Vasanthakumar Thiagarajan
2009-06-09  5:35                   ` [ath9k-devel] " Vasanthakumar Thiagarajan
2009-06-09  5:35                     ` Vasanthakumar Thiagarajan
2009-06-09  5:19               ` [ath9k-devel] " Vasanthakumar Thiagarajan
2009-06-09  5:19                 ` Vasanthakumar Thiagarajan
2009-06-05 22:16   ` [ath9k-devel] " Gábor Stefanik
2009-06-05 22:16     ` Gábor Stefanik
2009-06-05 22:27     ` [ath9k-devel] " Luis R. Rodriguez
2009-06-05 22:27       ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 02/15] ath9k: cleanup try count for MRR in rate control Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 03/15] ath9k: remove unused min rate calculation code Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 04/15] ath9k: remove unused stepdown when looking for the next rate Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 05/15] ath9k: remove pointless wrapper ath_rc_rate_getidx() Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 06/15] ath9k: rename ath_rc_get_nextlowervalid_txrate() Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 07/15] ath9k: remove unused ath_rc_isvalid_txmask() Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 08/15] ath9k: remove ATH9K_MODE_11B Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 09/15] ath9k: remap ATH9K_MODE_* Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 10/15] ath9k: rename ath_rc_ratefind_ht() to ath_rc_get_highest_rix() Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 11/15] ath9k: remove unnecessary IEEE80211_TX_CTL_NO_ACK checks Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 12/15] mac80211: make minstrel/pid RC use ieee80211_is_data(fc) Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  6:24   ` [ath9k-devel] " Johannes Berg
2009-06-05  6:24     ` Johannes Berg
2009-06-05  6:34     ` [ath9k-devel] " Luis R. Rodriguez
2009-06-05  6:34       ` Luis R. Rodriguez
2009-06-05  6:52       ` [ath9k-devel] " Johannes Berg
2009-06-05  6:52         ` Johannes Berg
2009-06-05  5:41 ` [ath9k-devel] [PATCH 13/15] iwlwifi: " Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05 14:56   ` [ath9k-devel] Help ath5k José Luis Vargas Araoz
2009-06-05 14:56     ` José Luis Vargas Araoz
2009-06-05  5:41 ` [ath9k-devel] [PATCH 14/15] mac80211: move management / no-ack frame rate decision to mac80211 Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  6:28   ` [ath9k-devel] " Johannes Berg
2009-06-05  6:28     ` Johannes Berg
2009-06-05  7:42     ` [ath9k-devel] " Jouni Malinen
2009-06-05  7:42       ` Jouni Malinen
2009-06-05  7:45       ` Luis R. Rodriguez
2009-06-05  7:45         ` Luis R. Rodriguez
2009-06-05  5:41 ` [ath9k-devel] [PATCH 15/15] ath9k: remove rate control wraper Luis R. Rodriguez
2009-06-05  5:41   ` Luis R. Rodriguez
2009-06-05  5:52 ` [ath9k-devel] [PATCH 00/15] ath9k/mac80211/iwlwifi: rate control cleanup Luis R. Rodriguez
2009-06-05  5:52   ` Luis R. Rodriguez

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=20090605182944.GD30211@tesla \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.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.